Alias which works like in other web servers

marc at marc at
Sun Aug 5 14:11:57 MSD 2007


Apache:  Alias /blog "/var/www/wordpress"

lighttpd: alias.url = ( "/blog" => "/var/www/wordpress" )

Both work pretty much the same way, no special handling of fastcgi or 
other rules are needed.

The "document root" effectively becomes that of the alias destination 
directory on such requests.


Igor Sysoev wrote:
> On Sun, Aug 05, 2007 at 10:41:50AM +0100, marc at wrote:
>> Would it not be wise to create a type of alias that most people are 
>> comfortable with (and think is logical, due to their previous experience 
>> with other web servers) ?
>> It seems that such an alias would simplify configurations of this type, 
>> which to me look pretty common and useful.
> Well, how you will configure this in Apache or lighty ?

More information about the nginx mailing list