• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Problem with CGI

R

rayc@

Guest
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
 
Did you checked permissions of directory where cgi script located?
 
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
 
Back
Top