1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problem with CGI

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by rayc@, Aug 17, 2010.

  1. rayc@

    rayc@ Guest

    0
     
    Hi,
    I'm using very old CGI program. Complied. If you want, I can send the source.
    Anyways, I treid search everywhere but it is not working.

    User:Usergroup is fine.
    Tried update suexec files but failed.

    Error from /var/log/httpd/suexec.log is "directory is writable by others"
    Error from /var/www/vhost/XXX/Stastics/logs/error.log is "Premature end of script headers: ttadmin.cgi"

    Other info :
    rpm -qf /usr/sbin/suexec -> httpd-2.2.3-43.el5.centos

    stat /usr/sbin/suexec
    File: `/usr/sbin/suexec'
    Size: 23776 Blocks: 48 IO Block: 4096 regular file
    Device: 9003h/36867d Inode: 1236409346 Links: 1
    Access: (4510/-r-s--x---) Uid: ( 0/ root) Gid: ( 48/ apache)
    Access: 2010-06-11 13:33:46.000000000 -0700
    Modify: 2010-08-17 14:08:13.000000000 -0700
    Change: 2010-08-17 14:08:13.000000000 -0700

    Thank you
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Did you checked permissions of directory where cgi script located?
     
  3. rayc@

    rayc@ Guest

    0
     
    Of course..

    When I play with different suexec, sometimes it works but images in programs are broken...

    Anyone knows how to restore or find correct suexec?

    Thanks
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Extract default suexec from httpd package...
     
Loading...