Re: Implementing Referer check - HTTP Header
florent andré <[email protected]> Wed, 30 Mar 2011 00:49:45 +0200
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Gaurav, May use this documentation http://cocoon.apache.org/2.1/userdocs/core/wildcardheader-matcher.html (but ok, it's the same for this page). 2 questions : 1) are you sure that your request contain a referer field ? 2) can you send snipet of code for matcher component component configuration and of your pipeline ? ++ On 03/29/2011 01:03 PM, Gaurav Kalia wrote: > Hi All > > I want to implement to the referer check for my match pattern. I think > there is something available in cocoon. > > Please see the link below: > > http://cocoon.apache.org/2.0/userdocs/matchers/wildcardheader-matcher.html > > According to the documentation i have added the matcher entry in sitemap > and added *type="referer-match"* . But after adding this i am getting an > error "No pipeline match found" although it works fine without it. > > I also tried adding the hostname to the match pattern but no luck. > > Please suggest if i am missing something. > > TIA > > Regards > Gaurav > > -- > Gaurav > Web Development > Techblue Softwares& Technology Blueprint Ltd > > T : 08450047142 Extn: 5102 > E :[email protected] > W :www.techblue.co.in > www.technologyblueprint.co.uk > > Confidentiality Notice > > The contents of this email are confidential and may be privileged, and > are intended only for the use of the person or company named herein. Any > views or opinions presented are solely those of the author and do not > necessarily represent those of Techblue software or Technology Blueprint > Limited. > > If you are not the intended recipient of this email or a person > responsible for delivering it to the intended recipient, you are hereby > notified that any distribution, copying or dissemination of the > information herein is strictly prohibited. > >