On Fri, Nov 08, 2002 at 12:51:58PM -0500, Lamar Owen wrote:
> This may be an obvious one, but I'm trying to move a site over from an IIS
> host to an AOLserver one, and the web pages link to mixed-case filenames.
> However, the filenames are all actually lower case, meaning I get a lot of
> 404's.
>
> With IIS this works fine. Broken, perhaps -- but it works.  There are several
> thousand pages involved, and we want to mirror the two sites.  Changing all
> the links is not an option due to many factors. :-(.

Well, you could definitely write some Tcl to hijack all incoming
requests and handle them all completely yourself, the way the OpenACS
4.x request processor todes.  Depending on how fancy the stuff is you
need to serve, that probably could be pretty easy or pretty annoying.

For something that ties in more transparently to the normal AOLserver
request servicing pipeline, I was going to suggest registering a
filter and transparently modify the contents of the ns_set returned by
'ns_conn headers', before it gets processed anywhere else by
AOLserver.  But oops, of course, the HTTP URL isn't part of the
headers, so that won't work.  And 'ns_conn request' gives you the URL
as received from the client, but AFAIK there's no API to let you
change it.

--
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com

Reply via email to