Zen Cart Logo
Forums / General Questions / Strange cpath= value in access logs

Strange cpath= value in access logs

Locked

Views: 1,119

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 May 2009, 9:43 PM
#1
jwitt98 avatar

jwitt98

New Zenner

Join Date:
Feb 2009
Posts:
95
Plugin Contributions:
0

Strange cpath= value in access logs

Hi all,
I just set up a google sitemap_gen script. I configured the script to generate the url list based on the server access logs. After the sitemap was generated, I was browsing through the url list and noticed some strange cpath values as follows:

http://www.thetoolspot.us/index.php?cPath=rhgfytzugnalguvn
http://www.thetoolspot.us/index.php?cPath=spysycuyjaq
http://www.thetoolspot.us/index.php?cPath=xumhzprhqmhn

I verified that these urls were in fact in the website access log files. Anyone know where these values could have come from?

9 May 2009, 10:31 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Strange cpath= value in access logs

Never rely on your access log. thing is, i can try to access whatever url i want on your site, regardless the urls exist or not.

10 May 2009, 12:47 AM
#3
jwitt98 avatar

jwitt98

New Zenner

Join Date:
Feb 2009
Posts:
95
Plugin Contributions:
0

Re: Strange cpath= value in access logs

Thanks yellow,
Just to clarify, are you recommending that I not use the access logs to generate sitemaps, or to just not necessarily rely on the information found in the logs?
I actually used this method because the google documentation recommended using this method for dynamic websites and I wanted to have the process automated. Then again, I don't want a bunch of garbage filling up my sitemap either. I've put filters in place to keep most of the unwanted stuff out, but I'm not sure how to avoid this type of thing getting in there.
If your recommending to not use the access logs, what would you recommend using for automating the process?

10 May 2009, 12:58 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Strange cpath= value in access logs

jwitt98:

Thanks yellow,
Just to clarify, are you recommending that I not use the access logs to generate sitemaps, or to just not necessarily rely on the information found in the logs?
I actually used this method because the google documentation recommended using this method for dynamic websites and I wanted to have the process automated. Then again, I don't want a bunch of garbage filling up my sitemap either. I've put filters in place to keep most of the unwanted stuff out, but I'm not sure how to avoid this type of thing getting in there.
If your recommending to not use the access logs, what would you recommend using for automating the process?
There are several modules in the download section to help you generate sitemap. Access log can be used for other purposes, just not very good for using to generate sitemap.

10 May 2009, 4:31 AM
#5
jwitt98 avatar

jwitt98

New Zenner

Join Date:
Feb 2009
Posts:
95
Plugin Contributions:
0

Re: Strange cpath= value in access logs

I will look into those.
Thanks again!