Re: [users@httpd] Apache 1.3 not honoring +ExecCGI or +FollowSymLinks in UserDir on OS X Tiger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
> > On 6/23/05, Carl Youngblood <carl.youngblood@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux