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
Hello all, Zentara was absolutely right. As a conclusion I would remark the following points: - Apache uses suexec on SuSE (if suexec is installed). - HTML with SSI that belong to a user web directory will only execute scripts and binaries that belong to that user. - You can still place SSIs out of the user directories to access any binaries you want. I did solve my problem in another way, now I am using the variable DATE_LOCAL instead of calling the "date" command (and it works for any user): Today's</a> (<!--#echo var="DATE_LOCAL" -->)<br> Thanks Zentara for your help. Pep Serrano. the
; that should let SSI run the date command with suexec enabled. That would be the way I would first try it. But there may be better instructions on apache.org in the suexec docs.