httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] alias in httpd.conf
Date Thu, 10 Jun 2004 11:18:10 GMT
I would like to specify a specific alias directive in my httpd.conf. I want it to redirect
my static content to the static directory of my web server, while the dynamic content is sent
to a JBOSS (Tomcat) server via mod_jk2. Below is an extract of httpd.conf :
Alias /myappli/static/ "/var/www/html/static/"
<Location "/myappli/">
  JkUriSet worker lb:myappli-1
The problem here is that the "/myappli/static/" is a sub-URL of "/myappli/", so the Alias
directive is not treated...
Can anybody help me with that issu ?
- Is thet any way to do that with LocationMatch and a regex ?
- Is there a way to set priorities ?
- Anything else ?

This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message