PHP Classes

File: example/public/.htaccess

Recommend this page to a friend!
  Classes of Rafael Rodriguez  >  Div PHP Ways  >  example/public/.htaccess  >  Download  
File: example/public/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Div PHP Ways
Route HTTP requests to registered handlers
Author: By
Last change: url args feature & bugfixs
Date: 1 year ago
Size: 249 bytes


Class file image Download
# Div PHP Ways example
RewriteEngine On

# Pass all requests not referring directly
# to files in the filesystem to index.php.

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