Hi,
In order for a user to have write access to certain files, the files must have certain ownership and permissions. You can do that with chown, you will have to connect to your server with SSH to do that, not with FTP. If you are on a windows you can use Putty, to connect via SSH.
Possible reasons for 500 error caused by an htaccess file are actually a LOT. You better speak with your hosting company, as they are familiar with the environment settings that they have.
I will quote you a couple possible reasons for this :
Quote:
Incorrect file/directory permissions: 766 or 777.
The webserver does not process php/cgi scripts with higher permissions than 755. Change the permissions of your file/directory to 755 in order to solve this issue.
Incorrect Apache directives inside .htaccess file.
In case custom Apache directives have been added to the .htaccess file, the Internal Server Error means these directives are either not supported and should be removed or are incorrect and should be re-written.
Php directives set in the .htaccess file instead of the php.ini files.
All custom php settings (e.g. php_flag) must be placed inside a php.ini file. For each separate directory you should create its own php.ini file.
|
If your hosting company gives you access to error logs, you can check for a more specific error, explaining the problem. ( If your company uses CPanel, you have access to an error log there)
Are there more htaccess files on the server ?
Quote:
<Limit READ WRITE>
AllowUser user1
DenyAll
</Limit>
<Limit READ>
AllowUser user1, user2
DenyAll
</Limit>
I changed the script as follows:
<Limit READ WRITE>
AllowUser user1
DenyAll
</Limit>
<Limit READ>
AllowAll
</Limit>
|
Is this everything which is specified in the htaccess ?