Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > preserving vars sent by POST method after redirecting by .htaccess

Reply
Thread Tools

preserving vars sent by POST method after redirecting by .htaccess

 
 
joe
Guest
Posts: n/a
 
      08-04-2003
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use self.vars in class.method(parameters, self.vars) caccolangrifata Python 18 07-22-2011 10:22 PM
How do I declare global vars or class vars in Python ? Linuxguy123 Python 7 02-20-2009 06:45 PM
Sign preserving Vs value preserving sophia.agnes@gmail.com C Programming 4 12-07-2007 03:14 PM
integral promotion, arithmetic conversion, value preserving, unsigned preserving??? TTroy C Programming 16 01-31-2005 10:20 PM
app vars and cache vars Jon ASP .Net 3 12-14-2004 08:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57