RE: Can't get Apache 2.2 to display anything

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
	Sent: Saturday, November 14, 2009 7:59 PM
	To: users@xxxxxxxxxxxxxxxx
	Subject:  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux