markaspot/Mark-a-Spot-1.6-CakePHP/RB_1.6.0/webroot/.htaccess - Htaccess File

markaspot/Mark-a-Spot-1.6-CakePHP/RB_1.6.0/webroot/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
  #html cache
  RewriteCond %{REQUEST_METHOD} ^GET$
    RewriteCond %{DOCUMENT_ROOT}/cache/$1/index.html -f
    RewriteRule ^(.*)$ /cache/$1/index.html [L]
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
    
    # Adds AUTH support to Rest Plugin:
    RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, GET, REQUEST_FILENAME, REQUEST_METHOD

Comments

Apache