<div dir="ltr">Hi fellow-Frank-followers,<br><br>I'm trying to run mapserv (in FWTools which is installed under my home dir) from
/var/www/cgi-bin dir via a symlink. The link in /var/www/cgi-bin looks like this:<br>
mapserv -> /home/randre/local/FWTools-2.0.6/bin_safe/mapserv<br><div dir="ltr"><br>I'm
able to execute the program through the symlink from the command line,
but when I try to access it from a web page, I get a permission error
in the browser, and the apache error log reports, "Symbolic link not
allowed". I've read that I need to add "Options" to my Apache2 httpd.conf file
to enable SymLinks, but I guess I'm still missing the ones that matter.<br>
<br>Below are the settings I have in my httpd.conf for cgi-bin:<br><br>ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"<br><br><Directory "/var/www/cgi-bin"><br> AllowOverride ALL<br> Options Indexes FollowSymLinks ExecCGI Includes<br>
Order allow,deny<br> Allow from all<br></Directory><br><br>AddHandler cgi-script .cgi # probably isn't needed<br><br>In
addition, I've tested that a script named "test.py" which is located
directly in the cgi-bin dir can run properly. Have you got any
suggestions I could try? Below is the error that is reported in the error log:<br><br>Symbolic link not allowed: /var/www/cgi-bin/mapserv<br><br></div>Thanks,<br><br>Roger<br>--<br></div>