View Single Post

  #2 (permalink)  
Old 07-21-2003
Rob Fish
 
Posts: n/a
Default Re: Talking to the outside world

If the virtual server configuration you have done is on the router (?)
thenlike my very recent (1st install of apache) setup you will need to do
anything in the virtual server section of the Aphche httpd.conf

I pointed the router config to the internal ip address of your apache server
and enabled port 80

Then in the httpd.conf, set the Severname to the external WAN ip address or
whatever URL you have that is directed

Thats it.

I spent a while trying to fix a non existant problem of computers on my
internal network not being able to access the webpage on the internet. Took
a friend to check it from their pc across town, before I realised that I had
to use the internal ipaddress/hostname to access the service.

Rob


"Jim H" <this_is_loud_silence@yahooNOSPAMTHANKS.com> wrote in message
news:zrUSa.17707$Df6.17225@news-binary.blueyonder.co.uk...
> I've got Apache 1.3.27 installed on my Win XP computer with PHP 4.3.2. I
> intially set Apache as 'localhost', however I now want to let it talk to

the
> outside world. I've heard that you have to change the server name to your

IP
> address ( I am on cable, so this isn't a problem).
>
> The problem is that I connect to my cable internet connection on my home
> network via a router - a 3Com Office Connect. I have setup a virtual

server
> on the config that points requests on port 80 to my internal IP, but what

do
> I change in my http.conf Apache file? There are several different
> directives, concerning virtual servers and ports etc, so I do not know

what
> to change!
>
> Any suggestions please!
>
> TIA!
>
> Jim
>
>