O
oleg106
Hi,
I just installed Apache and I am trying to call a script that should
output some stuff to my browser. I can't get this to work at all.
Simple script
#! /usr/bin/perl -w
print "Content-type:text/html\n\n";
print `ls`;
The screen is blank. httpd logs indicate permission denied ...
[Tue Aug 22 14:54:32 2006] [error] [client 172.25.31.80] ls: .,
referer: http://salrhellog01/maillog/
[Tue Aug 22 14:54:32 2006] [error] [client 172.25.31.80] : Permission
denied, referer: http://host/log/
Any idea? The script works just fine locally, but not via the web. I
tried exec and system, same deal. User nobody has access to everything
it needs.
I just installed Apache and I am trying to call a script that should
output some stuff to my browser. I can't get this to work at all.
Simple script
#! /usr/bin/perl -w
print "Content-type:text/html\n\n";
print `ls`;
The screen is blank. httpd logs indicate permission denied ...
[Tue Aug 22 14:54:32 2006] [error] [client 172.25.31.80] ls: .,
referer: http://salrhellog01/maillog/
[Tue Aug 22 14:54:32 2006] [error] [client 172.25.31.80] : Permission
denied, referer: http://host/log/
Any idea? The script works just fine locally, but not via the web. I
tried exec and system, same deal. User nobody has access to everything
it needs.