We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a331266 commit 977200bCopy full SHA for 977200b
en/getting-started/maintenance/securing-modx.md
@@ -34,6 +34,12 @@ RewriteCond %{HTTP_HOST} ^(www\.)?example\.com$ [NC]
34
RewriteRule ^(\.(?!well_known)|_build|_gitify|_backup|core|config.core.php) /index.php?q=doesnotexist [L,R=404]
35
```
36
37
+To show your error page, you need to specify the path to it in .htaccess, for example:
38
+
39
+```
40
+ErrorDocument 404 /404
41
42
43
For NGINX, add the following to your web rules which will pass the rewrites to the MODX error handler:
44
45
0 commit comments