RE: httpd acess problem

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: surinder singh [mailto:surindersingh@bflsoftware.com]
> Subject: httpd acess problem
...
> my httpd on redhat6.2 is giving following error to browser.
...
> Forbidden
> You don't have permission to access / on this server.
> Apache/1.3.12 Server at 164.164.58.187 Port 80
> 
> in httpd.conf:
> DocumentRoot "/home/httpd/html"
> and this directory is having read permission for all
                               ^^^^

Try setting execute permission for the DIRECTORY.  otherwise
your server cannot switch to /home/httpd/html when executing

also include in the configuration:

- -----snip---- end of exerpt---------------------------------
<Directory /home/httpd/html>
Options None
AllowOverride None
order allow,deny
allow from all
</Directory>
- -----snip---- end of exerpt---------------------------------

this is because you probably also have a part

<Directory />
Options None
AllowOverride None
</Directory>

which implicitely defines "order deny"

furthermore try checking out /var/log/httpd/error_log

good luck !

******* Groetjes vanwege ***** Greetings From *******
Dieter Demerre - http://www.angelfire.com/de/ddemerre
  ddemerre@acm.org - ext.dieter.demerre@siemens.be

Although this private and confidential e-mail has been sent 
to you through a personal Siemens account, it does NOT 
represent any official opinion of Siemens.

If you are not the intended recipient of this e-mail and 
have received it in error, please notify the sender by 
replying with 'received in error' as the subject and then 
delete it from your mailbox.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOX669glG34XnM6kpEQKmbwCgsdKSzsKFaLbwDUds+UJexQ7katcAoPa/
tB/zUWrkcZhgh4YpaaQIShgg
=B9Bk
-----END PGP SIGNATURE-----
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux