PHP Classes

File: demos/hello-world/.htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Chara Miteo  >  ApPHP MVC Framework  >  demos/hello-world/.htaccess  >  Download  
File: demos/hello-world/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: .htaccess
Class: ApPHP MVC Framework
Web application development MVC Framework
Author: By
Last change:
Date: 2 years ago
Size: 336 bytes


Class file image Download
<IfModule mod_rewrite.c>
    RewriteEngine On
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-l
    # Rewrite all other URLs to index.php/URL
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

<IfModule !mod_rewrite.c>
	ErrorDocument 404 index.php