Suexec with default /var/www location

Discussion in 'General' started by uniacid, Nov 12, 2007.

  1. uniacid

    uniacid New Member

    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.
     
  2. jmroth

    jmroth New Member

    What does this tell you:

     
  3. uniacid

    uniacid New Member

    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.
     

Share This Page