My apache is 1.3.12, tomcat is 4.0.3 and OS is Solaris 8.

I added following lines in my httpd.conf and certain necessary changes in
server.xml.

LoadModule webapp_module      /usr/apache/libexec/mod_webapp.so
AddModule mod_webapp.c

<VirtualHost 192.168.1.120>
    ServerName niuniu
    DocumentRoot /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/
    WebAppConnection warConnection warp localhost:8008
    WebAppDeploy examples warConnection /examples
</VirtualHost>

I then started httpd and tomcat. So far so good and I can visit
http://192.168.1.120/ROOT/ which is the same as http://localhost:8080.

However, I can not visit http://192.168.1.120 any more. I got 403 forbidden
message: You don't have permission to access / on this server.

Inaddition, two more things I want to ask:

1) I downloaded mod_webapp.so binary. When I start httpd, I got following
warning:

[Thu Apr 18 14:10:16 2002] [warn] Loaded DSO
/usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module
might crash under EAPI! (please recompile it with -DEAPI)

So, where can I find the source code for webapp module? Is there anything I
need to pay special attention when I recompile this?

2) Though I can not visit http://192.168.1.120, I can still visit
http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html.
The browser simple print the jsp source code into the screen.

Can someone please explain it to me? Many thanks.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to