[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lenya-user
Subject:    Re: Server side functionality - based upon the URL (Domain/Virtual
From:       Anish Sneh <anish.sneh () techblue ! co ! uk>
Date:       2010-02-17 15:53:41
Message-ID: 4B7C0E35.8090805 () techblue ! co ! uk
[Download RAW message or body]

Thanks Andreas

Input module (RequestModule) worked :)



Andreas Hartmann wrote:
> Hi Anish,
>
> Am 17.02.10 10:36, schrieb Anish Sneh:
>> I need to apply a server side functionality which will be based upon the
>> URL (Domain/Virtual Host) for which the request is coming. e.g. if the
>> request is coming for www.abc.com server should treat it differently,
>> else if it is coming for www.xyz.com or www.abc.ca it should be treated
>> differently.
>>
>> I wanted to achieve this using XSLT (if possible), please suggest how
>> can I achieve this.
>
> maybe this helps:
>
> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/RequestModule.html 
>
>
> If you're using a proxy, this might be more complicated since you 
> probably have to evaluate the x-forwarded-for header (it contains the 
> remote IP address, though, not the domain name).
>
> -- Andreas
>
>


-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic