C
concertFreak
Guest
need help with request_uri not being returned properly
I'm trying to migrate a site to a new linux box using Plesk 8.1.
The way I have the site I was using a .htaccess file to do 404 redirects to
ErrorDocument 404 /404.cfm
I then used the request_uri variable to grab the uri of the called page before it handed off to the 404 page. Like "/blog/name-of-article.html"
This worked great on the other boxes it has been developed on. On the Plesk set up, the request_uri returns "/404.cfm" instead of the actual url called.
I'm not 100% sure if this is a Plesk configuration issue or if it is something I need to change in the Apache settings or a change to the .htaccess file.
I'm trying to migrate a site to a new linux box using Plesk 8.1.
The way I have the site I was using a .htaccess file to do 404 redirects to
ErrorDocument 404 /404.cfm
I then used the request_uri variable to grab the uri of the called page before it handed off to the 404 page. Like "/blog/name-of-article.html"
This worked great on the other boxes it has been developed on. On the Plesk set up, the request_uri returns "/404.cfm" instead of the actual url called.
I'm not 100% sure if this is a Plesk configuration issue or if it is something I need to change in the Apache settings or a change to the .htaccess file.