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.

Rewrite

March 10, 2011 8:57am

Subscribe [2]
  • #1 / Mar 10, 2011 8:57am

    Sjoerd

    233 posts

    I switched from webserver:
    1 On the old one PHP runs as Apache Handler
    2 On the new server PHP runs as FAST/CGI

    The rewrite was:
    1: RewriteRule ^(.*)$ index.php/$1 [L]

    But FASTCGI doesn’t like that and it has to be:
    RewriteRule ^(.*)$ index.php?/$1 [L] (question mark before slash)

    The problem:
    When redirecting in the htaccess, like this:

    /content/faq /faq

    The url becomes this:
    http://www.domain.com/faq?/content/faq

    The last part after the question mark should not be there.
    Any idea?

    Moved to CodeShare Corner by Moderator

  • #2 / Mar 10, 2011 3:39pm

    Sue Crocker

    26054 posts

    Hi, Sjoerd. Unfortunately we can’t provide direct support for removing index.php via .htaccess. However, other members of our community should be able to assist.

    Moving to the CodeShare Corner.

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

ExpressionEngine News!

#eecms, #events, #releases