[BlueOnyx:07960] Re: Web Alias Redirect
Michael Stauber
mstauber at blueonyx.it
Tue Aug 2 15:20:47 -05 2011
Hi Rashid,
> For the very first time, I noticed a check box called web alias redirect.
>
> What does that do?
That's explained here:
http://www.blueonyx.it/index.php?page=web-alias-redirects
A new checkbox has been added 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:
* 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.
* 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