Results 1 to 2 of 2

Thread: Server Global Alias Question

  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635

    Server Global Alias Question

    Does anyone know if it is possible to global alias one directory for example..

    http://www.domain.com/directory1/

    To a new domain, under a new directory name like this..

    http://www.domainabcdefgh.com/newdirectory/

    Whilst still making sure all the content of the original /directory1/ are viewable / editable from the original directory itself and any subsequent directorys under the main /directory1/ ?

    Regards,

    Lee


  2. #2
    JustMe
    Guest
    Greetings:

    Sure, this is very easy to do with mod_rewrite.

    You simply need to think of it in the reverse,

    http://www.domainabcdefgh.com/newdirectory/

    is a mirrored proxy link for

    http://www.domain.com/directory1/

    A simple ruleset that would redirect EVERYTHING in the dirs and everything under them would be:

    ^aliaspath(.*) staticpath$1


Posting Permissions

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