On Mon, June 28, 2010 4:35 pm, Alf Stockton wrote: > On 28/06/2010 16:37, mick crane wrote: > >> >> On Mon, June 28, 2010 3:17 pm, Helmut Hullen wrote: >> >>> Hallo, Alf, >>> >>> >>> >>> Du meintest am 28.06.10: >>> >>> >>> >>>> I am getting the following error when trying to access >>>> configtest.php on my Apache2 server on my Debian server [Mon Jun 28 >>>> 09:28:08 2010] >>>> [error] [client 41.28.52.171] client >>>> denied by server configuration: >>>> /usr/share/squirrelmail/src/configtes >>>> t.php How do I fix this? >>> >>> That's no squirrelmail problem but a problem related to your >>> webserver (maybe "Apache"). >>> >>> >>> >>> *.php files called as web side have to be readable by the webserver >>> (user or group). >>> >>> >>> >>> I've seen many web applications which set all rights to 777 - that's >>> nasty, that's not necessary. >>> >>> On my machine(s) there runs Apache with "wwwrun:www". I set the >>> rights for the squirrelmail directory to >>> >>> cd /path/to/squirrelmail chgrp -R www squirrel* chmod -R o-rwx >>> squirrel* chmod -R g+rX squirrel* >>> >>> Viele Gruesse! >>> Helmut >>> >> >> >> >> I do this and it seems to work. >> >> >> #!/bin/bash >> find /usr/share/squirrelmail/* -type d -exec chmod 755 {} \; find >> /usr/share/squirrelmail/* -type f -exec chmod 644 {} \; >> chown -R apache /usr/share/squirrelmail/*; chgrp -R apache >> /usr/share/squirrelmail/*; >> >> > Tried that and I still do not have success. <cough> I should have added that if wanting to run configuresetup script, in my case conf.pl then I make that executable mick ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users