Error Page Handling with Apache
Posted: Wed May 25, 2005 6:20 pm
Don't know if this would go here or in the Apache forum.
In any case, here's the deal. I'd basically like to add a line like this:
ErrorDocument 404 /error/all.php?code=404
Now the only way I can think of to do something like this is to do it the opposite way. Have a top and bottom file and include those from the 404.php page.
If I have to do this, so be it, but I was hoping there'd be a better way to pass a variable somehow. Ideas?
In any case, here's the deal. I'd basically like to add a line like this:
ErrorDocument 404 /error/all.php?code=404
Now the only way I can think of to do something like this is to do it the opposite way. Have a top and bottom file and include those from the 404.php page.
If I have to do this, so be it, but I was hoping there'd be a better way to pass a variable somehow. Ideas?