"scorpio18" <scorpio18.TakeThisOut@reply.is.valid> wrote in message
news:40071277$0$61053$65c69314@mercury.nildram.net...
> I'm a complete newbie to Apache, so any help would be appreciated in as
> simple terms as possible.
>
> I'm about to install Apache 2.0.48 on Windows XP via the Win32 installer.
I
> know this isn't the best O.S. but it's what I have to work with. Apache
will
> be installed on a system which is connected to a router. If the internal
IP
> is 10.0.0.5, how would I get <a style='text-decoration: underline;' href="http://my.ip.address" target="_blank">http://my.ip.address</a> to point to the system
> which has Apache installed. I tried this once before briefly and it kept
> asking for a username and password, which lead to my router setup
> (10.0.0.2). It's probably easy to do, but as I say, it's all new to me.
>
> --
> Scorpio
>
>
I have a similar setup. These are the steps I used and it works fine:
- foward port 80 to the machine running apache's IP: 10.0.0.5
- add "127.0.0.1 mysite.loc <a style='text-decoration: underline;' href="http://www.mysite.loc" target="_blank">www.mysite.loc</a>" to
C:\WINDOWS\system32\drivers\etc\hosts to test it locally
- add the following to httpd.conf:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin.TakeThisOut@mysite.com
ServerName <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a>
ServerAlias mysite.com *.mysite.com
DocumentRoot C:/www/mysite.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin.TakeThisOut@mysite.com
ServerName <a style='text-decoration: underline;' href="http://www.mysite.loc" target="_blank">www.mysite.loc</a>
ServerAlias mysite.loc *.mysite.loc
DocumentRoot C:/www/mysite.com
</VirtualHost>
Shut off Windows firewall and anything else just while testing to make sure
it's not blocking 80 like mine was. Check <a style='text-decoration: underline;' href="http://localhost" target="_blank">http://localhost</a> and make sure
apache is running. That's all I can think of but I'm fairly new to this too.
Luck.
Steve.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Configure via router