Forum Moderators: phranque

Message Too Old, No Replies

using alias to send request to internal server

         

didimons

3:21 pm on Feb 10, 2006 (gmt 0)

10+ Year Member



Hello,

We have appache installed on server 1 (external ip and internal ip connected to server 2) on which we are running a website that is accessable to the public.
We also have appache installed on server 2 on which we are running our internal forum. I need to allow external access to the internal forum.
I thought to do this with Alias /test "//10.2.10.254/codex/"
so that test points to our server 2 ip address
Can this setup work?
I already modified the samba on server 2 so that 10.2.10.254/codex points to /var/www/html/codex
so that should be correct. when trying to go to the homepage on our server1 I always receive the message object not found

Any help would be appreciated

thx for the help

jdMorgan

4:00 pm on Feb 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



didimons,

Welcome to WebmasterWorld!

See Apache mod_proxy. You need server1 to act as a proxy for the content hosted on server2.

Jim

didimons

4:49 pm on Feb 10, 2006 (gmt 0)

10+ Year Member



thx for the help, all working fine now