mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Add <IfModule *.c> to prevent some errors to .htaccess
This commit is contained in:
parent
69d068e73f
commit
45ecc29e12
@ -1,7 +1,19 @@
|
||||
Options -Indexes -MultiViews
|
||||
<IfModule mod_autoindex.c>
|
||||
Options -Indexes
|
||||
</IfModule>
|
||||
|
||||
RewriteEngine On
|
||||
<IfModule mod_negotiation.c>
|
||||
Options -MultiViews
|
||||
</IfModule>
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^.*$ index.php [L]
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# you can put here your myaac root folder
|
||||
# path relative to web root
|
||||
#RewriteBase /myaac/
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^.*$ index.php [L]
|
||||
</IfModule>
|
||||
|
Loading…
x
Reference in New Issue
Block a user