Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15150

search + advancedserach broken in non-vhost mode (cgi/fastcgi)

    XMLWordPrintable

Details

    Description

      In cgi/fastcgi mode, the search form target is of the form http://myserver/somedir/index.php?/siteaccess/content/search

      The problem is that when the browser sends the form contents to the server, it strips the path_info from the url and replaces it with a simple query string:
      http://myserver/somedir/index.php?search=text

      This breaks the navigation, as a different siteaccess will be used...

      As a tip, using IIS+FASTCGI, the http://myserver/somedir/index.php/siteaccess/module/view url is supported correctly by IIS (at least version 6) and php; this means that there would be no need to fix this bug in the html form and/or module, but simply to use urls without the question mark.

      The problem lies with ezsys, that insists upon adding '?' in the query string.
      If otoh we force useVirtualHost, ezsys strips out not only '?' but also 'index.php' - there's no winning solution here... (unless a rewrite module is used...)

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: