logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Apache Virtual Host not working properly

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
bakenoor



Joined: 30 Dec 2017
Posts: 1
Location: France

PostPosted: Sat 30 Dec '17 22:54    Post subject: Apache Virtual Host not working properly Reply with quote

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,
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1