Skip to main content
October 22, 2007
Question

query_string with apache

  • October 22, 2007
  • 1 reply
  • 319 views
On IIS when a page is redirected to a cfm page for a 404 error, the cgi.query_string variable contains the originally requested page. Is there a way to do this with apache?
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    October 23, 2007
    Can you elaborate a problem of yours.
    October 23, 2007
    I'm creating a 404 workaround for permalinks. My testing machine is running Apache, but my production machine is running IIS, so mod_rewrite is not a solution. On the production machine when IIS redirects on a 404 to my cfm page. The originally requested page appears in cgi.query_string. But on apache it doesn't.

    Obviously to create the 404 workaround, it's essential to see the originally requested page. I'd rather fix this on Apache than have to constantly upload to the production machine for testing.