Reply to Re: redirect apache doesn't send post variables

Your name:

Reply:


Posted by AlexVN on 06/18/06 15:48

Oak Hall wrote:
> Is there another way to do this so post variables survive?
> if I have
>
> /z/something?command=blah&step=1
> and form variables (post)
>
> go to:
>
> /script.php?lib=something&command=blah&step=1
> and $_POST

Consider using apache's mod_rewrite to rewrite the URLs on the fly. So,
instead of calling /z/something for handling the request, you should
point apache on /script.php by something like:
RewriteRule !\.(js|ico|gif|jpg|png|css|zip|gz|html|xml)$ script.php

Sincerely,
Alexander
http://www.alexatnet.com/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация