fi1a/elpha/master/.htaccess - Htaccess File

fi1a/elpha/master/.htaccess

Options All -Indexes

<IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/elpha/modules/Kernel/routing.php$
    RewriteRule ^(.*)$ /elpha/modules/Kernel/routing.php [L]
    RewriteCond %{REQUEST_URI} ^/elpha/$
    RewriteRule ^.*$ /elpha/backend/ [R=301,L]
</IfModule>

<IfModule mod_dir.c>
    DirectoryIndex index.php index.html
</IfModule>

<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType image/jpeg "access plus 3 day"
    ExpiresByType image/gif "access plus 3 day"
</IfModule>

<FilesMatch ".(htaccess|(.*).php)$">
  Order Allow,Deny
  Deny from all
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache