Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 79885 invoked from network); 17 Feb 2010 09:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 09:36:55 -0000 Received: (qmail 42949 invoked by uid 500); 17 Feb 2010 09:36:54 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 42869 invoked by uid 500); 17 Feb 2010 09:36:53 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 42855 invoked by uid 99); 17 Feb 2010 09:36:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 09:36:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [81.187.111.11] (HELO solo.techblue.co.uk) (81.187.111.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 09:36:42 +0000 Received: from [61.246.33.27] (helo=[192.168.1.30]) by solo.techblue.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1NhgKE-0001Qa-5Z; Wed, 17 Feb 2010 09:36:22 +0000 Message-ID: <4B7BB882.6020105@techblue.co.uk> Date: Wed, 17 Feb 2010 15:06:02 +0530 From: Anish Sneh User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: users@cocoon.apache.org, user@lenya.apache.org Subject: Server side functionality - based upon the URL (Domain/Virtual Host) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: solo.techblue.co.uk has scanned this email for spam. Results:- AWL=-1.470, BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188, RCVD_IN_PBL=0.905, RDNS_NONE=0.1 (total 0.1, current threshold 4.0) X-Virus-Checked: Checked by ClamAV on apache.org Hi All 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. TIA -- Anish Sneh Software Engineer Techblue Softwares Pvt. Ltd. www.technologyblueprint.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org