PHP_SMART_HOME_V3/.htaccess

11 lines
301 B
ApacheConf
Raw Normal View History

2019-08-23 11:39:42 +00:00
RewriteEngine On
2020-04-23 15:37:19 +00:00
DirectoryIndex ./public/
2019-08-23 11:39:42 +00:00
2019-09-19 13:09:15 +00:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2020-04-23 15:37:19 +00:00
RewriteRule (.*) ./public/index.php?url=/$1 [QSA,L]
2019-08-23 11:39:42 +00:00
2020-02-18 20:30:44 +00:00
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
2019-09-19 12:48:01 +00:00
2020-04-21 12:57:38 +00:00
AddType application/x-httpd-php .php .phtml