14 lines
351 B
ApacheConf
14 lines
351 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
Options +FollowSymlinks -Multiviews
|
|
RewriteEngine On
|
|
FileETag MTime Size
|
|
RewriteBase /
|
|
RewriteCond %{SERVER_PORT} !^443$
|
|
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=301,L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
|
|
|
|
</IfModule>
|