Re: Forbidden: can't access *.html files in /var/www/html

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



Alexander Farber wrote:
> Nope this doesn't help. I've tried both 444 and 644 for Alex.html
> and vice versa: 444 and 644 for the .php and .xml files.
>
> On Wed, Sep 29, 2010 at 4:52 PM, Rob Del Vecchio
> <rob.delvecchio@xxxxxxxxx> wrote:
>>> # ls -al Alex.html index.php hello-world.php
>>> -r--r--r-- 1 root    root     599 Sep 29 15:49 Alex.html
>>> -rw-r--r-- 1 afarber afarber   33 Jul 29 11:32 hello-world.php
>>> -rw-r--r-- 1 root    root    5631 Jun 27 09:38 index.php
>> Why is Alex.html only readable and the php files readable *and*
>> writable?
>>  Did you try making the php files *only readable* and see what happens?

What's the entry in /etc/httpd/conf/httpd.conf for /var/www/html? You say
that this stuff is in /var/www/html/test/ - is apache configured to let it
be seen? The error message you give sounds like apache configuration.

Oh, right - are you using http, or https?

         mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux