>- see footer for list info -<
That would work but really you don't HAVE to do anything. It is just a
Regex expression so you just need to do what matches the minimum
amount to achieve the desired results.

On Fri, Feb 13, 2009 at 2:07 PM, Damien Gallagher <[email protected]> wrote:
>> - see footer for list info -<
>
> Cheers Simon, will give it a go.
>
> If it's a .org.uk domain, do I have to do: (www\.)?domain1\.org\.uk
>
> D
>
>
>
> Simon Baynes wrote:
>>>
>>> - see footer for list info -<
>>>
>>
>> Have you tried:-
>>
>> RewriteCond %{HTTP_HOST}      (www\.)?domain1\.com [NC]
>> RewriteRule ^$   domain1 [NC,L]
>>
>> RewriteCond %{HTTP_HOST}      (www\.)?domain2\.com [NC]
>> RewriteRule ^$   domain2 [NC,L]
>>
>> On Fri, Feb 13, 2009 at 12:44 PM, Damien Gallagher <[email protected]>
>> wrote:
>>
>>>>
>>>> - see footer for list info -<
>>>>
>>>
>>> Hi guys,
>>>
>>> anyone good with ISAPI filters?
>>>
>>> I want to say:
>>>
>>> 1. If we're looking at domain1.com then do this rule
>>>
>>> 2. If we're looking at domain2.com then do this other rule
>>>
>>> I think I have to use the rewriteCond directive but not sure of the
>>> format
>>> after that.
>>>
>>> Cheers, Damien
>>>
>>> --
>>> Betenoir logo   Damien Gallagher, Director
>>> betenoir.net <http://www.betenoir.net>
>>>
>>> [email protected] <mailto:[email protected]>
>>> +44 (0)20 7630 7772
>>> +44 (0)78 1204 3315     *NEW!*
>>> Follow us on twitter:
>>> twitter.com/betenoir_ltd <http://www.twitter.com/betenoir_ltd>
>>>
>>> Subscribe to our blog:
>>> betty-noir.net <http://www.betty-noir.net>
>>> *Content, Communication and Creativity on the Web*
>>>
>>>
>>> _______________________________________________
>>>
>>> For details on ALL mailing lists and for joining or leaving lists, go to
>>> http://list.cfdeveloper.co.uk/mailman/listinfo
>>>
>>> --
>>> CFDeveloper Sponsors:-
>>>
>>>>
>>>> - cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>>>> - Lists hosted by www.Gradwell.com -<
>>>> - CFdeveloper is run by Russ Michaels, feel free to volunteer your help
>>>> -<
>>>>
>>
>>
>>
>>
>
> --
> Betenoir logo   Damien Gallagher, Director
> betenoir.net <http://www.betenoir.net>
>
> [email protected] <mailto:[email protected]>
> +44 (0)20 7630 7772
> +44 (0)78 1204 3315     *NEW!*
> Follow us on twitter:
> twitter.com/betenoir_ltd <http://www.twitter.com/betenoir_ltd>
>
> Subscribe to our blog:
> betty-noir.net <http://www.betty-noir.net>
> *Content, Communication and Creativity on the Web*
>
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
>>
>> - cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>> - Lists hosted by www.Gradwell.com -<
>> - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>



-- 
Simon Baynes
www.simonbaynes.com
LinkedIn profile:- http://www.linkedin.com/in/simonbaynes

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to