src

recompile apache from src.rpm to change suexec docroot to /home

You may need to do this as a solution to a virtualmin error on standard redhat systems install:
"The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed."

This example will be based on Centos 5.2 64bit and http 2.2.3 ... in most redhat based systems you should be able to do pretty much the same steps to get this going.

First, you need the src.rpm ... get it from a repo. in my case i got it like this:

Technology: 

Build rpm from src.rpm

rpmbuild --rebuild foo.src.rpm (RedHat, CentOS, Fedora & co)
rpm --rebuild foo.src.rpm (Mandriva?)
After that you can do a
locate foo
to see where's the package and then:
rpm -Ivh /path/to/package/foo.rpm or
rpm -Uvh /path/to/package/foo.rpm

Technology: 
Subscribe to src