| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Introducing Dokkio, a new service from the creators of PBworks. Find and manage the files you've stored in Dropbox, Google Drive, Gmail, Slack, and more. Try it for free today.

View
 

FreeBSD Virtualmin suexec issue

Page history last edited by trunasuci 9 years, 2 months ago

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!!!

 

 

15 Nov 2010 6:23AM

Comments (0)

You don't have permission to comment on this page.