Re: Apache-forbidden access to html files
From: Megiddo (manbrett_at_yahoo.com)
Date: 10/25/05
- Next message: SHALLAM: "Re: 3 nic cards and iptables"
- Previous message: Ciccio: "Re: 'bad intefaces address' with wireless!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Oct 2005 15:03:06 -0700
"K.Zielinski" <longi...@zeus.polsl.gliwice.pl> wrote in message
news:8uuv5g$qng$4@zeus.polsl.gliwice.pl...
>> I've just installed linux RedHat 6.2 with apache,postgres and php.
>> When i want to try my www server i can see in my browser a webpage saying
>> "403 Forbidden". I have checked the rights to apache home directory and
>> index.html file and they are 644. So it schould work, why it doesn't ?
>> A month ago i installed the same distribution of linux (except postgres
and
>> php) and apache was working correctly (i could access index.html in my
>> browser after installation).
>> Could you tell me what i could do about it ?
> There are two parts to making apache able to serve up a file:
> 1. Getting the un*x permissions right.
> 2. Getting the apache directory access specification right.
> It appears that 2) is your problem. In /etc/httpd/conf/httpd.conf
>(or possibly /etc/httpd/conf/access.conf), you should have a set of lines
>that says
> <Directory "/home/httpd/.......">
> AllowOverride None
> Order allow, deny
> Allow from all
> </Directory>
>Of course, fill in the directory that you want to grant access to; if you
>want finer control over who has access, that can be had as well, but it
>requires fine perusal of the documentation: http://www.apache.org/docs/
This helped solve my problem too, I can now access my index... but no
subdirectories.... How can I make the permission recursive?
- Next message: SHALLAM: "Re: 3 nic cards and iptables"
- Previous message: Ciccio: "Re: 'bad intefaces address' with wireless!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|