Viewing 1 to 2 of 2 items
Tag Archives: symlink

.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  Full Article…


.htaccess mod_rewrite snippets

Redirect all parked domains onto main domain with https RewriteEngine on RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} ^www\.domain\.co\.uk$ [OR] RewriteCond %{HTTP_HOST} ^http://www\.domain\.co\.uk$ [OR] RewriteCond %{HTTP_HOST} !^www\.domain\.co\.uk$ [OR] RewriteRule ^(.*)$$1 [R=301,L] Redirect all parked domains onto main domain # Force all traffic onto one domain with www (will redirect all aliases) RewriteEngine on RewriteCond %{HTTP_HOST} !^$  Full Article…