From: justdave%bugzilla.org <> Date: Tue, 16 Oct 2007 14:58:54 +0000 (+0000) Subject: Bug 105366: add documentation for running Bugzilla under suexec X-Git-Tag: bugzilla-2.20.6~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a728ec06d1d86b0b97416326c2f41e2d2b638cb4;p=thirdparty%2Fbugzilla.git Bug 105366: add documentation for running Bugzilla under suexec r=mkanat, colin --- diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index f036072611..cb4319c44f 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -631,9 +631,18 @@ hosting account), you will need to leave webservergroup empty, ignoring the warnings that checksetup.pl will subsequently display - every time it in run. + every time it is run. + + + If you are using suexec, you should use your own primary group + for webservergroup rather than leaving it + empty, and see the additional directions in the suexec section + . + + + The other options in the localconfig file are documented by their accompanying comments. If you have a slightly @@ -2118,6 +2127,25 @@ pid-file=/home/foo/mymysql/the.pid limited access to shell accounts may lessen the security risk, but use at your own risk. + +
+ suexec or shared hosting + + If you are running on a system that uses suexec (most shared + hosting environments do this), you will need to set the + webservergroup value in localconfig + to match your primary group, rather than the one + the web server runs under. You will need to run the following + shell commands after running ./checksetup.pl, + every time you run it (or modify checksetup.pl + to do them for you via the system() command). + for i in docs graphs images js skins; do find $i -type d -exec chmod o+rx {} \; ; done + for i in jpg gif css js png html rdf xul; do find . -name \*.$i -exec chmod o+r {} \; ; done + find . -name .htaccess -exec chmod o+r {} \; + Pay particular attention to the number of semicolons and dots. + They are all important. A future version of Bugzilla will + hopefully be able to do this for you out of the box. +