rewrite catch all subdomain

Pedro Axl lists at ruby-forum.com
Mon Mar 17 21:39:57 MSK 2008


Hi,

Something strange is happening. I try all things you have suggested, and 
try exacly the example that's in nginx wiki 
(http://wiki.codemongers.com/NginxVirtualHostExample) and I simply can't 
make things work.

Is there anything I have to do in the DNS records or something like?



Cherife Li wrote:
> Igor Sysoev wrote:
>> On Tue, Mar 11, 2008 at 08:37:24PM +0800, Cherife Li wrote:
>> 
>>> (.*\.)?\.domain\.com
>> 
>> No.
>> First, in this version regex can not be first name too.
>> Second, .domain.com is not valid name.
> Oh, yeah, I meant (.*\.)?domain\.com.
>> Third, domain.com should be handled in another server.
> Got it. :-)
> 
> Sorry, Pedro.

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list