Files
event/.htaccess
T
2025-03-05 14:10:06 +09:00

12 lines
400 B
ApacheConf

RewriteEngine on
#Now, rewrite to HTTPS:
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(?:jpe?g|gif|bmp|png|tiff|css|js)$ index.php [L,NC] # direct to index.php except these
#RewriteRule ^(.*)$ index.php?request=$1 [L,QSA]