You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Atkins <br...@posthuman.com> on 1998/01/10 08:03:27 UTC

converting to lowercase with mod_rewrite

I am asking here in the hope that someone can answer... I asked
on the newsgroup, but no luck. In order to completely perfect
our "fake" vhosts setup which uses mod_rewrite to change incoming
subdomain requests to users' directories on our server we need
to find a way to handle requests for upper-case subdomains.
i.e. if someone requests BRIAN5.hypermart.net we need for
mod_rewrite to map that to /data1/hypermart.net/brian5/ instead
of /data1/hypermart.net/BRIAN5

Any ideas or should we start hacking code again?
-- 
The future has arrived; it's just not evenly distributed.
                                                       -William Gibson
______________________________________________________________________
Visit Hypermart at http://www.hypermart.net for free business hosting!

Re: converting to lowercase with mod_rewrite

Posted by Brian Atkins <br...@posthuman.com>.
Cool! I should have searched that before posting...
Thanks

Dean Gaudet wrote:
> 
> Check out PR#1628 and PR#1631 ... someone has already done the work :)
> 
> http://bugs.apache.org/index/full/1628
> http://bugs.apache.org/index/full/1631
> 
> I haven't looked at the patches... but I imagine we could be convinced to
> do this in 1.3.
> 
> Dean
> 
> On Sat, 10 Jan 1998, Brian Atkins wrote:
> 
> > I am asking here in the hope that someone can answer... I asked
> > on the newsgroup, but no luck. In order to completely perfect
> > our "fake" vhosts setup which uses mod_rewrite to change incoming
> > subdomain requests to users' directories on our server we need
> > to find a way to handle requests for upper-case subdomains.
> > i.e. if someone requests BRIAN5.hypermart.net we need for
> > mod_rewrite to map that to /data1/hypermart.net/brian5/ instead
> > of /data1/hypermart.net/BRIAN5
> >
> > Any ideas or should we start hacking code again?
> > --
> > The future has arrived; it's just not evenly distributed.
> >                                                        -William Gibson
> > ______________________________________________________________________
> > Visit Hypermart at http://www.hypermart.net for free business hosting!
> >

-- 
The future has arrived; it's just not evenly distributed.
                                                       -William Gibson
______________________________________________________________________
Visit Hypermart at http://www.hypermart.net for free business hosting!

Re: converting to lowercase with mod_rewrite

Posted by Dean Gaudet <dg...@arctic.org>.
Check out PR#1628 and PR#1631 ... someone has already done the work :)

http://bugs.apache.org/index/full/1628
http://bugs.apache.org/index/full/1631

I haven't looked at the patches... but I imagine we could be convinced to
do this in 1.3. 

Dean

On Sat, 10 Jan 1998, Brian Atkins wrote:

> I am asking here in the hope that someone can answer... I asked
> on the newsgroup, but no luck. In order to completely perfect
> our "fake" vhosts setup which uses mod_rewrite to change incoming
> subdomain requests to users' directories on our server we need
> to find a way to handle requests for upper-case subdomains.
> i.e. if someone requests BRIAN5.hypermart.net we need for
> mod_rewrite to map that to /data1/hypermart.net/brian5/ instead
> of /data1/hypermart.net/BRIAN5
> 
> Any ideas or should we start hacking code again?
> -- 
> The future has arrived; it's just not evenly distributed.
>                                                        -William Gibson
> ______________________________________________________________________
> Visit Hypermart at http://www.hypermart.net for free business hosting!
>