On 29.09.2009 09:53, Angelo Chen wrote:
> 
> Hi,
> 
> I use the mod_proxy to allow a tomcat's app running behind Apache server,
> now I'd like to let Apache server handle some static contents:
> 
> www.example.com/information
> 
> the content of information is not part of tomcat app, but a directory in the
> file system, what I'm doing now is a symbolic link is created to the
> webapps, is there a way just let Apache server handle it? Thanks
> 
> 
> ProxyPass /  http://localhost:8080/
> ProxyPassReverse / http://localhost:8080/
> ProxyPreserveHost on

ProxyPass /information !

(see e.g. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass)

And then use "Alias" or "DocumentRoot" to setup the mapping between
/information and some local directory and use "Directory" to setup the
right access control etc.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to