ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Trouble with mod_rewrite?

December 01, 2011 11:12am

Subscribe [1]
  • #1 / Dec 01, 2011 11:12am

    Jeff Easton

    1 posts

    Hi there,

    I’ve run into an issue and I’m hoping that some more experienced members of the EE community might be able to help me figure out what’s going on.

    I have built a mobile friendly version of a clients website within EE that features a Geofinder based location search - http://assured.qbikcreative.com/mobile/locations

    There seems to be an issue with Blackberry support in that when someone runs a search it automatically displays a 404 page. The form action is set to the root of the site. I have checked the Geofinder website demo and it works great. Mine, not so much.

    I am using mod_rewrite from the documentation to remove index.php from all urls and for some reason I think that might be what is causing it. Below is the htaccess code:

    <IfModule mod_rewrite.c>
        RewriteEngine On
        # Removes index.php
        RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php/$1 [L]
        # If 404s, "No Input File" or every URL returns the same thing
        # make it /index.php?/$1 above (add the question mark)
    </IfModule>

    I’d really appreciate any insight the community may have. I am totally not up to speed on mod_rewrite at all. Usually, I copy/paste….

    Thanks,
    Jeff

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases