Re: httpd acess problem

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

 



/home/httpd/html is having read and ex for all. the files therein
index.html etc are havingn read for all.

regarding httpd.conf file i am having both the entries.(comments removed)
<Directory />
    Options FollowSymlinks
    AllowOverride AuthConfig FileInfo Indexes Limit Options
</Directory>

<Directory "/home/httpd/html">
    Options Includes Indexes FollowSymlinks
    AllowOverride AuthConfig FileInfo Indexes Limit Options
    Order allow,deny
    Allow from all
</Directory>

in /var/log/httpd/error_log  i am getting following entry:
[Mon Jul 24 19:28:53 2000] [error] [client 164.164.58.187] client denied
by server configuration: /home/httpd/html

regards.
surinder

DEMERRE DIETER wrote:

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