preserving vars sent by POST method after redirecting by .htaccess

Discussion in 'Perl Misc' started by joe, Aug 4, 2003.

  1. joe

    joe Guest

    Dear fellow-perlers,

    The situation is like this: I'd like my .htacces-file to catch all 404
    errors. When this .htaccess is located in directory './bla' and a user looks
    for a non-existing page './bla/plop/asd', then the .htaccess should cath the
    error and redirect to another page to handle this request. So far so good.
    The newly called script knows from the original URL several vars (like plop
    and asd) and sends these to another script using the GET method.

    This way I can send vars through the URL, without using a question mark. Or
    maybe do both, like in './bla/plop/asd?cur=dollar'. But what about vars sent
    using the POST method. These vars arrive at the .htaccess, but get lost
    redirecting to a script that handles the request. Or not...?

    In short, is there a way to collect them afterwards or preserve them while
    redirecting?

    Thanks in advance!

    Joe
    The Netherlands
     
    joe, Aug 4, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon

    app vars and cache vars

    Jon, Dec 14, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    656
  2. Dalton Barreto
    Replies:
    4
    Views:
    775
    Dalton Barreto
    Nov 7, 2006
  3. TTroy
    Replies:
    16
    Views:
    981
    Peter Nilsson
    Jan 31, 2005
  4. Replies:
    4
    Views:
    765
  5. Linuxguy123
    Replies:
    7
    Views:
    937
    Paddy O'Loughlin
    Feb 20, 2009
  6. caccolangrifata
    Replies:
    18
    Views:
    562
    Chris Torek
    Jul 22, 2011
  7. Bart van den Burg

    htaccess rewriterule in combination with POST form

    Bart van den Burg, Jan 27, 2005, in forum: Perl Misc
    Replies:
    2
    Views:
    522
    Tad McClellan
    Jan 28, 2005
  8. gp
    Replies:
    1
    Views:
    211
Loading...