Currently, installing SquirrelMail (and probably other webapps too) puts them in /var/www/localhost/cgi-bin - which is not the right place for PHP apps (should be /var/www/localhost/htdocs). This is because of a variable name error in the webapp-determine-cgibindir function of webapp-apache.eclass: this function sets HTTPD_ROOT to the location of the cgi-bin directory, when it should in fact set HTTPD_CGIBIN. The following patch against /usr/portage/eclass/webapp-apache.eclass fixes the problem: --- webapp-apache.eclass.old 2003-11-25 23:40:29.000000000 +0000 +++ webapp-apache.eclass 2003-11-25 23:40:40.000000000 +0000 @@ -71,7 +71,7 @@ #HTTPD_CGIBIN="`grep 'ScriptAlias /cgi-bin/' ${APACHECONF_COMMON} | cut -d ' ' -f 7`" #[ -z "${HTTPD_CGIBIN}" ] && HTTPD_CGIBIN="/home/httpd/cgi-bin/" # temporary fix for webapps - HTTPD_ROOT="/var/www/localhost/cgi-bin/" + HTTPD_CGIBIN="/var/www/localhost/cgi-bin/" } function webapp-determine-installowner () Reproducible: Always Steps to Reproduce: emerge squirrelmail Actual Results: SquirrelMail gets installed into /var/www/localhost/cgi-bin/squirrelmail. Expected Results: It should be installed to /var/www/localhost/htdocs/squirrelmail.
Fix committed, and should be on an rsync server near you within the hour. Please test, and let me know that it now works ;-) Thanks a lot, Stu
Fixed - thanks!
Closing