[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Redirect of subdomains
- Subject: Re: [cobalt-users] Redirect of subdomains
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Tue Oct 31 17:08:34 2000
- Organization: nobaloney.net
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
NetHut: Per Magne Knutsen wrote:
> Hello,
>
> Has anyone a solution to redirect subdomains to subdirectories with IP
> based hosting on the Raq3?
>
> For example, I have the host sub.domain.com pointing to the same IP as
> www.maindomain.com, but I want Apache to redirect requests for
> sub.domain.com to www.maindomain.com/sub
>
> I have a script that I have used successfully before on Linux boxes (see
> below), but I can't get it working on the Raq3.
Looks like a lot of work. Why not just change DocumentRoot to the right
subdirectory?
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205