Login   Register  
PHP Classes
elePHPant
Icontem

File: .htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  Url Rewriter  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Apache Regular expression
Class: Url Rewriter
Redirect requests according URL rewriting rules
Author: By
Last change: * Fixing bug, redirecting only when the file doesn't exist.
Upgrade is recommend
Date: 6 years ago
Size: 242 bytes
 

Contents

Class file image Download
Options +FollowSymLinks

<IfModule mod_rewrite.c>
	RewriteEngine on
	#Replace url_handler.php for your filename
	#that will handle the redirections.
	RewriteCond %{REQUEST_FILENAME} !-s 
	Rewriterule (.*) url_handler.php
</IfModule>