<div dir="ltr">Hi fellow-Frank-followers,<br><br>I&#39;m trying to run mapserv (in FWTools which is installed under my home dir) from
/var/www/cgi-bin dir via a symlink.&nbsp; The link in /var/www/cgi-bin looks like this:<br>
mapserv -&gt; /home/randre/local/FWTools-2.0.6/bin_safe/mapserv<br><div dir="ltr"><br>I&#39;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, &quot;Symbolic link not
allowed&quot;.&nbsp; I&#39;ve read that I need to add &quot;Options&quot; to my Apache2 httpd.conf file
to enable SymLinks, but I guess I&#39;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/ &quot;/var/www/cgi-bin/&quot;<br><br>&lt;Directory &quot;/var/www/cgi-bin&quot;&gt;<br>&nbsp;&nbsp;&nbsp; AllowOverride ALL<br>&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks ExecCGI Includes<br>

&nbsp;&nbsp;&nbsp; Order allow,deny<br>&nbsp;&nbsp;&nbsp; Allow from all<br>&lt;/Directory&gt;<br><br>AddHandler cgi-script .cgi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # probably isn&#39;t needed<br><br>In
addition, I&#39;ve tested that a script named &quot;test.py&quot; which is located
directly in the cgi-bin dir can run properly.&nbsp; Have you got any
suggestions I could try?&nbsp; 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>