PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Ettore Moretti  >  PHP API Server  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP API Server
Route requests to API calls to handler classes
Author: By
Last change: PhpAPIServer
Date: 10 months ago
Size: 148 bytes
 

Contents

Class file image Download
RewriteEngine On
Options -Indexes
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?api=$1 [QSA,L]
For more information send a message to info at phpclasses dot org.