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] ProxyPass issues
Date Thu, 24 Aug 2006 23:04:37 GMT
On 8/24/06, kent stand <standk@gmail.com> wrote:
> Hello,
>
> I am setting up a VirtualHost which passes most of its traffic to another
> server instance via ProxyPass, but reserves some requests for that
> VirtualHost. The issue is that all of the traffic is being proxied, despite
> the directives I set:
>
> <VirtualHost *:80>
>   ServerName www.example.tld
>   DocumentRoot /home/user/public_directory/
>   ProxyPass /directory/ !
>   ProxyPass /file !
>   Alias /directory/ /home/user/directory/
>   ProxyPreserveHost     On
>   ProxyPass / http://localhost:5959/
>   ProxyPassReverse / http://localhost:5959/
> </VirtualHost>
>
> I am using Apache/2.0.55. Unfortunately, no matter how I order or word (with
> or without backslashes) the ProxyPass directives, the requests are never
> handled by Apache2. Am I perhaps overlooking some fundamental aspect of
> ProxyPass?

It should be
ProxyPass /directory !
Aliase /directory /home/user/directory
without the trailing slashes.

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