Hello,

I have set up my custom error pages using cpanel, they work fine - but for example the 401 not authorized page - i would like it to email me their ip address (or all the echo data) when someone tries to enter a restricted area and this page is triggered.

- Does anyone know how i do this?

This is what i have on the page now.

Code:
<!--#echo var="HTTP_REFERER" --> |
<!--#echo var="REMOTE_ADDR" --> |
<!--#echo var="REQUEST_URI" --> |
<!--#echo var="HTTP_USER_AGENT" --> |
<!--#echo var="REDIRECT_STATUS" --> <br>

<meta http-equiv="Refresh" content="14; url=/">

<center>
<br><br><br>
<h1> 401 ERROR </h1>
<br>
<h2> Returning you to main website in 10 seconds </h2>

<br><br><br>

Thank you for your help