httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@six-group.com>
Subject RE: [users@httpd] Can't get Apache 2.2 to display anything
Date Mon, 16 Nov 2009 08:18:52 GMT
On line 177 you have 

DocumentRoot "C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs"

So apache will go there and look for "index.html". It appears this file
is the standard apache "It works!" file. So there is no problem with
apache, just with your understanding of how apache finds the content...

The usual thing that most people do is to make their own content
directory and put their own "index.html" in it. Then they point
"DocumentRoot to that directory. This saves mixing your content with
apache documentation stuff.

Eg;

DocumentRoot "C:/Users/fred/mysite"

then C:/Users/fred/mysite/index.html is your homepage.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 




________________________________

	From: Trolle Yew [mailto:berematkesawin@gmail.com] 
	Sent: Saturday, November 14, 2009 7:59 PM
	To: users@httpd.apache.org
	Subject: [users@httpd] Can't get Apache 2.2 to display anything
	
	
	I'm trying to get the webserver to display my index page. I
placed everything required in \htdocs\ inside the default Apache
installation directory. However, when I try localhost in my browser, all
I see is "It Works!". What could be the problem?
	My httpd.conf: http://pastebin.com/m1eab135a
	error.log: http://pastebin.com/m72374816
	
	Thanks in advance. 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. If you receive this message in error, please notify the
sender urgently and then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. 
The sender's company reserves the right to monitor all e-mail communications through their
networks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message