Msg#: 4466214 posted 10:28 am on Jun 16, 2012 (gmt 0)
Spent a couple of hours on this and getting nowhere fast so a little help needed. I have a page with querystring code to show the product being reviewed linked from the product page with a querystring in the link.
Link to the review page :
Code on the review_form.asp page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>review form</title> <meta http-equiv="Content-Language" content="en-gb"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <div align="center" class="instocktop">Product review form for model <%= Request.QueryString("item_id")%></div> </body> </html>
The output shown on the screen is :
Product review form for model <%= Request.QueryString("item_id")%>
The code used to work fine until I checked the other day and I cannot think of any mods I have carried out. The htaccess and robots files are unchanged.
Msg#: 4466214 posted 8:03 am on Jun 18, 2012 (gmt 0)
Hi - many thanks for your input. The page with the code on is the www.sofabedgallery/karoo.net/karoo_rev.asp page. This is just a test server I have set up without any special properties. After more research, I am wondering if the issue could be with the server permissions on this page. Is that what you are referring to, or is there an extra code needed to be uploaded to run the querystring code ?
If it's the permission, what code number should I be applying ?
Msg#: 4466214 posted 1:07 pm on Jun 18, 2012 (gmt 0)
From the looks of it the test server is running Apache webserver.
Apache to the best of my knowledge will not run asp pages. This is what I believe cause of the problem your having. Apache is treating the asp page as a static page, doing no processing what so ever on it.
Msg#: 4466214 posted 1:59 pm on Jun 18, 2012 (gmt 0)
Thank you both for your input. After spending many hours on the issue, I re emailed the hosting company who advise support for asp pages has now been withdrawn, hence the reason why the code will not run. Workaround was to use the following php code to parse the query string :