You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sathish Vadhiyar <vs...@serc.iisc.ernet.in> on 2008/09/04 11:16:47 UTC
virtual host and cgi-bin
Hi,
I have set up a virtual host named app in my server.xml as:
<Host name="app.com" appBase="webapps/app">
<Context path="" docBase="."/>
</Host>
The default page is opening correctly. There is a link in this page that
points to a jsp file (register.jsp) that is located in
webapps/app/WEB-INF/cgi
However, this link is not working correctly.
Please help in making this work.
- Sathish
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: virtual host and cgi-bin
Posted by Sathish Vadhiyar <vs...@serc.iisc.ernet.in>.
It worked!
Much simpler than all the solutions I have tried so far.
Thanks a lot for helping me solve this.
- Sathish
> Sathish Vadhiyar wrote:
>> Hi,
>>
>> I have set up a virtual host named app in my server.xml as:
>>
>> <Host name="app.com" appBase="webapps/app">
>> <Context path="" docBase="."/>
>> </Host>
>
> appBase must not equal docBase.
>
> Rename webapps/app to webapps-app/ROOT and use the following
> <Host name="app.com" appBase="webapps-app">
> </Host>
>
> See http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html for
> more info
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: virtual host and cgi-bin
Posted by Mark Thomas <ma...@apache.org>.
Sathish Vadhiyar wrote:
> Hi,
>
> I have set up a virtual host named app in my server.xml as:
>
> <Host name="app.com" appBase="webapps/app">
> <Context path="" docBase="."/>
> </Host>
appBase must not equal docBase.
Rename webapps/app to webapps-app/ROOT and use the following
<Host name="app.com" appBase="webapps-app">
</Host>
See http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html for
more info
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org