Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-11-08 09:48:27
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,289
.htaccess
hi!
due to increase of hackers attacks, host povider demanded to change
FollowSymLinks
to SymLinksIfOwnerMatch
in .htaccess file
did i made correctly?
#DirectoryIndex index.php index.html
#Options +SymLinksIfOwnerMatch
#Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
Offline
Re: .htaccess
The #
at the beginning of the line means that it is commented out and has no effect (it didn’t have any effect in the original .htaccess file either unless you had removed the #
). You changed it correctly.
If the hosting provider wants to have that setting, why don’t they do this in the server setup instead of asking individual customers (assuming this is shared hosting).
Offline
Pages: 1