Warning, /webapps/ocs-apiserver/public/_htaccess-default is written in an unsupported language. File is not indexed.

0001 
0002 RewriteEngine On
0003 # The following rule tells Apache that if the requested filename
0004 # exists, simply serve it.
0005 RewriteCond %{REQUEST_FILENAME} -s [OR]
0006 RewriteCond %{REQUEST_FILENAME} -l [OR]
0007 RewriteCond %{REQUEST_FILENAME} -d
0008 RewriteRule ^.*$ - [NC,L]
0009 # The following rewrites all other queries to index.php. The 
0010 # condition ensures that if you are using Apache aliases to do
0011 # mass virtual hosting, the base path will be prepended to 
0012 # allow proper resolution of the index.php file; it will work
0013 # in non-aliased environments as well, providing a safe, one-size 
0014 # fits all solution.
0015 RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::$
0016 RewriteRule ^(.*)$ - [E=BASE:%1]
0017 RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]