Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache2 + suexec

Status
Not open for further replies.

axman505

Technical User
Jun 20, 2001
489
US
Hello,

I am trying to set up a virutal host with apache2 to run suexec. I can get suexec compiled (might not be correct), and it launches. But when i try to run a script, i get premature end of script errors in the log file

running suexec -V has the following output:

-D AP_DOC_ROOT="/home"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="apache"
-D AP_LOG_EXEC="/var/log/httpd/suexec_log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="/home/*/*/docs"


The virutal host webroot is /home/foo/somedomain.edu/docs/

Any suggestions?
 
After closer examination, suexec is running correct on cgi scripts. However, its having trouble with php scripts.

Can anyone offer any tips i may have missed in the setup? .. note, this is all compiled from source.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top