Re: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Dmitriy Gorbenko
Joshua Slive пишет: On 4/14/07, Joshua Slive <[EMAIL PROTECTED]> wrote: That's relatively easy. In the first vhost, use something like ServerAlias 1*.domain.com 2*.domain.com 3*.domain.com ... I forgot to say, you'll also need to reorder the two sections, because requests that don't match an

Re: Re[2]: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Joshua Slive
On 4/14/07, Joshua Slive <[EMAIL PROTECTED]> wrote: That's relatively easy. In the first vhost, use something like ServerAlias 1*.domain.com 2*.domain.com 3*.domain.com ... I forgot to say, you'll also need to reorder the two sections, because requests that don't match any ServerName/ServerAl

Re: Re[2]: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Joshua Slive
On 4/14/07, Dmitriy Gorbenko <[EMAIL PROTECTED]> wrote: The problem in that I should process domains like [0-9]*.domain.com by one way, and domain names like [a-z]{3}.domain.com by another. This what I need: ServerName [0-9]*.domain.com ProxyRequests Off ProxyPass / htt

Re[2]: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Dmitriy Gorbenko
megaspaz пишет: Serveralias supports * but I'm not sure if it supports the regex you want, but if it's one vhost, then ServerAlias *.some.domain should work for you. On Saturday 14 April 2007 11:05 am, Dmitriy Gorbenko wrote: Hi all I would like to create a VirtualHost to process domain n

Re: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread megaspaz
Serveralias supports * but I'm not sure if it supports the regex you want, but if it's one vhost, then ServerAlias *.some.domain should work for you. On Saturday 14 April 2007 11:05 am, Dmitriy Gorbenko wrote: > Hi all > > I would like to create a VirtualHost to process domain names such as > [0

[EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Dmitriy Gorbenko
Hi all I would like to create a VirtualHost to process domain names such as [0-9]*.some.domain. Currently, ServerName directive did not support regular expressions, but maybe I can do it by another way ? Thanks. - The offi