Print this 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.


Previous page: Site Prefix
Next page: suPHP