Answer: OK. So I have figured it. I am using hosting that is shared and also the host has suExec enabled. It will not allow files to possess permissions apart from default (755 for folders, 644 for files etc). It had been rather simple of altering the permissions also it began working all right!

Thanks for all your help!


I apologise ahead for that lengthy publish. I've two sites - the primary one along with a subdirectory known as content management systems. This is actually the .htaccess code for that primary directory

Options +FollowSymLinks
RewriteEngine on

RewriteRule (.*).php - [L,QSA]
RewriteRule (.*).gif - [L,QSA]

RewriteRule ^cms$ - [L]

RewriteRule ^([^/]+)/([^/]+)/?$ index.php?page=$2 [L,QSA] 
RewriteRule ^([^/]+)(/)?$ index.php?page=$1 [L,QSA] 
RewriteRule ^(.*)(/)?$ index.php?page=home [L,QSA] 

However, after i attempt to access something similar to, I recieve a 500 Internal error. All of the files within the directory possess the right perms (I even attempted 777 with no success). I have also attempted altering an order, no luck there too.

I have attempted with various combinations but haven't had any luck.

Any assistance will be greatly appreciated.

PS. Just in case it had not been obvious enough, I am greatly a noob.


OK. So I have found the mistake log here is things i see under it:

[Tue Jun 14 16:29:19 2011] [error] [client] File does not exist: /home/user/public_html/main_dir/500.shtml
[Tue Jun 14 16:29:19 2011] [error] [client] SoftException in Application.cpp:256: File "/home/user/public_html/main_folder/cms/index.php" is writeable by group

Does that yield any clues?

I suggest setting Apache's RewriteLogLevel and checking logs for error.