Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 6139 invoked from network); 4 Aug 2005 21:59:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2005 21:59:33 -0000 Received: (qmail 3238 invoked by uid 500); 4 Aug 2005 21:59:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 3223 invoked by uid 500); 4 Aug 2005 21:59:20 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 3210 invoked by uid 99); 4 Aug 2005 21:59:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 14:59:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.168.208.37] (HELO jupiter2.atmreports.com) (63.168.208.37) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 14:59:10 -0700 Received: from [172.21.0.20] (unknown [192.168.1.57]) by jupiter2.atmreports.com (Postfix) with ESMTP id A7DBD45A5 for ; Thu, 4 Aug 2005 15:59:15 -0600 (MDT) Message-ID: <42F28FCD.2050106@lannocc.com> Date: Thu, 04 Aug 2005 15:59:41 -0600 From: Shawn Wilson User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_userdir and FollowSymLinks frustration X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am having trouble getting my user's web directories to behave the FollowSymLinks option. I know I must be making a stupid mistake here but I have spent way too much time trying to track down the problem. I'm using Apache 2.0.54 on Gentoo, and have taken the issue down a very basic config which illustrates the problem: # cat /etc/apache2/httpd.conf User apache Group apache Listen 80 PidFile "/var/run/apache2.pid" LogLevel Debug ErrorLog /var/log/apache2/test.log LoadModule userdir_module modules/mod_userdir.so LoadModule dir_module modules/mod_dir.so DirectoryIndex index.html Options Indexes FollowSymLinks # ls -l /home/avarice/public_html/ -rw-r--r-- 1 avarice users 12 Jun 18 2001 index.html lrwxrwxrwx 1 root root 31 Aug 4 15:22 richhorner -> /var/www/richhorner.com/htdocs/ # ls -ld /var/www/richhorner.com/htdocs/ drwxr-xr-x 13 avarice users 624 Aug 3 14:27 /var/www/richhorner.com/htdocs/ Now, when I visit http://myserver/~avarice I get the (unparsed) contents of index.html, as expected. If I remove the "Indexes" option from my config I no longer get the index.html file contents by default, again as expected (just to make sure that Options line was getting used). However, when I try to access http://myserver/~avarice/richhorner I get an access denied error: # cat /var/log/apache2/test.log [Thu Aug 04 15:39:03 2005] [notice] caught SIGTERM, shutting down [Thu Aug 04 15:39:04 2005] [notice] Apache/2.0.54 (Gentoo/Linux) configured -- resuming normal operations [Thu Aug 04 15:39:04 2005] [info] Server built: Jul 27 2005 16:28:52 [Thu Aug 04 15:39:04 2005] [debug] prefork.c(956): AcceptMutex: sysvsem (default: sysvsem) [Thu Aug 04 15:39:07 2005] [error] [client 63.168.208.50] Symbolic link not allowed: /home/avarice/public_html/richhorner I have tried and tried, but cannot get this to work. I successfully use FollowSymLinks and SymLinksIfOwnerMatch elsewhere in my full configuration, but when it comes to mod_userdir I'm having trouble. Thanks, -shawn --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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