Tech Rocks

Coldfusion
Java
JQuery

An online resource for latest web technologies like Coldfusion, JRun, Pro*C, JQuery, HTML5, PHP, W3C, Java, J2EE, C, C++, ORACLE, PL/SQL, MySql, Ajax, Coldbox, Fusebox, UNIX, JavaScript, NodeJS and much more...

Friday, December 5, 2008

Rewrite Rules Example

RewriteEngine On

RewriteCompatibility2 On

RepeatLimit 200RewriteBase

RewriteRule ^/jadmin-fb5/index.htm$ /jadmin-fb5/index.cfm

RewriteRule ^/jadmin-fb5/(.*).htm$ /jadmin-fb5/index.cfm?pageName=$1

RewriteCond %{REQUEST_FILENAME}.cfm -f

RewriteRule (.*) $1.cfm

Change jadmin-fb5 to ur localhost site or url

0 comments :

Post a Comment