PHP_SMART_HOME_V3/.htaccess

18 lines
455 B
ApacheConf
Raw Normal View History

2019-09-19 14:48:01 +02:00
Options -Indexes
Options -MultiViews -Indexes
2019-08-23 13:39:42 +02:00
RewriteEngine On
2020-02-18 21:30:44 +01:00
RewriteBase /vasek/home/
2019-08-23 13:39:42 +02:00
2019-09-19 15:09:15 +02:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2019-08-23 13:39:42 +02:00
RewriteCond %{REQUEST_FILENAME} !.css
RewriteCond %{REQUEST_FILENAME} !.js
RewriteRule (.*) index.php?url=$1 [QSA,L]
2020-02-18 21:30:44 +01:00
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_FILENAME} !api.php
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
2019-09-19 14:48:01 +02:00
2020-02-06 17:57:11 +01:00
AddType application/x-httpd-php .php .phtml