Browse Source

Replace unsupported followsymlinks with +SymLinksIfOwnerMatch

master
Nils 1 year ago
parent
commit
74d5a9463f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .htaccess

+ 2
- 2
.htaccess View File

@@ -11,7 +11,7 @@ AddDefaultCharset utf-8
# this ‘feature’ (MultiViews) drove me absolutely insane!
# without this, Apache will give a 404 for a rewrite if a folder of the same name does not exist (e.g. “/blog/hello”)
# <webmasterworld.com/apache/3808792.htm>
Options -MultiViews -Indexes +FollowSymLinks
Options -MultiViews -Indexes +SymLinksIfOwnerMatch

<IfModule mod_dir.c>
DirectoryIndex index.php
@@ -175,4 +175,4 @@ FileETag None
RewriteCond %{REQUEST_URI} ^(/(?:[^\./&]+/)+)(?:[:+]\d+)?$
RewriteCond %{DOCUMENT_ROOT}%1 -d
RewriteRule ^((?:[^\./&]+/)+)(?:[:+](\d+))?$ index.php?path=$1&page=$2 [QSA,L]
</IfModule>
</IfModule>

Loading…
Cancel
Save