struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leahy, Kevin" <Kevin.Le...@drkw.com>
Subject RE: [OT] Web application context case
Date Thu, 10 Nov 2005 00:44:47 GMT
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:shawn.garner@pearson.com] 
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:news@sea.gmane.org] 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

****************************************************************************
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


--------------------------------------------------------------------------------
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message