Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
POST method and PerlAuthenHandler
 

Index | Next | Previous | View Flat


James.B.Muir at hitchcock

Jan 27, 2011, 8:08 AM


Views: 404
Permalink
POST method and PerlAuthenHandler

Hello,

I am writing a perl authentication module for Apache2 that must inspect some request parameters before authorizing the requestor and forwarding the request to a tomcat server via mod_jk.

With the GET request method this is easy, I can inspect the parameters using $r->args and forward the request.

With the POST request method I can READ the request body, but it appears that the request body is removed from the request and is not forwarded to tomcat via mod_jk. Is this correct?

How do I inspect POST request parameters without modifying the request?

I know there must be a standard way to do this kind of thing but I have been unable find the answer after several hours of reading.
Thank you for your help.
-James





IMPORTANT NOTICE REGARDING THIS ELECTRONIC MESSAGE:

This message is intended for the use of the person to whom it is addressed and may contain information that is privileged, confidential, and protected from disclosure under applicable law. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records.

Subject User Time
POST method and PerlAuthenHandler James.B.Muir at hitchcock Jan 27, 2011, 8:08 AM
    Re: POST method and PerlAuthenHandler joe_schaefer at yahoo Jan 27, 2011, 8:12 AM
        RE: POST method and PerlAuthenHandler James.B.Muir at hitchcock Feb 2, 2011, 12:57 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.