Mapping a domain to a subdirectory?

Skip Montanaro skip at mojam.com
Wed Oct 6 18:14:33 UTC 1999


    >> Is it possible to map a domain name to a subdirectory on another
    >> server?  For example, I have a customer who would like to register
    >> www.foo.com and have it pointed to www.bar.com/~username

    Joe> there are ways that Apache can cue on the incoming name to go to
    Joe> different directories.

The sharpest knife in Apache's drawer in this case is mod_rewrite.  Check
out:

    http://www.engelschall.com/pw/apache/rewriteguide/

Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/
847-971-7098   | Python: Programming the way Guido indented...


More information about the bind-users mailing list