Re: A question about the request line and the referer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 Internet" from which a user
clicks the link, and
b. the " website on the Internet"  is aother website but not my website.

2. "The referer is the URL of the page containing an image or other
immediately downloaded file".
this url is of a web page on my my site.

Is my understanding correct?

Thanks again!

Paul

On Sat, Aug 2, 2008 at 12:46 PM,  <solprovider@xxxxxxxxxx> wrote:
> On 8/2/08, Paul Li <paulur@xxxxxxxxx> 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 request page?
>>
>>  Btw, why the referer pages are different, like what I asked above,
>>  some are "-", some are other pages in either the same or different
>>  websites?
>>
>>  Thanks,
>> Paul
>
> The referer is not the last page viewed when someone types an address
> into a browser's address bar.  This would create a security issue
> (typed URLs should not surrender viewing history) and a functionality
> issue (the page in the referer should contain a link to the current
> request.)  Analyzing the referer should tell you:
> - what images are contained in what pages (and if other websites are
> using your images.)
> - what pages link to each page.
>
> Note that cache makes Web server logs inaccurate.  Returning to a
> previously viewed page may load the page from local cache without
> contacting the Web server.  A gateway server can also cache pages and
> intercept requests -- companies and ISPs may cache static pages to
> reduce bandwidth.
>
> Assuming a page is being loaded from the Web server:
>
> The referer is  "-" if someone types an address into a browser's address bar.
> The referer is  "-" if someone uses a Favorite or Bookmark.
> The referer is  "-" if someone clicks a link from within a local HTML
> file on their computer.
> The referer is the URL of the page containing the link if someone
> clicks a link from a website on the Internet,
> The referer is the URL of the page containing an image or other
> immediately downloaded file.
>
> The referer comes from the HTTP Headers of the request.  Anybody using
> a tool allowing control of the headers (e.g. telnet, putty,
> HyperTerminal) can set the referer.
>
> solprovider
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux