Gossamer Forum
Home : General : Internet Technologies :

mod_rewrite

Quote Reply
mod_rewrite
I am far from an expert in mod_perl, but Alex gave me a nice bit of code that I can place in a .htaccess file, and it will redirect people from http://www.ace-installer.com/page.html to http://new.ace-installer.com/page.html. The problem is, I have a couple of directories that I don't want this done with... e.g;

http://www.ace-installer.com/demo doesn't need to be redirected to http://new.ace-installer.com/demo.

Does anyone have any suggestions on what to change/add in the below codes?

Code:
RewriteEngine On
RewriteRule (.*) http://new.ace-installer.com/$1 [R,L]

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Wil: Dec 2, 2003, 1:18 PM
Subject Author Views Date
Thread mod_rewrite Andy 4622 Dec 2, 2003, 9:44 AM
Thread Re: [Andy] mod_perl
Recall 4476 Dec 2, 2003, 10:31 AM
Post Re: [Recall] mod_perl
Andy 4462 Dec 3, 2003, 12:54 AM