[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SuEXEC and CGI to two VirtualHosts



I believe I have traced my problem in setting up CGI bins on two
VirtualHosts to the fact that SuEXEC is incorrectly configured (it is
enabled and I get "suexec: enabled; valid wrapper /usr/lib/apache/suexec".)
The error I get is: "cannot get docroot information /var/www" (the Debian
Apache default docroot).

I do not know how I got SuEXEC on there in the first place!
Does this come as part of the Debian package?

I could disable suEXEC, but in fact it does look like the tool I need (I
need for users to be able to load, unload, and modify cgi-scripts via sftp).

My problem is not knowing how I can reconfigure SuEXEC. The documentation I
have read says that it needs to be recompiled with apache. But I did not
compile apache from sources to begin with.

Hunt's book says: The suEXEC tool is very easy to set up using the APACI
installation script. Again, this is a tool for use in compiling from source.

Before I uninstall Apache and reinstall the package just to see if it (or
some other configuration tool) is included...does anyone know? Or know a
better way?

Best Wishes!
Mike Olds www.buddhadust.org



Reply to: