Welcome Guest, Not a member yet? Register   Sign In
.htaccess and _POST loses information on redirect

Hi, I've found this article and is the exact problem that i have with the
Post variables in my form


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


thank you for reading.

I don't think it is possible to use POST variables with mod_redirect and mod_rewrite.


thank you for replying

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.

Maybe if you explained what the problem is? And what you are trying to do?

You query is not too clear to me, sorry.

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,
you will lose POST data between page requests.

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.

look up sessions -> flashdata in the manual, I think that is what you will need.

Thank's jalalski for you help, i'm looking up to solve the problem.

Theme © iAndrew 2016 - Forum software by © MyBB