I put a working test.pl in /var/www/cgi-bin.
Then I symlinked test2.pl to it.
When I loaded up test2.pl, the web page said:
Forbidden
You don't have permission to access /cgi-bin/test2.pl on this server.

Then I put this in my  <Directory "/var/www/cgi-bin"> section of
httpd.conf: Options FollowSymLinks

Now test2 works, and the $ENV{SCRIPT_FILNEAME} reflects the fact that
it's test2.pl, even though it's a symlink to test.pl

You may need that Options line in your <Directory /home/*/public_html>
section or similar.

Pete

On Thu, 2003-01-23 at 11:24, Harry Putnam, edited by me for brevity,
wrote:

> I hoped to have one real cgi script and several symbolic links to it
> that would change that ENV item.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to