httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Hamilton" <phil...@myarchive.biz>
Subject RE: [users@httpd] Forbidden access to userdir
Date Sat, 08 Sep 2007 04:38:02 GMT
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@yahoo.ca] 
Sent: Friday, September 07, 2007 11:25 PM
To: users@httpd.apache.org
Subject: [users@httpd] 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message