in reply to Re: Why is my PM package failing?
in thread Why is my PM package failing?
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why is my PM package failing? (security)
by LanX (Saint) on Feb 17, 2022 at 11:17 UTC | |
|
Re^3: Why is my PM package failing?
by Marshall (Canon) on Feb 17, 2022 at 03:20 UTC | |
by SergioQ (Scribe) on Feb 17, 2022 at 03:37 UTC | |
by NERDVANA (Priest) on Feb 18, 2022 at 06:16 UTC | |
by LanX (Saint) on Feb 18, 2022 at 12:00 UTC | |
by SergioQ (Scribe) on Feb 18, 2022 at 18:41 UTC | |
by marto (Cardinal) on Feb 18, 2022 at 08:44 UTC |