Re: [users@httpd] ProxyPass issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/24/06, kent stand <standk@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux