Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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:

[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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't load any scripts in ircII guitarscn General software and network 4 22nd November 2010 12:06 AM
Windows scripts can't print drhowarddrfine Other OS 15 31st March 2009 08:53 AM
Periodic scripts for mail scripts stukov FreeBSD General 2 8th March 2009 07:51 PM
executing commands for all users when X starts with KDM caesius FreeBSD General 2 20th October 2008 09:03 AM
Executing a c program Libran Programming 13 12th August 2008 11:42 PM

All times are GMT. The time now is 03:07 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick