.htaccess and _POST loses information on redirect |
[eluser]ferex[/eluser]
Hi, I've found this article and is the exact problem that i have with the Post variables in my form http://ellislab.com/forums/viewthread/84230/#423763 could anyone can help me to write a redirect rule in .htaccess file that works with POST variables? my htaccess Options +FollowSymLinks RewriteEngine on RewriteRule ^$ /index.php [L] RewriteCond $1 !^(index\.php|fotos|img|css|javascript|robots\.txt|favicon\.ico) RewriteRule ^(.*)$ /index.php/$1 [L] my site is http://www.downhill.tyresbolivia.com/contacto thank you for reading.
[eluser]jalalski[/eluser]
I don't think it is possible to use POST variables with mod_redirect and mod_rewrite.
[eluser]ferex[/eluser]
thank you for replying Ok, So if i can't write a rule is there a way for a .htaccess file to work with _post files and not affecting each other? Any advice is welcome.
[eluser]jalalski[/eluser]
Maybe if you explained what the problem is? And what you are trying to do? You query is not too clear to me, sorry.
[eluser]ferex[/eluser]
ok, my problem is I have a .htaccess file to redirect pages because of that the _post files are empty as derek jones said in topic 84230 Quote:Do you have any .htaccess in play? If you are doing a rewrite that redirects or a regular redirect, i want to know is there a way to keep the data in the _post files as well working with .htaccess files. look to my site and see the variables in the form_validation are empty my site thank you.
[eluser]jalalski[/eluser]
look up sessions -> flashdata in the manual, I think that is what you will need.
[eluser]ferex[/eluser]
Thank's jalalski for you help, i'm looking up to solve the problem. |
Welcome Guest, Not a member yet? Register Sign In |