You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lars Nielsen Lind <mo...@tiscali.dk> on 2003/04/19 11:46:36 UTC
Config problem: Apache-Tomcat-mod_webapp
Hi.
I have changed to Apache 2.0.45, Jakarta-Tomcat-4.1.24 and mod_webapp (4.1.24 connector).
When I try to launch JSP pages I can see the source code - what am I doing wrong?
---------------
httpd.conf
---------------
...
LoadModule webapp_module lib/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
<VirtualHost 192.168.1.201:80>
ServerName 192.168.1.201:80
WebAppDeploy testapplication warpConnection /testapplication
...
</VirtualHost>
...
---------------
server.xml
---------------
<server ...>
<service name="Tomcat-Apache">
<Connector ../>
<Engine ...>
<host name="192.168.1.201" appBase="testapplication">
</host>
...
</Engine>
</service>
</server>
Best regards,
Lars Nielsen Lind
Re: Config problem: Apache-Tomcat-mod_webapp
Posted by Tim Funk <fu...@joedog.org>.
mod_webapp is deprecated and unsupported due to lack of developer interest.
Please use mod_jk, or jk2.
-Tim
Lars Nielsen Lind wrote:
> Hi.
>
> I have changed to Apache 2.0.45, Jakarta-Tomcat-4.1.24 and mod_webapp (4.1.24 connector).
>
> When I try to launch JSP pages I can see the source code - what am I doing wrong?
>
> ---------------
> httpd.conf
> ---------------
>
> ...
>
> LoadModule webapp_module lib/mod_webapp.so
> WebAppConnection warpConnection warp localhost:8008
>
> <VirtualHost 192.168.1.201:80>
> ServerName 192.168.1.201:80
>
> WebAppDeploy testapplication warpConnection /testapplication
>
> ...
>
> </VirtualHost>
>
> ...
>
> ---------------
> server.xml
> ---------------
>
> <server ...>
> <service name="Tomcat-Apache">
> <Connector ../>
>
> <Engine ...>
> <host name="192.168.1.201" appBase="testapplication">
> </host>
>
> ...
>
> </Engine>
> </service>
> </server>
>
>
>
> Best regards,
>
> Lars Nielsen Lind
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org