mod_rewrite gurus click here!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jinx
    Confirmed User
    • Feb 2002
    • 636

    #1

    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
    Confirmed User
    • Feb 2002
    • 636

    #2
    Little bump for the evening people. I've done some more reading and still haven't been able to piece anything together. It's not all that big of a deal to drop a .htaccess into each domains folder, but I thought having 1 for them all would be better.


    ICQ: 360-63-200

    Comment

    • AlienQ - BANNED FOR LIFE
      best designer on GFY
      • Mar 2003
      • 30307

      #3
      Redirecting wont save you...

      Your fucked dude find a different road.

      Comment

      Working...