Apache Virtual Host not working properly

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

 



I have an application running at http://localhost:6512 and a virtual host definition as follows:

<VirtualHost *:80>
        ServerName ldpmarmotta.example.com
        ProxyPassMatch ^/(.*)$ http://localhost:6512/marmotta/$1
</VirtualHost>
I am getting two problems with the above definition:
1. All traffic to this server including http://example.com is being directed to http://localhost:6512
2. A request to http://ldpmarmotta.example.com is being directed to http://localhost:6512. I was not expecting the URL to change but the response to return on http://ldpmarmotta.example.com,






[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