#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    I'm using a Cobalt RAQ 2 server with Linux, and I was wondering -- is it possible to make a file point to a URL? For example, if I have a file named www.mysite.com/file.tar,
    when somebody requests it I'd like my server to transparently redirect them to www.othersite.com/otherfile.tar. I'd really like it to be transparent and unnoticable to the user. Is that possible, using a .htacces file or something? I've seen it done on FTP sites, and I was wondering about Web sites.

    Thanks,
    Ishamael
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    http://www.mysite.com/file.tar

    #http://www.mysite.com/.htaccess

    RedirectMatch (.*).tar$ http://www.othersite.com/$1.tar
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    Thanks, it works wonderfully! But where did you learn that? Is there some sort of .htacces reference manual somewhere that I could look at?

    Thanks,
    Ishamael
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)

IMN logo majestic logo threadwatch logo seochat tools logo