seran128 wrote:
> I have a Ajax.Request in a function if i use the parameters: pars
> feature the query string does not get passed to the apache web log
> what is the best way to address this issue? The first code sample does
> not pass to the Apache web log but the second does but its not a fix
> its just a workaround.

I think you're a little confused about the differences between GET and POST. The
parameters for a GET request are part of the URL. When doing a POST any of the
extra bits on the URL are ignored since the POST body contains those things

And there's a reason that Apache by default does not log POST parameters to the
server log. It's considered a security hole to do so. It would mean that things
like usernames, passwords, credit card numbers, etc would be logged to a
location that's usually readable.

Why do you need to log these params to the standard log file anyway?

-- 
Michael Peters
Developer
Plus Three, LP


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to