On Wed, 6 Dec 2000, Orion (Steve Pirk) wrote:
>
> The log line in question is:
> 216.23.204.10 - - [16/Nov/2000:11:28:29 -0600] "POST /cgi-bin/new-survey.pl 
>HTTP/1.1" 302 302 "http://www.questia.com/trial_form_hp.html" "Mozilla/4.0 
>(compatible; MSIE 5.01; Windows 98)"
> 
> I did notice that the "hits" do show up in the "Redirection Report". I 
> believe this is due to the status 302 following the POST:
> "POST /cgi-bin/new-survey.pl HTTP/1.1" 302
> 
> I was not aware that a POST was a redirect... Could this be the problem?
> 

This is the problem. POST isn't a redirect as such: it's a way for the
browser to send the contents of the form to the server. The question is,
what the server then sends back to the browser. If it sends a normal page,
the status code is 200 OK and it will be in the Request Report in the normal
way. If it directs the browser to a new page, the status code will be
302 Redirect, and it will be in the Redirection Report. The reason is that
the page the browser was directed to will be in the Request Report, and you
don't want to double-count.

> On another note, I am having a hard time filtering out the /img/ directory
> from the Directory report. I used the following analog.cfg command, but it
> seems to have little effect:
> (I tried both of these):
> DIREXCLUDE /img/*
> DIREXCLUDE *.gif
> no luck, all the requests for /img/* still show up in the Directory report.
> 

Just
  DIREXCLUDE /img/
should work.

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
  "The Hubble Space Telescope has shut itself down, preventing astronomers
  from making any observations of the Universe." (BBC News, 15 Nov 1999)

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to