.htaccess.sample 842 Bytes
Newer Older
1
<FilesMatch "(\.tpl(\.php)?|\.yml|\.log|composer\.(json|lock))$">
2 3 4 5 6
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
</FilesMatch>

7 8
#SetEnv ACP3_APPLICATION_MODE dev

9 10
Options +FollowSymlinks
DirectoryIndex index.php
11

12
# Uncomment the following lines of code if you want to use separate sitemaps for HTTP and HTTPS
13 14 15
#<IfModule mod_rewrite.c>
#    RewriteEngine On
#
16 17
#    RewriteCond %{HTTPS} !=on
#    RewriteCond %{REQUEST_FILENAME} !-f
18
#    RewriteRule ^sitemap\.xml$ sitemap_http.xml [L,PT]
19
#
20 21
#    RewriteCond %{HTTPS} =on
#    RewriteCond %{REQUEST_FILENAME} !-f
22
#    RewriteRule ^sitemap\.xml$ sitemap_https.xml [L,PT]
23 24 25
#</IfModule>

<IfModule mod_rewrite.c>
26
    RewriteEngine On
27

28 29 30
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L,QSA]
31
</IfModule>