Apache Newb!! Pls Help!

Permabanned
Joined
17 Jan 2006
Posts
1,971
Location
Haskins
Hi all, How do I set up the config in apache so that when someone types in my IP address, apache shows them my page on my home server!?

Thanks

I'm behind a Belkin Router and have opened port 80

I have also opened (now) port 80 on Windows Firewall...

Is there anything else I need to do!?

Thanks
 
Last edited:
Soldato
Joined
29 Oct 2004
Posts
10,884
Install Apache, make sure it's running and replace the files in your htdocs with your website files (or redirect your htdocs variable to the location of the files)

That's pretty much it.

Dig around in httpd.conf for the more advanced options.
 
Permabanned
OP
Joined
17 Jan 2006
Posts
1,971
Location
Haskins
ok, i'm runnging Apache through EasyPHP...

the 'www' folder is within the easyphp folder AND NOT the apache folder.

So, i've set up the config file to read on port 80, and virtual servers are as follows

Code:
NameVirtualHost my external ip in here

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost my external ip in here >
  
   DocumentRoot /www/docs/
   ServerName pineroom.com

</VirtualHost>

but is the 'DocumentRoot' location correct seeing as the 'www' folder is not in the 'Apache' folder?

Thanks
 
Back
Top Bottom