Answer the question
In order to leave comments, you need to log in
Error pages in htaccess file?
The site on the hosting and ErrorDocument does not work
In the admin panel, you can specify ERROR PAGES, but with certain restrictions.
I'm thinking of doing this in htaccess.
RewriteRule ^errors/401$ errors.php?e=401
RewriteRule ^errors/403$ errors.php?e=403
RewriteRule ^errors/404$ errors.php?e=404
RewriteRule ^errors/500$ errors.php?e=500
errors/401
errors/403
errors/404
errors/500
Array ( )
<?
print_r($_GET);
exit;
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question