On Mon, 11 Nov 2002 18:24:23 +0100
Pep Serrano
So I followed zentara's advice and moved out suexec so Apache can not find it... Then the SSI works.
Now, what can I do to use suexec together with SSI? Is there anything I need to configure?
I get the following in /var/log/httpd/suexec.log
[2002-11-02 22:11:30]: info: (target/actual) uid: (pep/pep) gid: (users/users) cmd: date +'%a %e %b %Y, %H.%M' [2002-11-02 22:11:30]: error: cannot stat program: (date +'%a %e %b %Y, %H.%M')
You might want to go to apache.org and search for the docs on suexec.
That last time I read it, suexec will only run an executable if it is owned by
the user of the home directory. That's what it's doing with the (target/actual)
stuff above. The user and group must match the home directory's owner.
There are some other permissions restrictions too, but I don't recall them
offhand.
So that said, the "date" command is probably owned by root/root not
your user. So it can't "stat" the command, and won't run.
I guess you copy the "date" command to the user's homedir and make
the user/group the owner. Then if you put +Includes in the httpd.conf for the