Welcome! Log In Create A New Profile

Advanced

Re: Arbitrarily slicing $server_name into subdomains?

Tobia Conforto
January 14, 2010 06:14PM
Igor Clark wrote:
> Thanks Tobia. That makes sense, though it makes the obsessive tidier inside me a bit uncomfortable ;-) It would be great to be able to do a real arbitrary list, I wonder if there's a way to do that?


What's the problem? The multiple ///? They are normalized at the OS level! Or maybe it's the upper limit to the subdomains? Do you need more than 9 subdomains?

merlin corey wrote:
> a simple application that just does routing the way you want. 20 line or less python script including the fastcgi and daemonize

Sure. But I still like my regexp better. It does exactly what he needs, it's simpler (2 lines of code), fewer points of failure, and it's surely faster (libpcre, already compiled into nginx)

Tobia
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Arbitrarily slicing $server_name into subdomains?

Igor Clark January 06, 2010 02:28PM

Re: Arbitrarily slicing $server_name into subdomains?

Igor Clark January 06, 2010 02:46PM

Re: Arbitrarily slicing $server_name into subdomains?

Tobia Conforto January 08, 2010 10:34AM

Re: Arbitrarily slicing $server_name into subdomains?

Igor Clark January 09, 2010 04:10PM

Re: Arbitrarily slicing $server_name into subdomains?

merlin corey January 11, 2010 02:24PM

Re: Arbitrarily slicing $server_name into subdomains?

merlin corey January 11, 2010 02:26PM

Re: Arbitrarily slicing $server_name into subdomains?

Igor Clark January 14, 2010 05:36PM

Re: Arbitrarily slicing $server_name into subdomains?

merlin corey January 14, 2010 06:00PM

Re: Arbitrarily slicing $server_name into subdomains?

Igor Clark January 15, 2010 02:20PM

Re: Arbitrarily slicing $server_name into subdomains?

Tobia Conforto January 14, 2010 06:14PM

Re: Arbitrarily slicing $server_name into subdomains?

Igor Clark January 15, 2010 02:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready