> 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

That's what I was trying to remember : Options FollowSymLinks in http.conf!
I'll bet you're right on the money, that his apache doesn't allow symlinks.
That's what I said to but gave no solution besides 'ask the server admin'
Thanks for pointing out the stuff I should have known but my tiny little 
Brain let slip out. One of these days I swear I'll get the genius award! ;) 

> 
> 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]
> 
> 

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

Reply via email to