PHP_SMART_HOME_V3/.htaccess

19 lines
501 B
ApacheConf
Raw Permalink Normal View History

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