wendy Reply #1, 6 years, 4 months ago
EDITED
Hi guys, I make this as an official hack from me to MODx. Waiting for the core team to decide whether it's going to be implemented for the future release or not.
This hack will allow multiple domains to be hosted on one MODx installation base. Manager able to setup the desired strart doc id and error doc id for each subsites under System Settings configuration page. This mostly affect friendly alias path that is being turned on.
Now it provides root folder for the subsites to be located anywhere, without the needs to located them right on the first level or root level. The alias itself can be anything as well, doesn't have to be the domain/subdomain name.
It has been tested for several minutes by me. If somebody willing to test this further, it will be great.
PS: Modification doesn't affect any usability of using other resources created for MODx, due to the fact this hack changes all the needed API to keep everything act as if there is no modification at all.
Here is a little scrrenshot for the system setting page

Hi guys, I make this as an official hack from me to MODx. Waiting for the core team to decide whether it's going to be implemented for the future release or not.
This hack will allow multiple domains to be hosted on one MODx installation base. Manager able to setup the desired strart doc id and error doc id for each subsites under System Settings configuration page. This mostly affect friendly alias path that is being turned on.
Now it provides root folder for the subsites to be located anywhere, without the needs to located them right on the first level or root level. The alias itself can be anything as well, doesn't have to be the domain/subdomain name.
It has been tested for several minutes by me. If somebody willing to test this further, it will be great.
PS: Modification doesn't affect any usability of using other resources created for MODx, due to the fact this hack changes all the needed API to keep everything act as if there is no modification at all.
Here is a little scrrenshot for the system setting page

