Hi,
I’m a first timer in ModX or Etomite. This is the first time I ever try this kind of CMS that give me a lot of room to modify the CMS as a developer.
I installed the latest release, version 0.9.0, and it all works just fine so far. The only thing that bother me is the document not found error redirection setting. I set the error redirection on system configuration setting to an id of a page, but for some reason, if I start using a sub folder such as root.domain/subfolder/unknown.page, it will return the modX document parse error page. The address of it seems to follow the alias name and it was prefixed by the subfolder.
Here is the detailed example:
1. Accessing
http://root.domain/unknown.page
2. Being redirected to document id number 3, with alias named 404.htm.
3. Page was displayed with the address
http://root.domain/404.htm?refurl=%2Findex.php%3Fq%3Dunknown.page&err=1
(Here is the problem on sub folders)
1. Accessing
http://root.domain/subfolder/unknown.page
2. Suppose to be being redirected to document id number 3, with alias named 404.htm.
3. What happened is, it was directed to the address
http://root.domain/subfolder/404.htm?refurl=%2Findex.php%3Fq%3Dunknown.page&err=1
It seems to me that the system fetch the document based on the error page id being set in the configuration setting, and it fetch the alias named. After that it will append the alias name relative the error page path.
The same scenario happen, when I used subfolder under subfolder, such as
http://root.domain/subfolder/subsubfolder/unknown.page
The setting that I used for friendly url is on to all the option that are available, except for the autmatically generated alias. I tried to disabled friendly url, and it still displaying the same problem.
Is this a common behavior on modX?
Thank you