[BlueOnyx:07456] Re: Latest YUM update - round two

Michael Stauber mstauber at blueonyx.it
Wed Jun 15 23:04:13 -05 2011


Hi Darrell,

> Any update on the host.domain.tld vs. domain.tld issue?

Actually I just finished the work on that one. It's hitting the YUM 
repositories now (another base-apache and a base-vsite update).

Once installed, you will see a new checkbox under "Services" / "Web" of each 
site. It's called "Web Alias Redirects".

If a site has multiple 'Web Server Aliases', then two kinds of behaviours are 
possible: 

(a) An URL request to a 'Web Server Alias' URL will redirect to the main sites 
URL. This is the default for all new sites and restores the old behaviour from 
sometime last year.

(b) An URL request to a 'Web Server Alias' will not redirect to the main sites 
URL. Instead the alias will look like an independent site on its own.

If the checkbox is ticked, any call to a web server alias will go to the main 
URL of the site instead.

If you have plenty of sites on a server and want to change the behaviour of 
all sites, you can now do so from the command line with this script:

/usr/sausalito/sbin/web_alias_redirects.pl 

Usage:
======

/usr/sausalito/sbin/web_alias_redirects.pl --enabled
/usr/sausalito/sbin/web_alias_redirects.pl --disabled

That will enable or disable "Web Alias Redirects" for all sites in one go.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list