P
P
protasovmikhail2015-07-06 18:54:30
Apache HTTP Server
protasovmikhail, 2015-07-06 18:54:30

How to catch any error in .htaccess?

ErrorDocument ERROR_NUMBER PATH/SOLUTIONS
ErrorDocument 404 err/e404 - (for example)
Is it possible, somehow, by entering something like ErrorDocument * err/some_err, to catch an undefined error and call a specific method ? (there is no problem with the call, but the above syntax causes an apache2 error)
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2015-07-06
@protasovmikhail

There are examples in the documentation httpd.apache.org/docs/2.2/custom-error.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question