in reply to Re^2: LWP running as cgi
in thread LWP running as cgi

You are using sudo, so you run this as admin. Of course that will not reveal any permission problems of the webserver-user. Do
su www-data #or whatever account the apache runs under
and try above commands again.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^4: LWP running as cgi
by elwoodblues (Novice) on Sep 21, 2008 at 18:07 UTC
    the -u option of sudo causes it to run as the specified user, in this case 'apache'. If the apache account is set to nologin, it is the only way to run as the apache user.