Tuesday, May 26, 2009

HTACCESS

RewriteEngine on

#Send output from web server in GZip format to fast transfer over the internet


SetOutputFilter DEFLATE



RewriteRule ^index.html$ /csn/index.php [L]
RewriteRule ^home.html$ /csn/index.php?file=home [L]
RewriteRule ^change-password.html$ /csn/index.php?file=change_password [L]
RewriteRule ^products.html$ /csn/index.php?file=products [L]
RewriteRule ^forgot-password.html$ /csn/index.php?file=forgot_password [L]
RewriteRule ^login.html$ /csn/index.php?file=login [L]
RewriteRule ^logout.html$ /csn/index.php?file=logout [L]
RewriteRule ^signup.html$ /csn/index.php?file=signup [L]
RewriteRule ^pdetail-([0-9]+).html$ /csn/index.php?file=product_detail&pid=$1 [L]
RewriteRule ^products/p([0-9]+).html$ /csn/index.php?file=products&SPTPage=$1 [L]
RewriteRule ^confirm-request.html$ /csn/index.php?file=confirm_request [L]
RewriteRule ^contact-confirm.html$ /csn/index.php?file=sent_confirm_request [L]


#---------------------------CONTENT PAGE RULE--------------------------------#
RewriteRule ^terms__conditions.html$ /csn/index.php?file=content&page=terms__conditions [L]
#---------------------------CONTENT PAGE RULE--------------------------------#

#---------------------------CONTENT PAGE RULE--------------------------------#
RewriteRule ^privacy_policy.html$ /csn/index.php?file=content&page=privacy_policy [L]
#---------------------------CONTENT PAGE RULE--------------------------------#

#---------------------------CONTENT PAGE RULE--------------------------------#
RewriteRule ^faq.html$ /csn/index.php?file=content&page=faq [L]
#---------------------------CONTENT PAGE RULE--------------------------------#

#---------------------------CONTENT PAGE RULE--------------------------------#
RewriteRule ^contact_us.html$ /csn/index.php?file=content&page=contact_us [L]
#---------------------------CONTENT PAGE RULE--------------------------------#

#---------------------------CONTENT PAGE RULE--------------------------------#
RewriteRule ^testing_page.html$ /csn/index.php?file=content&page=testing_page [L]
#---------------------------CONTENT PAGE RULE--------------------------------#

No comments: