Dec 19 2011

FreeBSD Virtualmin suexec issue

Published by kusuma at 5:13 am under FreeBsd

FreeBSD virtualmin install with suexec issue @ problem

I’m installing FreeBSD 8.1-release with:

apache-2.2.17_1

webmin-1.520

virtualmin-3.80

u’ll face some stupid errors like:

The Suexec command on your system is configured to only run scripts under /usr/local/www/data, but the Virtualmin base directory is /usr/home. CGI and PHP scripts run as domain owners will not be executed. .. your system is not ready for use by Virtualmin.

Solutions:

during installation apache 2.2 via ports, one file will be make as make options, edit it:

ee /var/db/ports/apache22/options

make sure the files have suexec options compiled in: 

WITH_SUEXEC=true

anyway suexec by default will point to default webroot path only, change it to ( your virtualmin path ) and u need to add it manually:

SUEXEC_DOCROOT=/usr/home

save and recompile+compile+install your apache again

cd /usr/ports/www/apache22

make install clean

edit your httpd.conf to include suexec module..

LoadModule suexec_module        libexec/apache22/mod_suexec.so

save and restart your apache..

DONE!!!

Referensi http://trunasuci.pbworks.com/w/page/32558556/FreeBSD%20Virtualmin%20suexec%20issue

Baca juga artikel yang lain berikut ini:

Comments are closed at this time.