Can"t get Apache 2.2 to display anything
am 14.11.2009 19:59:17 von Trolle Yew
--0016e65aedd69194db0478595f27
Content-Type: text/plain; charset=ISO-8859-1
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.
--0016e65aedd69194db0478595f27
Content-Type: text/html; charset=ISO-8859-1
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:
Thanks in advance.
--0016e65aedd69194db0478595f27--
Re: Can"t get Apache 2.2 to display anything
am 14.11.2009 20:14:39 von aw
Trolle Yew wrote:
> I'm trying to get the webserver to display my index page. I placed
> everything required
meaning what ?
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?
what is the content of the file
"C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/index.html" ?
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
RE: Can"t get Apache 2.2 to display anything
am 16.11.2009 09:18:52 von Boyle Owen
On line 177 you have=20
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.=20
________________________________
From: Trolle Yew [mailto:berematkesawin@gmail.com]=20
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
=09
=09
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
=09
Thanks in advance.=20
=20
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.=20
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 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