PHP Classes

File: public/.htaccess

Recommend this page to a friend!
  Classes of Cauê Santana   PHP RESTful API   public/.htaccess   Download  
File: public/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP RESTful API
API application that uses the MVC design pattern
Author: By
Last change:
Date: Yesterday
Size: 359 bytes
 

Contents

Class file image Download
# TODO: Improve security. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] Options -Indexes # Add on: /opt/lampp/apache2/conf/httpd.conf # <Directory "/opt/lampp/htdocs/api"> # AllowOverride All # </Directory>