You are not logged in.
Hi all,
Can anybody tell me if what I want to do is possible?
I have two web servers. Both servers can see each other, but only one is available from outside my network.
What I want to do is be able to access the server which is normally hidden. Can I use the accessible one to make the hidden one accessible to?
Maybe I can set up a special page on the accessible server that will serve the content of the hidden one? I don't have shell access, so I can't mount a remote fs.
Any ideas? Is it at all possible?
Thanx!
Offline
That sounds like you want to set up a proxy. Apache, lighttpd and most likely other servers have modules for this task.
Offline
The thing is, I have minimum control over the accessible server: only its content (I think it has php enabled though) while the other one is under my control.
Offline
If it's apache, has mod_proxy enabled and you can create a .htaccess file then you can still use the proxy module.
I use a reverse proxy with virtual hosts on my gateway:
<VirtualHost *:80>
ServerName nagios.mydomain.com
ProxyPass / http://192.168.235.201/
ProxyPassReverse / http://192.168.235.201/
</VirtualHost>
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
@fukawi2
Can that be placed into .htaccess or only the main apache config? I don't have access to this on the server but still its a good idea. I did not even know it was possible to do this with apache!
Offline
@fukawi2
Can that be placed into .htaccess or only the main apache config? I don't have access to this on the server but still its a good idea. I did not even know it was possible to do this with apache!
Ah, I thought it could, but a quick Google to confirm appears than it cant... Sorry for misleading you
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline