ProxyPass and ProxyPassReverse not working for URLs other than /

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

 



Hi All.


When I have the following configuration :

#########################################################
<VirtualHost *:80>
        ProxyPass / http://127.0.0.1:9000/
        ProxyPassReverse / http://127.0.0.1:9000/
</VirtualHost>
#########################################################

and I type http://1.2.3.4 in the browser, the page is successfully proxied to the forwarded port 9000, and the to-and-fro interaction is perfect.



However, if I use,

#########################################################
<VirtualHost *:80>
        ProxyPass /9000/ http://127.0.0.1:9000/
        ProxyPassReverse /9000/ http://127.0.0.1:9000/
</VirtualHost>
#########################################################

and I type http://1.2.3.4/9000/ in the browser, it says the resource cannot be found.


How can this be corrected? I am sure I am doing something wrong while specifying the ProxyPass and ProxyPassReverse directives.


Thanks and Regards,
Ajay

[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