|
Nancy -> RE: Custom error pages & .htaccess problem (7/11/2004 17:34:31)
|
This topic intrigued me because I have a custom 404 error page, however I've always done it using the control panel. I then searched for the .htaccess file and although there is one in the root, I didn't see where it refers at all to the custom error pages. Next, while looking at the .htaccess file, I did see reference to FP. Since I thought I didn't have the FP extensions installed, I went to that section of the control panel to double check. I was correct - they are not installed, but I came across this message in the area to install them: "Installing or uninstalling FrontPage Extensions will result in the loss of all .htaccess files in your web area." Since I don't know if you have them installed or not, I thought I would mention this. It has been my understanding that: 1. if you have FP extensions installed, and if you publish your site using FP's publish feature, you likely will not be able to create and use your own .htaccess file. 2. FP extensions use their own implementation of .htaccess and it gets overwritten each time you publish. I also noticed while checking things out that my hosting service requires the extension to be .shtml for the error pages. Possibly each hosting service has their own little quirks about some of this. So, let me finish by saying (again) that I've always just used the control panel. Mine looks somewhat different than the above screenshots, but the same basic idea. I have just made my page and then just copied/pasted the html into the window that appears. I do make absolute references to images so that the custom error page works with any directory in the site. Hope this helps in some fashion. Nancy
|
|
|
|