Fixing permissions errors found in server log

For issues with installing and configuring the Archon software to begin running on your webserver.

Moderators: paulnsorensen, kylefox2, prom, rishel

Fixing permissions errors found in server log

Postby mmoxcey » Fri Jan 13, 2012 4:25 pm

This is on a Linux box. The three dots: . . . are just for formatting purposes.

If your server log has Permission issues such as:
. . . [error] (13)Permission denied: access to /php/packages/core/js/jquery-ui.custom.min.js denied,
or
. . . [error] (13)Permission denied: exec of '/var/www/NWRC/Archon/adminthemes/default/images/bg_gradient.gif' failed

Then you want to make sure directories have world eXecute access so apache can search them: chmod 755 dir/
The .php files need eXecute access: chmod 755 *.php
In addition, you need this line in your httpd.conf file:
. . . Options +ExecCGI +FollowSymLinks +Indexes

The other files ( *.ico .gif .png .js ) need world Read access 644 so apache can read the files but not eXecute.

I also had to turn off what appears to be NFS access stuff in httpd.conf even tho we don't use that.
IT APPEARS TO BE THE MAGIC FIX!?!

Enable these two commands by uncommenting in : /etc/httpd/conf/httpd.conf
. . . EnableMMAP off
. . . EnableSendfile off
mmoxcey
 
Posts: 6
Joined: Tue Dec 13, 2011 6:56 pm

Return to Installation/Configuration Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron