PHP Classes

File: public/.htaccess

Recommend this page to a friend!
  Classes of Alfredo Rodriguez  >  Teo  >  public/.htaccess  >  Download  
File: public/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Teo
MVC Framework with configurable routes and filters
Author: By
Last change:
Date: 1 month ago
Size: 361 bytes
 

Contents

Class file image Download
# Remove the question mark from the request but maintain the query string
RewriteEngine On

# Uncomment the following line if your public folder isn't the web server's root
# RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?$1 [L,QSA]

ErrorDocument 404 /404
For more information send a message to info at phpclasses dot org.