httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omkar Joshi" <omj...@hotmail.com>
Subject [users@httpd] Apache VirtualHost
Date Thu, 13 Nov 2003 16:27:42 GMT
Hi,

How do I map a given URL to an Apache VirtualHost so that my JkMount 
directive sends the request to Tomcat via mod_jk?



I added

<VirtualHost *>
ServerName myhost
ServerAlias 172.16.16.19

Alias /example "usr/local/tomcat...."

JkMount /examples/*.jsp ajp13

</VirtualHost>

also I added <Alias>172.16.16.19</Alias> tag in my HOST entry in tomcat - 
server.xml.


http://172.16.16.19:8080/examples runs perfect.

Now when I run http://172.16.16.19/examples

I can Browse through the directory, it runs the main example page. but

http://172.16.16.19/examples/jsp/dates/date.jsp gives error

"Internal Server Error"
The server encountered an internal error or misconfiguration and was
unable to
complete your request.

_________________________________________________________________
Find your first love. Rekindle past joys! http://www.batchmates.com/msn.asp 
Get in touch with batchmates.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message