Hi guys, here is the testing site to try on
http://test.djamoer.net/
http://test1.djamoer.net/
Notice the link for dropdownmenu on the right site. You can see that it will automatically truncate the front alias, when you’re on test1.djamoer.net. It will aso set the starting page and error page to the document that has that alias the same with the domain being used.
Anyway, feel free to look around, you can enabled or disabled this on manager site setting, which have 2 addition for enabling/disabling, as well as determine the main domain for the site.
Known issue, the hack can’t differentiate between www.test1.djamoer.net and test1.djamoer.net. It can be fixed with a few addition to the code, but I’m just way too lazy, so I use mod rewrite to make sure that all the incoming www.test1.djamoer.net will directed to test1.djamoer.net