mirror of
https://github.com/flarum/flarum.git
synced 2025-11-27 00:00:38 -05:00
13 lines
322 B
ApacheConf
13 lines
322 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine on
|
|
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
|
|
RewriteRule ^api(.*)$ api.php [QSA,L]
|
|
RewriteRule ^admin(.*)$ admin.php [QSA,L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)$ index.php [QSA,L]
|
|
</IfModule>
|