Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with ProxyPass

Status
Not open for further replies.

harro1968

Technical User
Sep 27, 2018
1
AU
Hi all,

Having some difficulties getting the syntax correct with a proxy situation. I have connectivity into my home to a Apache webserver that has the appropriate proxy modules loaded but I can't seem to get it to do what I want it to do.

Host "mail.mwaa.com.au" is forwarded to my home router, and port 80 is routed to 192.168.239.241. This server is running Apache 2.5, and in the httpd.conf file I have an entry like below;

<VirtualHost 192.168.239.241:80>
ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPreserveHost On
ProxyPass / ProxyPassReverse / ServerName mail.mwaa.com.au
</VirtualHost>

My internal host, mail.mwaa.com.au is an Apache server on 192.168.239.240, and as you can see I'm trying to get to 192.168.239.240/webmail by typing in my browser.

The above does not work, all I seem to get is the default "Welcome to Apache" page that is served from 192.168.239.241.

Any ideas?

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top