Current time: 11-17-2024, 04:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
ISPCP, suexec, and server side includes (SSI)
Author Message
bl968 Offline


Posts: 3
Joined: Apr 2008
Reputation: 0
Post: #3
RE: ISPCP, suexec, and server side includes (SSI)
ephigenie Wrote:SSI should work with suexec - just fine.

See the suexec conditions :
http://httpd.apache.org/docs/2.0/suexec.html
If your SSI scripts matches these conditions it will work with ispCP Smile

Oh really?

less /var/log/apache2/error.log

suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details

less /var/log/apache2/suexec.log

[2008-04-29 10:57:55]: uid: (2002/vu2002) gid: (2002/2002) cmd: bible.cgi
[2008-04-29 10:57:55]: cannot stat program: (bible.cgi)
[2008-04-29 10:57:55]: uid: (2002/vu2002) gid: (2002/2002) cmd: whatsnew.cgi
[2008-04-29 10:57:55]: cannot stat program: (whatsnew.cgi)
[2008-04-29 10:57:55]: uid: (2002/vu2002) gid: (2002/2002) cmd: getweather.cgi
[2008-04-29 10:57:55]: cannot stat program: (getweather.cgi)

ls -l /var/www/virtual/somedomain.com/cgi-bin/

-rwxr-xr-x 1 vu2002 vu2002 395 2008-04-28 20:40 bible.cgi
-rwxr-xr-x 1 vu2002 vu2002 8805 2008-04-28 19:57 getweather.cgi
-rwxr-xr-x 1 vu2002 vu2002 3366 2008-04-28 20:00 whatsnew.cgi

/var/www/virtual/somedomain.com/htdocs# grep "exec cmd" index.htm
<!--#exec cmd="/var/www/virtual/somedomain.com/cgi-bin/bible.cgi"-->
<!--#exec cmd="/var/www/virtual/somedomain.com/cgi-bin/whatsnew.cgi"-->
<!--#exec cmd="/var/www/virtual/somedomain.com/cgi-bin/getweather.cgi"-->

I have tried full paths, partial paths (virtual/somedomain.com/cgi-bin/getweather.cgi), and even just (/cgi-bin/getweather.cgi) none of them worked. Disabling suexec worked every time.

Everything looks proper to me. Come on I checked and double checked all this before I posted.
(This post was last modified: 04-30-2008 06:12 AM by bl968.)
04-30-2008 06:05 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ISPCP, suexec, and server side includes (SSI) - bl968 - 04-30-2008 06:05 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)