PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Rogério Taques   PHP RESTful API Framework Kit   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP RESTful API Framework Kit
MVC framework to implement REST APIs
Author: By
Last change:
Date: 7 years ago
Size: 736 bytes
 

Contents

Class file image Download
# -------------------------------------------------------- # PHP API KIT # @author Rogerio Taques (rogerio.taques@gmail.com) # @version 0.1 # @license MIT # @see http://github.com/rogeriotaques/php-api-kit # -------------------------------------------------------- <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?uri=$1&%{QUERY_STRING} [L] </IfModule> # ----------------------------------------------------------------------- # After deploy it to production, replace 'development' for 'production'. # ----------------------------------------------------------------------- SetEnv ENV development