httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Youngblood <carl.youngbl...@gmail.com>
Subject Re: [users@httpd] Apache 1.3 not honoring +ExecCGI or +FollowSymLinks in UserDir on OS X Tiger
Date Fri, 24 Jun 2005 05:47:51 GMT
I finally figured out what was wrong. At the very bottom of httpd.conf
was the line:

Include /private/etc/httpd/users/*.conf 

This was including a file that was overwriting all my previous
settings. How frustrating!

On 6/23/05, Carl Youngblood <carl.youngblood@gmail.com> wrote:
> Yes, I have +FollowSymLinks set on /Users/*/Sites, which is used for each
> user's root dir.  The symlink is in that directory, and it points to another
> directory inside the same directory.
>  
>  Thanks,
>  Carl
> 
> On 6/23/05, Joshua Slive <jslive@gmail.com> wrote:
> > 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?

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