Results 1 to 2 of 2
  1. #1
    The "other" left wing davidh's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    3,492
    how to redirect all files in a directory to samename files on a different domain?
    Is there a way to redirect the contents of just one folder on a site to same-name files on another domain without having to do a separate redirect for each individual file?

    For instance, all these files:

    http://www.examplesite1.com/foldername/filename1
    http://www.examplesite1.com/foldername/filename2
    http://www.examplesite1.com/foldername/filename3

    to redirect to:

    http://www.examplesite2.com/foldername/filename1
    http://www.examplesite2.com/foldername/filename2
    http://www.examplesite2.com/foldername/filename3
    CUSTOM BANNERS by GRAPHICS CANDY ~ Banner Sets and Website Graphics ~ Professional design, reasonable rates
    DESIGNER DOG CHECKS ~ We double-dog dare ya to write one!

  2. #2
    The "other" left wing davidh's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    3,492
    NM I finally found the answer. If anybody else should have a need to do this, though, it's here

    http://www.askapache.com/htaccess/se...ect-new-domain

    "RedirectMatch with Wildcards"
    CUSTOM BANNERS by GRAPHICS CANDY ~ Banner Sets and Website Graphics ~ Professional design, reasonable rates
    DESIGNER DOG CHECKS ~ We double-dog dare ya to write one!

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. What are CGI files?
    By ameerulislam10 in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: April 19th, 2011, 12:42 PM
  2. Video Files
    By mailman in forum Programming / Datafeeds / Tools
    Replies: 0
    Last Post: September 17th, 2009, 12:10 PM
  3. read only files
    By henrylair in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: January 23rd, 2008, 05:38 PM
  4. All your files belong to us - Files Held Ransom
    By zendozen in forum Midnight Cafe'
    Replies: 1
    Last Post: May 26th, 2005, 11:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •