Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Accessing ~user/public_html
  • From: "David Rankin" <drankin@xxxxxxxxxxxxxxxx>
  • Date: Mon, 17 Apr 2006 21:12:34 -0500
  • Message-id: <000701c6628d$8ef3f020$6106a8c0@xxxxxxxxxxxxxxx>

I feel like an idiot not being able to serve pages from apache in Suse
10 from the users public_html directories. Each time I try I get the 403
forbidden access error message. The permissions on the directories and
contents are all 755. The actual error in /var/log/apache2/error_log is:

[Mon Apr 17 20:55:27 2006] [error] [client] (13)Permission
denied: access to /~david/test.html denied
[Mon Apr 17 20:55:48 2006] [error] [client] (13)Permission
denied: access to /~david/test.php denied

/etc/sysconfig/apache2 includes userdir

APACHE_MODULES="access actions alias auth autoindex cgi dir include
log_config mime negotiation setenvif status userdir asis imap php4"

I added the following line to default-server.conf

Include /etc/apache2/mod_userdir.conf

The mod_userdir.conf file is present and contains:

nemesis:/etc/apache2 # cat mod_userdir.conf | grep -v '#'

<IfModule mod_userdir.c>
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Order deny,allow
Deny from all

I have also tried configuring a vhost, but it still doesn't work? I have
googled this and have not found a clear answer, but it does appear that some
people have got it working.

What am I missing? Thanks.

David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.3/316 - Release Date: 4/17/06

< Previous Next >
Follow Ups