Cannot save Global Configuration changes
From Joomla! Documentation
Revision as of 15:04, 16 January 2012 by Reverse Corruption (talk | contribs) (→Note on systems with SELinux =)
Should this be in the FAQ page?
One Fix for this problem (at least)[edit]
Having struggled with this problem for 2 days, I was very surprised to find that there is a simple solution.
The answer appears to be to add this line to the .htaccess file in the root directory of the specific Joomla installation:
"Here's what works for me. I'm using Joomla 1.5.3, SEF: on, Apache mod_rewrite; on. Just add this line to your .htaccess."
SecFilterEngine Off
The author of this fix is to be found here: http://forum.joomla.org/viewtopic.php?p=1289015&sid=ff0da8dfe820f605d8dd5faf09222fb0#p1289015
Just don't forget to comment out this line after changing one's site configuration ...
hope that this helps others. John K
Note on systems with SELinux [edit]
When dealing with SELinux we need to update context of the /var/www/html/sites/ to read and write:
- chcon -R -t httpd_sys_content_rw_t /var/www/html/sites/
To check a SELinux context use ls command with -Z option. Example:
- ls -Z settings.php
-r--r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 settings.php For files copied from ~/ you may have wrong context as:
- ls -Z default.settings.php
-rw-r--r--. 6226 6226 unconfined_u:object_r:user_home_t:s0 default.settings.php