• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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