NewtownGuy
Technical User
I'm running Apache2 on Ubuntu 8.04. This machine is accessible from the Internet and also hosts an OpenVPN server. I need users on the Internet to be able to access Apache2 servers that are running behind my firewall and are only accessible via my VPN.
I'm having trouble setting up proxying on the publicly accessible Apache2 server. I can't get Apache2 to redirect URL's on its publicly viewable web pages to Apache2 servers that are on my VPN. I don't want to require users to have OpenVPN to access my servers that are on my VPN.
I've symbolically linked proxy.load and proxy.conf in /etc/apache2/mods-available to /etc/apache2/mods-enabled.
I've made the following /etc/apache2/httpd.conf:
................
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass IP addressort>/myname_proxy/ ProxyPassReverse IP addressort>/myname_proxy/
...............
I have the following URL in my web page:
IP addressort>/myname_proxy/index.html
I restarted Apache2. It started OK.
I get this error when I click the link:
.............
NOT FOUND
The requested URL /myname_proxy/index.html was not found on this server.
............
The subject file IS present on the distant server that is only accessible from the VPN. I can access that distant server OK using SSH from the publicly available Apache2 / OpenVPN server.
Please help. Thank you.
-- NewtownGuy
I'm having trouble setting up proxying on the publicly accessible Apache2 server. I can't get Apache2 to redirect URL's on its publicly viewable web pages to Apache2 servers that are on my VPN. I don't want to require users to have OpenVPN to access my servers that are on my VPN.
I've symbolically linked proxy.load and proxy.conf in /etc/apache2/mods-available to /etc/apache2/mods-enabled.
I've made the following /etc/apache2/httpd.conf:
................
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass IP addressort>/myname_proxy/ ProxyPassReverse IP addressort>/myname_proxy/
...............
I have the following URL in my web page:
IP addressort>/myname_proxy/index.html
I restarted Apache2. It started OK.
I get this error when I click the link:
.............
NOT FOUND
The requested URL /myname_proxy/index.html was not found on this server.
............
The subject file IS present on the distant server that is only accessible from the VPN. I can access that distant server OK using SSH from the publicly available Apache2 / OpenVPN server.
Please help. Thank you.
-- NewtownGuy