I've got Apache 1.30 on a Sun Sparc 2.6 here and I'm having trouble
accessing my development CGI directory. At the start of access.conf is
the default
<Directory />
Options None
AllowOverride None
</Directory>
My problem: except for the Apache CGI directory, I can't get CGIs to run
elsewhere. (When I comment this default <Directory> out, the CGIs work
fine.)
At the bottom of access.conf, I put in
<Directory /usr/local/etc/betatest/cgi-bin>
Options FollowSymLinks ExecCGI Includes
AllowOverride None
order allow,deny
allow from all
</Directory>
ScriptAlias in srm.conf is
ScriptAlias /beta-cgi-bin/ /usr/local/etc/betatest/cgi-bin/
/usr/local is a softlink to /var/local which contains etc.
/usr/local/etc/betatest is a softlink that points to /home/devel/betatest
where cgi-bin is located. All directories, links, and CGIs have at least
r-x permissions for world. When I set ScriptAlias to
/home/devel/betatest/cgi-bin, the CGI's work fine but I want to go in by
this link.
In error_log, the message reads "Symbolic link not allowed: /usr/local/"
I've tried variations on my <Directory> -- removing Options, removing
AllowOverride, with/without trailing '/', etc. I've even added <Directory
/usr/local> and <Directory /var/local> but with no luck.
Any ideas? I like the idea of the security provide by the default
<Directory> directive but what am I missing in adding my own?
---------------------------------------------------------------------
Thad Humphries "'Open Systems' means no fences. And
Software Engineer no fences means no use for Gates."
Phone: 540/675-3015 - Sun Microsystems