Actually they type it in with all sorts of different letters in the context path either lower case or upper case. All upper case is by far the most common because of the caps lock being on I think.
No it does not solve my problem because it gets caught in a loop. If you type in the upper case one it redirects to the lower case but then IIS doesn't distinguish this from the upper case one and redirects again and again. Thus never getting to the one deployed in JRun bound by context which is the application it should hit. The users can't get to my dev machine because it's not open to the world (it's my development machine) plus it's not a production machine and not available all the time. Shawn -----Original Message----- From: Leahy, Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 9:37 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Web application context case Doesn't that solve the problem then? Wasn't the issue users typing the url with lc or uc lettering? Otherwise if you want to run on both Win2K and Win2003, can you not uppercase the incoming URL first and then apply redirection? I'm not familiar with IIS, but redirection is standard webserver functionality so you must have some freedom to manipulate the URLs before redirection. -----Original Message----- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 15:28 To: 'Struts Users Mailing List' Subject: RE: [OT] Web application context case I tried this on my development Win2K box and this worked fine. Then I put it on the system test Win2003 Server box and it just caught itself in a redirect loop that you could never get out of. Apparently IIS on Win2003 Server is not case sensitive. Shawn D. Garner -----Original Message----- From: Leahy, Kevin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 6:45 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Web application context case Can't you configure IIS to redirect www.something.com/WEBAPP requests to www.something.com/webapp ? I don't know how you're set up but I think this would be the task of a webserver administrator? -----Original Message----- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 00:35 To: 'Struts Users Mailing List' Subject: RE: [OT] Web application context case It isn't from a link necessarily. Usually it is because somebody typed it in instead of using the link we provided. Usually they have caps on or they somehow capitalize one letter. I'd like to catch the people that are doing this and have them get the right page. Shawn D. Garner -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, November 09, 2005 5:31 PM To: user@struts.apache.org Subject: Re: [OT] Web application context case Garner, Shawn wrote: > I have a struts webapp on JRun tied to IIS. > > Anyway our application's context root is all lowercase for example > /webapp > > But the stats for our site in the IIS logs say we're getting 404 page > not found errors for the same context only with different case variations. > > So for /WEBAPP, /WebApp for example they get a 404 page not found. > > I tried to google this but was unable to find anything on cases and context > root. > > Anyone know how I can get my webapp to catch the other variations of > lower/upper case letters? URLs are case sensitive so, short of deploying your web application multiple times, you can't. You'll need to identify where these incorrect requests originate, and fix any broken links. L. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- ---- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 ---------------------------------------------------------------------------- ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------ ---------------------------------------------------------------------------- ---- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 ---------------------------------------------------------------------------- ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]