PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Arun Kumar   Simple REST Library   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: REST Url reqrite
Class: Simple REST Library
Process requests to work as a REST server
Author: By
Last change:
Date: 10 years ago
Size: 349 bytes


Class file image Download
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^(.*)$ api.php?rquest=$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>