I am using cpanel from my webpage. Go to Error pages so that you can create your new error page. You can use severl request commands to display information reguarding the users information and what type of error page they generated. The commands are:
Next go to your zencart site in admin>tools>ez pages. Create a new page and you can use the commands to create any style page you want to display the error page the yeah you want. This is what I used.<!--#echo var="HTTP_REFERER" -->
<!--#echo var="REMOTE_ADDR" -->
<!--#echo var="REQUEST_URI" -->
<!--#echo var="HTTP_HOST" -->
<!--#echo var="HTTP_USER_AGENT" -->
<!--#echo var="REDIRECT_STATUS" -->
I also placed in the title of the expage the error name and the error command to place the code in the title as following.<p><b><font size="5" face="Tahoma">Forbidden <!--#echo var="REDIRECT_STATUS" --></font></b></p>
<p><font face="Tahoma" size="2"><!--#echo var="HTTP_HOST" --><!--#echo var="REQUEST_URI" --></font></p>
<p><font face="Tahoma" size="2">Your Browser and IP information has been logged.</font></p>
<p><font face="Tahoma" size="2" color="#FF0000">1. <!--#echo var="HTTP_USER_AGENT" --><br>
2. <!--#echo var="REMOTE_ADDR" --></font></p>
<p><font face="Tahoma" size="2">Sorry for the inconvenience, please use the
categories column and/or the search bar to help you find what you are looking
for. You can also use <font color="#0099FF"><b>
<a href="http://www.batteriesinaflash.com/index.php?main_page=page&id=12&chapter=0" style="text-decoration: none">
Battery Central</a> </b></font>to help find batteries for laptops, cell phones, ipods, mp3 player, digital
cameras, camcorders, dvd players and power tools</font></p>
<p><font face="Tahoma" size="2">Thank you,<br>
Team BatteiesInAFlash.com, Inc.</font></p>
Save the ezpage and make sure it can reached for the sidebar or footer. Go to your webpage and select the error page from the sidebar or footer. Once it loads right click on the page and select View Source. Copy the source once it is displayed. Go back to the error page editor in cpanel and paste the code in the editor. Save the page and then go to your siteand type in a url from your website that in locked from outsiders from seeing such as your images directory. You should get your new error page with your site still showing.Forbidden <!--#echo var="REDIRECT_STATUS" -->
You can use the same code and steps that you used for this page to recreate the other error pages. Just change the title name in the header and description to match each page. Here is the result http://www.batteriesinaflash.com/images/.
Once you have finished making your error pages, simply delete the ezpage you used to create the temporary pages.




