Zend Framework - GET parameters are adding to URL
Posted: Fri Jul 14, 2006 3:06 am
Hello
I'm using the Zend Framework (Controller) in an application and i have problems with the links listed on page because every parameter attached to the link when is clicked it will be added also to the URL.
for a URL that looks like: http://proiect.localhost/index/index and a link like: product/list/order_by/product_name if i click on the link for 3 times the URL will look:
http://proiect.localhost/product/list/o ... oduct_name
As you may notice the /order_by/product_name appears for 3 times.
My htacces file looks:
Someone may help me please?
I'm using the Zend Framework (Controller) in an application and i have problems with the links listed on page because every parameter attached to the link when is clicked it will be added also to the URL.
for a URL that looks like: http://proiect.localhost/index/index and a link like: product/list/order_by/product_name if i click on the link for 3 times the URL will look:
http://proiect.localhost/product/list/o ... oduct_name
As you may notice the /order_by/product_name appears for 3 times.
My htacces file looks:
Code: Select all
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
php_value include_path "d:/proiecte/proiect/library"