I have a 404 page and it works fine with Apache, but I was wanting to get the name of the URL the user tried to go to
I tried to create my own log file that has $_SERVER['HTTP_REFERER'] in it but it was blank, after I tried to go to non-existing pages.
My webhost's web servers are a clustered and they run some kind of wierd setup, so they can't give you any log files. Thats why I have to create my own 404 log file. I've been using bbclone and it shows that i get quite a few 404's and i need to know where people are trying to go and where they are coming from.