These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Suexec and Awstats issue on the new forum.
I have been having issues in accessing awstats reports on the virtualhosts.... I see the following errors in my log files...
[Wed May 21 06:29:44 2008] [error] [client ] suexec policy violation: see suexec log for more details [Wed May 21 06:29:44 2008] [error] [client ] Premature end of script headers: awstats.pl
Suexec.log shows....
[2008-05-21 06:29:41]: command not in docroot (/www/domain.com/cgi-bin/awstats.pl) [2008-05-21 06:29:44]: uid: (508/domain.com) gid: (509/509) cmd: awstats.pl
Can somebody please help me with this....
chittu
i have the same problem :(
did you manage to solve it?
Yes, As i installed httpd using the rpm base, just downloaded the srpm and then changed the suexec home in the .spec file and then rebuilded and then just installed the rpm using replacefiles, replacepackages options... All worked fine after that...
Chetan
Just FYI, this just means you don't have the Virtualmin Apache packages installed (which are installed when using the install.sh script).
The Virtualmin Apache packages are near-identical to the distro-specific ones, except that suexec is compiled to work on /home.
So, you can definitely solve it by recompiling, but another method is just to grab the Virtualmin files -- http://software.virtualmin.com if you have the Pro version, and http://software.virtualmin.com/gpl/ if you have Virtualmin GPL.
-Eric