httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Apache 1.3 not honoring +ExecCGI or +FollowSymLinks in UserDir on OS X Tiger
Date Thu, 23 Jun 2005 16:01:22 GMT
On 6/23/05, Carl Youngblood <carl.youngblood@gmail.com> wrote:
> I'm having trouble trying to execute CGIs and follow symlinks under
> user web shares (~user style directories) on Mac OS X Tiger.
> 
> I've changed httpd.conf so that the / and DocumentRoot directories
> both have AllowOverride Options. I've turned web sharing on. I've set
> the user dir (/Users/*/Sites) to Options +ExecCGI +FollowSymLinks, and
> yet I get a forbidden message every time I try to either follow a
> symlink or execute a cgi script. Here is what I get in the Apache
> error log:
> 
> [Wed Jun 22 21:11:28 2005] [error] [client 127.0.0.1] Options ExecCGI
> is off in this directory: /Users/carl/Sites/test.cgi
> [Wed Jun 22 21:11:41 2005] [error] [client 127.0.0.1] Symbolic link
> not allowed: /Users/carl/Sites/symlink/
> 
> If I try to do these things in the DocumentRoot
> (/Library/Webserver/Documents), it works just fine. It's almost as if
> mod_userdir is ignoring my options directives. I've tried specifying
> the directives both inside httpd.conf and in an .htaccess file and
> neither seems to work.

For symlinks to work, the FollowSymLinks option must be present for
the directory containing the symlink, not the target directory.  Are
you sure you have done that?  Have you tried allowing symlinks from
the root?

Joshua.

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