File: example/.htaccess

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  Zest PHP Router Library  >  example/.htaccess  >  Download  
File: example/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Apache access configuration
Class: Zest PHP Router Library
Configure URL routes and dispatch HTTP requests
Author: By
Last change:
Date: 2 months ago
Size: 338 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]

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