[AOLSERVER] URL case insensitivity.

2002-11-08 Thread Lamar Owen
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

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Janine Sisk
On Friday, November 8, 2002, at 12:51 PM, 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. I

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Patrick Spence
- Original Message - From: Lamar Owen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 08, 2002 10:51 AM Subject: [AOLSERVER] URL case insensitivity. 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

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Lamar Owen
On Friday 08 November 2002 13:05, Patrick Spence wrote: From: Lamar Owen [EMAIL PROTECTED] 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,

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Michael A. Cleverly
On Fri, 8 Nov 2002, 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

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Jamie Rasmussen
Have you tried ns_speling? (I haven't.) Any reason why you couldn't register a preauth filter to handle your problem? Jamie Lamar Owen wrote: There used to be a custom 404/notfound handler module for Aolserver that would give you the option of having it check for case mismatch as part of

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Jamie Rasmussen
It is available from http://www.vorteon.com/download/ It is a short TCL script by David Walker. Roberto Mello wrote: On Fri, Nov 08, 2002 at 06:15:00PM +, Jamie Rasmussen wrote: Have you tried ns_speling? (I haven't.) Any reason why you couldn't register a preauth filter to handle your

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Rob Mayoff
+-- On Nov 8, Lamar Owen said: 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. Write a module that

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Peter M. Jansson
On Friday, November 8, 2002, at 12:51 PM, Lamar Owen wrote: Does anyone know of a solution better than storing the files on a FAT filesystem with Linux doing the case reversion in the filesystem layer? If you run it on Mac OS X off of an HFS+ partition, you'll get the case-insensitive,

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Jim Wilcoxson
Here is a TCL hack to serve files w/o case sensitivity (not tested): ns_register_proc GET / servit ns_register_proc POST / servit ns_register_proc HEAD / servit proc servit {conn ignore} { set url [string tolower [ns_conn url]] if {[file exists [ns_info pageroot]$url]} { ns_returnfile

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Peter M. Jansson
On Friday, November 8, 2002, at 01:43 PM, Jim Wilcoxson wrote: Here is a TCL hack to serve files w/o case sensitivity (not tested): That works when the problem is people entering http://someserver/FOO; rather than http://someserver/foo;, but it won't help the case where someone entered the

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Andrew Piskorski
On Fri, Nov 08, 2002 at 11:19:09AM -0700, Michael A. Cleverly wrote: On Fri, 8 Nov 2002, Andrew Piskorski wrote: And 'ns_conn request' gives you the URL as received from the client, but AFAIK there's no API to let you change it. The aol3.3+ad13 distribution has an nsrewrite .so module that

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Peter M. Jansson
On Friday, November 8, 2002, at 02:05 PM, Jim Wilcoxson wrote: But in the problem definition, all files were stored in lowercase on disk. :) Sorry about that. I had my brain filters on when reading.

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Lamar Owen
On Friday 08 November 2002 13:43, Jim Wilcoxson wrote: Here is a TCL hack to serve files w/o case sensitivity (not tested): I might give that a whirl later. The loopback-mount VFAT works, and works well, as long as you remember VFAT's root directory limits on number of files. Basically:

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Tom Jackson
Michael A. Cleverly wrote: The aol3.3+ad13 distribution has an nsrewrite .so module that enables this, iirc. This module is like the best thing since sliced bread, so simple yet so good. :) --Tom Jackson