Proxying access to internal web URLs from outside
Posted: Sat Aug 15, 2009 12:08 am
Hi all
I have migrated my web server over from Ubuntu to my new Amahi server and most things are working well, including things like demuxing SSL connections to Outlook Web Access on my Exchange server. I thought I would use a similar proxying trick to access URLs such as http://hda from outside, with http://<mywebsite>/hda. So I added proxy entries like this to my Apache custom conf file for my SSL vhost:
<Location /setup>
ProxyPass http://setup
ProxyPassReverse http://setup
SSLRequireSSL
AuthUserFile "/var/hda/web-apps/htpasswd"
AuthName "Foo"
AuthType "Basic"
require valid-user
</Location>
However, whenever I access these URLs from outside I just get the Apache "Fedora test page".
Does anyone have any ideas about how else I could make this work? I don't care in the end if it is done with proxying; I just want authenticated access iover SSL from outside to the internal vhosts (mwiki, hda, setup, ...)
I have migrated my web server over from Ubuntu to my new Amahi server and most things are working well, including things like demuxing SSL connections to Outlook Web Access on my Exchange server. I thought I would use a similar proxying trick to access URLs such as http://hda from outside, with http://<mywebsite>/hda. So I added proxy entries like this to my Apache custom conf file for my SSL vhost:
<Location /setup>
ProxyPass http://setup
ProxyPassReverse http://setup
SSLRequireSSL
AuthUserFile "/var/hda/web-apps/htpasswd"
AuthName "Foo"
AuthType "Basic"
require valid-user
</Location>
However, whenever I access these URLs from outside I just get the Apache "Fedora test page".
Does anyone have any ideas about how else I could make this work? I don't care in the end if it is done with proxying; I just want authenticated access iover SSL from outside to the internal vhosts (mwiki, hda, setup, ...)