php-mpos/public/.htaccess
Sebastian Grewe 13c06715fc [IMPROVED] Adding customizable error page to MPOS
* `.htaccess` is used to re-define the error documents
* redirects to `index.php?page=error&action=<code>`
* does not work for MPOS inside subfolders yet

Addresses #734. If this works we can add this to all the other themes.
2013-10-19 09:16:57 +02:00

5 lines
146 B
ApacheConf

ErrorDocument 404 /index.php?page=error&action=404
RedirectMatch 404 /templates(/|$)
RedirectMatch 404 /include(/|$)
RedirectMatch 404 /.git(/|$)