We have in a htaccess file: ErrorDocument 404 /404.shtml Which works to show the 404.shtml file.The problem is when someone types thedomain.com/folder1/folder2, it breaks the layout as the page is
If i have a rewrite rule setup to get any name that is not a file and display the page-layout-select.php
I am running the apache2 webserver in the linux environment.I want to redirect the users to customized error pages.So have created the error pages & created the symbolic link in the htdocs also li
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 woul
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 th
I am working on a web app that I\'m running on Tomcat 6.0.18, and I am using Apache 2 as a reverse proxy.This works fine.I\'m also trying to get Apache to display error pages when, for example, I\'ve
Can anyone advise please?I\'d like to have the default page for visitors to my site as being index.php and for all non-existent pages the visitor should see errordoc.php
My environment is: shared hosting with PHP 5.2 installed as apache2handler I have ErrorDocuments configured:
Im trying to load a custom error document for a 404 error using a .htaccess file on a linux server, the page gets the current page URL then redirects to another site (which is retrieved from a db) bas
I have a number of ErrorDocuments setup in my .htaccess file for errors such as 404, 401, 403 etc which all redirect to my error page but the ErrorDocument set for a 500 error is never displayed when