View Single Post
  #1   (View Single Post)  
Old 25th October 2009
erehwon erehwon is offline
Port Guard
 
Join Date: May 2008
Location: Cascadia
Posts: 34
Default Executing web scripts : can't!

I'm running 4.5-stable. /var/www is mounted rw,nodev,nosuid. httpd.conf allows php and cgi, and ExecCGI enabled.

Yet, I can't get any scripts to execute, even though 755'd. Apache is chrooted in /var/www. I've tried making it 'unsecure' (-u flag), but still, no go.

I'm missing something obvious? What else might prevent the execution of cgi, php? All I get when I view index.cgi, for example, is the text of the script itself, not the executed output.

Apache error log:

Code:
[Sat Oct 24 19:16:27 2009] [notice] Initializing etag from /var/www/logs/etag-state
[Sat Oct 24 19:16:27 2009] [notice] chrooted in /var/www
[Sat Oct 24 19:16:27 2009] [notice] changed to uid 67, gid 67
[Sat Oct 24 19:16:27 2009] [notice] Apache configured -- resuming normal operations
[Sat Oct 24 19:16:27 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
Reply With Quote