I have the stock apache 1.3.27-2 RPM installed, and I'm trying to get suEXEC to work without success. In the virtual host file I have the DocumentRoot set to /home/rash/www and I have User and Group set. The configtest passes without a problem. However whenever I try to execute anything under that path, it fails with a server error. Looking at the suexec log, it says:
info: (target/actual) uid: (rash/rash) gid: (rash/rash) cmd: load.cgi error: command not in docroot (/home/rash/www/load.cgi)
Why does it tell me it's not in docroot (assuming that translates to DocumentRoot)? It is within the DocumentRoot I specified, so why does it fail?
If you want to execute CGI scripts, my suggestion is to read up on the ScriptAlias directive instead. As I understand it, suEXEC is more easily exploitable then a ScriptAlias'd directory.
--
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of Message,
the +3 Clue-by-Four of No Attachments to a Mailing List,
and the -4 Shield of No Spell Checker
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list