It is called that, and every time I try to run upload.pl with it in there, use Ssbase; my error file returns:
AH01630: client denied by server configuration: /var/www/cgi-bin/upload.pl
I'm not sure what you meant by:
I think at some point search of current directory became not a good thing because of security reasons I don't understand. You may need a use lib "."; to add current dir to the search path for .pm files.
I haven't touched Perl in ages, but I've always kept my pm and pl files in the same directory.
Call me crazy, but last week I had to update my conf files from:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin/">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
to
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin/">
Require all granted
</Directory>
just to get my perl files to run from the browser www.example.com/cgi-bin/upload.pl
Any chance they could be related?
|