View Single Post
Old 09-26-2004, 01:05 PM  
Jinx
Confirmed User
 
Industry Role:
Join Date: Feb 2002
Posts: 636
mod_rewrite gurus click here!

I was wondering how I might go about changing

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.domain.tk
RewriteRule (.*) http://www.domain.tk/$1 [R=permanent,L]


to where I can drop it in my base dir and it'll do what it's suppose to do for a single site to all the sites that are requested.

Ex.

My domains are each a folder in public_html, I want each domain to redirect to www.domain.com without having to drop the .htaccess file into every directory.

Anyone got a solution here?!?
__________________


ICQ: 360-63-200
Jinx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote