Broken Site Access and domain name capitalization?
I just started messing around with some of my Domain names trying caps in the name and broke right through the Site Access product. So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before checking it? Anyone done this or shall I forge ahead? Thanks, J
"J. Atwood" wrote:
So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before checking it?
string.lower()? ;-) cheers, Chris
That is what I thought (believe it or not). I was wondering if anyone had done it or figured out another solution. Will try it this morning (tough to do since can't deal with versions). J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Sun, 20 Aug 2000 17:18:20 +0100 To: "J. Atwood" <jatwood@bwanazulia.com> Cc: zope@zope.org Subject: Re: [Zope] Broken Site Access and domain name capitalization?
"J. Atwood" wrote:
So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before checking it?
string.lower()? ;-)
cheers,
Chris
"J. Atwood" wrote:
That is what I thought (believe it or not). I was wondering if anyone had done it or figured out another solution. Will try it this morning (tough to do since can't deal with versions).
Our access rules use this AFAIK, adn it works fine :-) cheers, Chris
participants (2)
-
Chris Withers -
J. Atwood