Htaccess File

zussel/papermill/master/.htaccess

REQUEST_FILENAME
RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

RewriteBase /api

RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^ index.php [QSA,L]
Exit mobile version