Forums / Setup & design / Problem with SEARCH

Problem with SEARCH

Author Message

lorenzo messori

Monday 09 May 2005 2:14:16 am

Hi all,
i have a problem with search:
i had installed ez publish for testing on a server with PHP 4.3.10 like CGI; when i try searching the resulting path is SearchText=sentence searched,
and it must be /content/search/SearchText=sentence searched to run correctly.
I get the same error in admin pages. I used the standard template and i don't undarstand it.
Many suggest?

Thx to all previously

Ɓukasz Serwatka

Monday 09 May 2005 2:18:44 am

Hi Lorenzo,

Welcome to eZ publish Community :)

Look at this topic:
http://ez.no/community/forum/install_configuration/search_results_and_php_in_cgi_mode_part_2

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

lorenzo messori

Monday 09 May 2005 3:58:37 am

My problems weren't in google.tpl, but in the searchtoolbar.tpl and in search.tpl where i changed the method from "get" to "post".
Now works correctly.
Many thx Lukasz.

I have some problems to work with code in EZ... :(

Sebastian Picklum

Monday 06 February 2006 9:42:56 am

You can also use the following RewriteRule in CGI-Mode to pass the Query-Parameters:

RewriteEngine on

RewriteRule !^index\.php.* - [C]
RewriteRule !^webdav\.php.* - [C]

RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C]
RewriteRule (.*) /index.php?/$1&%{QUERY_STRING} [L]

Regards

Sebastian

sp@php.net