|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Here's the situation. I've got a custom 404 in ASP that is used to direct people to the correct page and correct product info based on information from the incorrect URL.
http://216.89.218.233/kastlenew/Mant...Series_739.htm is an example. The problem is that the raw logs get /404.asp written to them instead of the "incorrect" URL. I'd like the latter, just so I don't have to keep building custom ways to view how many times users have viewed products/pages. The problem is that I've tried adding a URL header, a PATH_INFO header, and a Location header using Response.AddHeader, and none have worked. The URL stays the same. Is there anything else I can try? Thanks.
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
|
||||
|
Hi Adam,
I just tried entering a bogus page ("testing404.asp") and the browser produced the following URL string: http://216.89.218.233/kastlenew/404....testing404.asp I would've thought this would show up in your logs. The solution may be in your site settings in IIS, you can control the specific fields you wish to log. Do you have stats setup on the site at all? Paul PS. You mean the message displayed... announcing "an email has been sent to the web development team.." hasn't really been sent? ;o) |
|
||||
|
That does show up in my logs, yes. And that's exactly how it shows up in my logs.
The problem is that it reports /404.asp in Live Stats. I don't mind it so much when the link is actually a dead link, but most of the time it's not, and when it is it's usually because a product has been removed from the database. That's why I wanted to mod the header and subsequently the raw log, in a nutshell. The URL info would provide a little marketing info to my client as far as what products people are actually looking at.
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |