Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-04 Thread Paul Li
solprovider, André, Eric, Thanks for you guys. I really learn something your messages... Paul On Sat, Aug 2, 2008 at 10:42 PM, <[EMAIL PROTECTED]> wrote: > André answered well with words. My only addition is an example > assuming a well-behaved browser and no interference from cache. > > http:

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread solprovider
André answered well with words. My only addition is an example assuming a well-behaved browser and no interference from cache. http://example.ORG/ contains: http://example.COM/external.gif"/> Internal Page http://example.COM/external.html";> http://example.COM/external.gif"/> Opening this page

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread André Warnier
You did not address the question to me, but the "referer", as meaning the content of the field in the access log that contains that information, is : - the content of the "Referer:" HTTP header sent by the client that requests a URL on your site. Nothing more, nothing less. If the client that

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Paul Li
Thanks! Paul On Sat, Aug 2, 2008 at 3:52 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Paul Li wrote: >> >> Yeh, I'm asking something about programming... >> >> André. could you tell me why some referer pages are displayed as "-", >> but some are url ? > > The "-" referer probably comes because th

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread André Warnier
Paul Li wrote: Yeh, I'm asking something about programming... André. could you tell me why some referer pages are displayed as "-", but some are url ? The "-" referer probably comes because the caller did not provide a "Referer:" header in his request. For example, open a new browser and ac

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Paul Li
solprovider, I'm really appreciated your message and it helps me A LOT!!! Just want to clarify the two cases when the referer is url : 1. "The referer is the URL of the page containing the link if someone clicks a link from a website on the Internet" a. the referer URL is the "website on the Int

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread solprovider
On 8/2/08, Paul Li <[EMAIL PROTECTED]> wrote: > Some referer pages are "-", some are other pages in the same website, > and still some are pages of other website. If I want to find the > users' request history (visiting history), could I just ignore the > referer page but only check the reques

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Paul Li
Thanks Eric! That answers my question... On Sat, Aug 2, 2008 at 10:07 AM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Sat, Aug 2, 2008 at 1:03 AM, Paul Li <[EMAIL PROTECTED]> wrote: >> What I expect is, as the doc says, "the page that links to or >> includes" (http://httpd.apache.org/docs/1.3/log

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Paul Li
Yeh, I'm asking something about programming... André. could you tell me why some referer pages are displayed as "-", but some are url ? Thanks again and have a good weekend! Paul On Sat, Aug 2, 2008 at 10:59 AM, André Warnier <[EMAIL PROTECTED]> wrote: > Paul Li wrote: >> >> Thanks André! >> >>

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread André Warnier
Paul Li wrote: Thanks André! Just one more question: if i want to retrieve from the access log the users' visiting history of my web site, what would you suggest? I would suggest to use "webalizer", or any of the similar programs which do about the same thing. Seriously, there you are askin

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Paul Li
André, A better way to ask my question maybe like this: Some referer pages are "-", some are other pages in the same website, and still some are pages of other website. If I want to find the users' request history (visiting history), could I just ignore the referer page but only check the reques

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Paul Li
Thanks André! Just one more question: if i want to retrieve from the access log the users' visiting history of my web site, what would you suggest? A main problem for me is that one user's request can have multiple entries in the access log. For instance, if a user send a request to the index.ph

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread Eric Covener
On Sat, Aug 2, 2008 at 1:03 AM, Paul Li <[EMAIL PROTECTED]> wrote: > What I expect is, as the doc says, "the page that links to or > includes" (http://httpd.apache.org/docs/1.3/logs.html#common). So, i > think the referer page should include the requested url as what is > shown in the document exam

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread André Warnier
Paul Li wrote: [...] My question is that, the resource in the request line, /finger-pulse-oximeter-octivetech-300c-p-37.html?osCsid=ddd, is actually a web page, but why the referer, http://www.ddd.ddd.dd/ , is another page? Try the following experiment : In your browser, call up the URL "www.go

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-01 Thread Paul Li
What I expect is, as the doc says, "the page that links to or includes" (http://httpd.apache.org/docs/1.3/logs.html#common). So, i think the referer page should include the requested url as what is shown in the document example... Thanks, Paul On Fri, Aug 1, 2008 at 10:34 PM, Eric Covener <[EMAIL

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-01 Thread Eric Covener
On Fri, Aug 1, 2008 at 8:05 PM, Paul Li <[EMAIL PROTECTED]> wrote: > but why the referer, http://www.ddd.ddd.dd/ , is > another page? Are you expecting the requested URL and the referer to match? Why? -- Eric Covener [EMAIL PROTECTED]

[EMAIL PROTECTED] A question about the request line and the referer

2008-08-01 Thread Paul Li
I have an access log item looks like this: ddd.ddd.ddd.ddd - - [dd/ddd/:01:08:23 -0400] "GET /finger-pulse-oximeter-octivetech-300c-p-37.html?osCsid=ddd HTTP/1.0" 200 10006 http://www.ddd.ddd.dd/ "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" in wh