tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: banner reserved URL ??
Date Fri, 11 May 2007 02:34:56 GMT
Cocoon typically tries to handle all requests so chances are it's 
cocoon's fault.  Check your sitemap.xmap files for where it handles the 
pattern "**/banner".  Also the cocoon list would be much better at 
helping you figure this out.

--David

Jerome Benezech wrote:
> I might be using the wrong terms rather.
> mycocoonwebapp is the cocoon context. The cocoon
> servlet matches /cocoonwebapp/*
>
> The weird thing is that any URL is caught by cocoon
> fine but URLs ending with banner....So
> http://www.domain.com/mycocoonapp/index.html : cocoon
> OK
> http://www.domain.com/mycocoonapp/anything : cocoon OK
> http://www.domain.com/mycocoonapp/anything/anything:
> cocoon OK
> http://www.domain.com/mycocoonapp/banner : TOMCAT NOT
> OK
> http://www.domain.com/mycocoonapp/anything/banner :
> TOMCAT NOT OK
>
> I have declared nothing special regarding a banner URL
> in my webapp so I guessed it came from Tomcat.
>
> Thanks for your help. I'll contact the sys admin as my
> app is hosted on a shared server (and I have no access
> to tomcat conf), see if he did anything special....
> Maybe it's a policy of the provider regarding
> advertisement or some stuff like that ?????
>
>
>
>
> --- Christopher Schultz <chris@christopherschultz.net>
> wrote:
>
>   
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Jerome,
>>
>> Jerome Benezech wrote:
>>     
>>> Is the context 'banner' reserved in tomcat 5.5.9 ?
>>> I have a cocoon app running under tomcat and the
>>>       
>> URL
>>     
>>> http://www.domain.com/mycocoonapp/banner is not
>>>       
>> caught
>>     
>>> by the cocoon servlet but by tomcat instead....
>>>       
>> Unless you have a nonstandard configuration,
>> "mycocoonapp" is the
>> context in this case, not "banner". Could that be
>> the problem? I believe
>> you want all of your Cocoon pipeline mappings to
>> start with "/banner",
>> not "/mycocoonapp", since Cocoon removes the context
>> name from the URL
>> before it matches anything.
>>
>> - -chris
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.7 (MingW32)
>> Comment: Using GnuPG with Mozilla -
>> http://enigmail.mozdev.org
>>
>>
>>     
> iD8DBQFGQw1B9CaO5/Lv0PARAkoWAKC0cUvlKqWbHaHcCSnUObr+Lr47XQCeOkeH
>   
>> pEFKibdPxC9SJnGUKUIn7jo=
>> =9r/S
>> -----END PGP SIGNATURE-----
>>
>>
>>     
> ---------------------------------------------------------------------
>   
>> To start a new topic, e-mail:
>> users@tomcat.apache.org
>> To unsubscribe, e-mail:
>> users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail:
>> users-help@tomcat.apache.org
>>
>>
>>     
>
>
> Jerome Benezech
> jbenezech@yahoo.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message