You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Omkar Joshi <om...@hotmail.com> on 2003/11/13 17:27:42 UTC
[users@httpd] Apache VirtualHost
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