RE: Forbidden access to userdir

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

 



You probably haven't set up a directory statement for the home dirs. 

Something like:

<Directory "/home/*/public_html">
Options Indexes FollowSymLinks
AllowOverride All 
Order allow,deny
Allow from all
</Directory>



-----Original Message-----
From: kris duff [mailto:t_dufff@xxxxxxxx] 
Sent: Friday, September 07, 2007 11:25 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  Forbidden access to userdir

Hi

I installed the latest apache version (2.2.6).  I used
the default httpd.conf file except for the userdir
directory which is include the file
extra/httpd-userdir.conf

I can access the "main website" from
/[..]/apache/htdocs but when I put the
http://[..]/~my_user  I received on my browser : 

FORBIDDEN

You don't have permission to access /~my_user on this
server.

On the access_log I can see the following message :
[...] "GET /~my_user HTTP/1.1" 403 207

And the error_log :
[...] (13)Permission denied: access to /~my_user
denied

my index.html has 777 root.root as privilege and the
"." has 777 my_user.my_user of privilege

I installed apache from source using the following
command :
./configure  \
--with-expat=builtin  \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-module=rewrite \
--enable-module=so \
make ; make install

Everything seems good for me, so I'm looking for some
help or advice to resolve this issue.  

Thank you a lot

Kris



      Be smarter than spam. See how smart SpamGuard is at giving junk email
the boot with the All-new Yahoo! Mail at
http://mrd.mail.yahoo.com/try_beta?.intl=ca


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



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