Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th November 2007, 22:54
uniacid uniacid is offline
Junior Member
 
Join Date: Nov 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Suexec with default /var/www location

Hello,

I setup ISPConfig on CentOS 5, everything is working but when I use suexec and try to run any cgi or pl files it just returns a blank page or sometimes a 500 internal server error. I used the default option to use /var/www as my root in the ISPConfig setup and for suexec itself, my web sites location is in /var/www/web1 which I figure should be fine since its still in the root (/var/www) unless the cgi files themselves have to be exactly in that location?

Here's my suexec.log:
[2007-11-12 10:45:14]: uid: (10001/web1_ac) gid: (10001/10001) cmd: hello_world.pl
[2007-11-12 10:45:14]: directory is writable by others: (/var/www/web1/cgi-bin)



Any help would be appreciated.
TIA.
Reply With Quote
Sponsored Links
  #2  
Old 13th November 2007, 00:49
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

What does this tell you:

Quote:
Originally Posted by uniacid
[2007-11-12 10:45:14]: directory is writable by others: (/var/www/web1/cgi-bin)
Reply With Quote
  #3  
Old 13th November 2007, 18:20
uniacid uniacid is offline
Junior Member
 
Join Date: Nov 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

obvious now but strange because I made sure my cgi-bin was set to 755 before, Just reset it again turned on suexec and now it seems to work normally.


Thx.
Reply With Quote
Reply

Bookmarks

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
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 19:03
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 13:05
Exim MTA dazblade Server Operation 4 16th July 2007 19:42
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 18:54


All times are GMT +2. The time now is 03:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.