Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

default 404 error page not displaying cgi.query_string

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
US
I used to run my site on a shared windows server running Coldfusion 8. I recently upgraded to a dedicated Linux box running CF 9. I want to use a custom 404 error page to 'fake' custom urls for members profiles, (ie. would bring up a members profile who has that display name). Used to work perfectly on the old server... I would just use the CGI.Query_String to grab the end of the url they entered and pull the correct information from the database. On the new server I've set the default 404 error page to the correct cfm file using .htaccess, and that works perfectly. But the CGI.Query_string variable is now empty, so I have no way of grabbing the address that was typed in. Any suggestions would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top