Login   Register  
PHP Classes
elePHPant
Icontem

File: demos/hello-world/.htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 1 year ago
Size: 336 bytes
 

Contents

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>

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