.htaccess options and symlink settings

.htaccess options and symlinks are restricted on most of the shared servers for security reasons. The allowed options are following:

Options +SymLinksIfOwnerMatch

The above restricts symlinks to links within a cPanel account (owner = cPanel user)

500 INTERNAL SERVER ERRORS

Please do not use the following settings – these will lead to a 500 Internal Server Error as it conflicts with server security:

Options All  +FollowSymlinks

HOW TO MODIFY THE OPTIONS AND SYMLINK SETTINGS

If you are uploading / installing software which contains a .htaccess file with

Options All

then simply delete the word “All” so it reads:

Options

If your site contains a .htaccess file with

+FollowSymlinks

then simply replace it with

+SymLinksIfOwnerMatch

Revisions

There are no revisions for this post.

Tags: , , , , ,

No comments yet.

Leave a Reply