errordocument Questions

5

Solved

Is there something like a wildcard directive to catch all possible errors and deal with them in a single custom error page? ErrorDocument 404 /error.php?code=404 ErrorDocument 403 /error.php?code=...
Dittmer asked 10/4, 2010 at 0:27

6

Solved

Is there a way to send the request URI along to the 404 page as a URL variable? For instance, if I forward my 404's with an ErrorDocument directive, is there a way to do something like this? This i...
Bison asked 26/1, 2013 at 1:52

3

I tried all I found at apache documentation and other sugestions found at stackoverflow and blogs. When I add the folloowing line to any configuration file like /etc/apache2/apache2.conf or /etc/ap...
Renita asked 21/10, 2014 at 14:38

4

Is something like this possible in Apache ... (i.e. redirect to an external url with the path causing the 403 error passed along) ErrorDocument 403 http://www.sample.com/{{REDIRECT_URL}}
Palladic asked 7/6, 2012 at 20:13

2

Solved

I have a bunch of ErrorDocument directives in my .htaccess file in order to catch almost all the possible errors Apache can throw at a user, and to redirect said user to my error controller which w...
Voltmeter asked 23/4, 2011 at 16:12

5

I have a custom 404 page which works fine except for the message I want to display on this page. I would like it to say the url of the page which can't be found but instead it displays the url of ...
Ploss asked 14/4, 2011 at 12:47
1

© 2022 - 2024 — McMap. All rights reserved.