httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] How to get Alias and ProxyPass working in vhost file with Location and Directory?
Date Mon, 14 Aug 2006 17:08:29 GMT
On 8/14/06, Chris Dagnon <chris.dagnon@isthmusgroup.com> wrote:

> I've got a vhost file setup to ProxyPass off to Rails on port 3000, but
> now we're told we have to server images and CSSs from a shared directory
> elsewhere.  The thought is to have a /www/static/images/ where all images
> live and are served from.  This is what my working vhost file looks like:

To rephrase, you have a global ProxyPass for a site and you want to
exclude certain directories.  Start by reading:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
Then, BEFORE the existing ProxyPass directive, put
ProxyPass /images !
Alias /images /www/static/images

Joshua.

---------------------------------------------------------------------
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