Re: Re: apache/linux newbie has Test Page that won't die

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

 



That worked! I restarted (I didn't know I had to do that--when am I
supposed to restart?) and the folder from /home/<my name>/public_html
popped up. Seizing the opportunity, I put in my website there
(changing the default.htm to index.html) and it worked! So, this
experience leaves me with a few questions

1.When should I know to restart the server?
2. Why aren't the pages being served from /var/www/html/ like the
DocumentRoot says? Is there another configuration file that's
overriding it somewhere?
3) Why can't I use default.htm (not a big deal obviously)
4) Since I clearly don't know what I'm doing, what would be a good
resource/book to use to teach me more about Apache/Linux?

Thank you so much to everyone that helped!

          --Urijah Kaplan

On 2/8/07, Sander Temme <sctemme@xxxxxxxxxx> wrote:

On Feb 8, 2007, at 2:50 PM, Urijah Kaplan wrote:

> 208.109dot216.147

 curl -i http://208.109.216.147/
HTTP/1.1 403 Forbidden
Date: Thu, 08 Feb 2007 22:56:45 GMT
Server: Apache/2.0.52 (CentOS)
Accept-Ranges: bytes
Content-Length: 5044
Connection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd">
        <head>
                <title>Apache HTTP Server Test Page powered by
CentOS</title>
(...)

As you can see, the actual response you get is a 403 Forbidden.  This
is the way Red Hat and its derivatives serve the default test page:
in absence of an actual /var/www/html/index.html, Apache would serve
the directory index, which is forbidden by /etc/httpd/conf.d/
welcome.conf.  The corresponding line in the error log file is:

[Tue Jan 16 11:40:08 2007] [error] [client 10.11.0.103] Directory
index forbidden by rule: /var/www/html/

You say that you commented out the welcome.conf stuff (and restarted
Apache, right?), and yet you are still sending out 403s.  What error
log entries are you getting when you try to access / on your server?

S.

--
sctemme@xxxxxxxxxx            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF





---------------------------------------------------------------------
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