FRED-PITT/fredweb/master/api/local.htaccess - Htaccess File

FRED-PITT/fredweb/master/api/local.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-s
  RewriteRule ^(.*)$ api.php?request=$1 [QSA,NC,L]

  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^(.*)$ api.php [QSA,NC,L]

  RewriteCond %{REQUEST_FILENAME} -s
  RewriteRule ^(.*)$ api.php [QSA,NC,L]  
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache