This repository has been archived on 2023-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
prosody_web_admin_rest/public/.htaccess

14 lines
373 B
ApacheConf
Raw Permalink Normal View History

2016-07-10 15:32:38 +00:00
<IfModule mod_rewrite.c>
RewriteEngine On
2018-04-03 11:47:59 +00:00
RewriteBase /
2016-07-10 15:32:38 +00:00
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
</IfModule>