Google Answers Logo
View Question
 
Q: how to read javascript actions & messages in Apache web server log? ( No Answer,   0 Comments )
Question  
Subject: how to read javascript actions & messages in Apache web server log?
Category: Computers > Internet
Asked by: ted2000-ga
List Price: $5.00
Posted: 23 Jun 2006 17:21 PDT
Expires: 03 Jul 2006 23:52 PDT
Question ID: 740637
I have a pure HTML website with some mini Javascripts embedded.

One of the Javascripts in particular does the following:

1. Capture a "region" keyword entered by a user (e.g. "PST")
2. Based on the KW, display one line of text that is different based
on the KW entered in 1. (e.g. 'You are redirected to the West Coast
Page')
3. Redirect to another HTML page based on on the KW entered in 1. (e.g. west.html)

Everything is working perfectly and I tested everything with different
browsers.  In my Apache log, a typical succesful interraction would
be:
GET homepage.html 200
GET west.html 200 (+ referrer: homepage.html)

However, I noticed that many lines also come with the following
A)
GET homepage.html?input=west 200
<and no GET to the west.html page.>

or B)

GET homepage.html?input=west 200
GET west.html 200

My question is why and/or under which circumstance does Apache record
the ?input= and what does that mean?

I would understand this issue if the data of the form were actually
sent to the server for processing but it is not the case here. It is a
pure client script, with a request for another page coming from the
client app.

Is it a bug? or is A) only a bug? Is it specific to a particular type
of browser or other parameter? I tried to debug this by analyzing the
log with all other information provided but I could not find anything
consistent.

I definitely do not understand why the input value is passed to the
server. The server should not see this value, only a redirection
request to a new page. This enables me to make a quick decision lookup
without creating a lot of server code. It has also a perfect
scalability.

I Set a price of $5.00. Can pay more if the solution is complicated.
Thanks, Guys. I cannot post the full code for confidentiality reasons.
But it is very basic: get the string, clean it, add .html, then
redirect.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy