ThibaultFriedrich/home-os/master/src/.htaccess - Htaccess File

ThibaultFriedrich/home-os/master/src/.htaccess

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On

#RewriteBase /63347f5d946164a23faca26b78a91e1c/

<FilesMatch ".*.(!?txt|crt|pem)$">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</FilesMatch>
<FilesMatch ".*robots.txt$">
Allow from all
</FilesMatch>

#RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ api/api.php?request=$1 [L]

#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ $1.html [L]

#RewriteCond %{REQUEST_FILENAME}.html !-f
#RewriteRule ^(.*)$ $1.html [L]

#ErrorDocument 404 http://elqui.fr 

#RewriteRule ^ /widgets/index.html [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache