On Thu, 31 Aug 2000, martin langhoff wrote:

> 
> the mod_perl related background:
> 
>       I was recently asked if one of the domains we were hosting could have
> its users folders mapped in the domain name. Something like
> folder.domain.com, instead of domain.com/folder . My silly mind tumbled
> around, mumbling at which apache request I was going to catch the domain
> and turn it into a subrequest, and I mumbled 'yes, of course'. 
> 
> the catch:
> 
>       As you may have imagined, it maybe trivial to do in Apache (I haven't
> done it yet, but I hope it is). What is not trivial is to trick BIND
> into saying it knows as many domains as folders I want. Or is it?
> 
> the question:
> 
>       Is it possible to tell BIND to catch *.domain.com and answer the same
> ip? 

Yes, I believe the entry is simply *.domain.com!

Then use mod_rewrite to map the right folder.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org

Reply via email to