PassMark Logo
Home » Forum

Accented characters causing a 403 error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Campbell
    Junior Member
    • Feb 2011
    • 4

    #1

    Accented characters causing a 403 error

    I've added Zoom to the French section of a small web site, but have a problem.

    Searching for a word spelt with an accent - région - for example, causes a 403 error. Searching for it spelt without the accent - region - works OK (though highlight.js then doesn't).

    Enable accent/diacritic insensitivity is turned on.
    The web pages and Zoom are using windows-1252 encoding.
    I've tried ISO-8891-1 encoding too, but get the same error.
    I've tried CGI and php, but get the same error.

    I did come across a thread from 4 years ago (version 5) with the same basic problem (though it didn't case a 403 error) - French Site - Query Problems - but that didn't help, and the linked test files are no longer live.

    I have, however, seen Zoom working live on a French site, so I know that it can work - or perhaps its a recently reintroduced error... or something to do with my server configuration...

    If there's anyone from Wrensoft around, I could email a URL, but if anyone can think of anything else I can check, or has solved the problem, I'd love to hear from you.
  • Ray
    Administrator
    • Dec 2004
    • 4357

    #2
    First thing to check is the version and build you are using. Click "Help"->"About" and install the latest if you are using something older than the latest:
    http://www.wrensoft.com/zoom/whatsnew.html

    Second is, let us know if you have modified the script code in any way.

    A HTTP 403 error is your web server returning "Forbidden". Which seems unlikely to be triggered by the search script. Especially when CGI and PHP works so differently.

    Yes, you can e-mail us the URL if you want us to take a look.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    • Campbell
      Junior Member
      • Feb 2011
      • 4

      #3
      Thanks for the rapid reply - I've emailed info@ with the URL and files.

      The version is 6, build 1025, and I've made no changes to the script.

      Anything else you need please let me know...

      Thanks

      Comment

      • Campbell
        Junior Member
        • Feb 2011
        • 4

        #4
        Hi Ray

        Just wondering whether my email was received OK?

        Comment

        • Ray
          Administrator
          • Dec 2004
          • 4357

          #5
          We didn't get any e-mail about this as far as I can tell. How big are the files?

          I'll contact you via PM and you can e-mail me directly.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment

          • Campbell
            Junior Member
            • Feb 2011
            • 4

            #6
            Problem solved - many thanks for your help Ray.

            For the benefit of others, the problem was caused by a mod_rewrite directive in the .htacess file stripping out the % symbol in the URL string.

            Comment

            Working...