Procházet zdrojové kódy

Disable MultiView + DirectorySlash

Required for routes that might otherwise collide with existing folders on the system
tags/v9.0beta1
Lukas Reschke před 8 roky
rodič
revize
f87dca95f1
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5
    1
      .htaccess

+ 5
- 1
.htaccess Zobrazit soubor

@@ -45,6 +45,11 @@
RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]

# Rewrite rules for `front_controller_active`
SetEnv front_controller_active true
Options -MultiViews
<IfModule mod_dir.c>
DirectorySlash off
</IfModule>
RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]
RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]
RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff)$
@@ -56,7 +61,6 @@
RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
RewriteRule .* index.php [PT,E=PATH_INFO:$1]

</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz

Načítá se…
Zrušit
Uložit