Forums / General / ? in url
Carlos Revillo
Thursday 12 January 2006 4:14:40 pm
hi. i've just installed ez in a shared hosting. but i see a '?' in all urls. http://renew.desorden.nethttp://renew.desorden.net/index.php<b>?</b>/desorden/forums
do you know why there is a '?' always in the urls?. in other projectos i've made with ez this not happened....
Łukasz Serwatka
Friday 13 January 2006 12:36:16 am
Hi Carlos,
eZ publish found that PHP works in CGI mode. ? in URLs is require for proper work of your site. PHP in CGI does not understand accept_path_info.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Friday 13 January 2006 2:44:13 am
thanks, i see... maybe because of this ? i have a problem with search ez module. you can check http://renew.desorden.net again and try a search. If i search "word" that is the url i get http://renew.desorden.net/index.php?SearchText=word&x=15&y=14
and i get module not found.
Other links work as i expected, i mean... http://renew.desorden.net/index.php?/desorden/path_of_the_node
It is possible to solve this? it's not recommended to work with ez if php works as cgi?
thanks.
Friday 13 January 2006 3:02:48 am
Yes, you will need to change method from GET to POST for your search form. Then your search box will work again.
it's not recommended to work with ez if php works as cgi?
It is supported by eZ publish, but it is not recommend. You will get better performance on PHP installed as Apache module.
Friday 13 January 2006 8:50:22 am
thanks so much. one more question. is there any way to "translate the url"?
what i want is if somebody goes to http://renew.desorden.net/*node*
the application knows he want to go http://renew.desorden.net/index.php?/desorden/*node*
Hope you understand me. my english is awful.