On 8/14/06, Chris Dagnon <chris.dagnon@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx