10 lines
270 B
ApacheConf
10 lines
270 B
ApacheConf
RewriteEngine On
|
|
|
|
# Handle CORS preflight requests
|
|
RewriteCond %{REQUEST_METHOD} OPTIONS
|
|
RewriteRule ^(.*)$ index.php [QSA,L]
|
|
|
|
# Route all requests to index.php
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)$ index.php [QSA,L] |