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.

PHP 5 Issues with mod_rewrite

February 11, 2008 1:04am

Subscribe [2]
  • #1 / Feb 11, 2008 1:04am

    bjsteiger

    87 posts

    Hello All,

    Okay, I’ve done my very best to get as much support before coming here. So what I learned is that when PHP5, path_info is natively disabled, which is what EE uses. So if you want to use PHP you have to enforce query strings /index.php?/—- YUCK!!

    I know has to be others are facing soon….

    So anyway, I did some digging and I was able to update my php.ini with the following argument:

    cgi.fix_pathinfo = 1

    Well, this works 95% of the time. Actually let me explain… if you visit:

    http://www.domain.com/folder/—WORKS
    http://www.domain.com/folder/content/—WORKS
    http://www.domain.com/—DOES NOT WORK

    Now this is just odd, so when you hit http://www.domain.com you get the error message: “No Input Specified”—so is there a way to trick PHP in recognizing this??

    Thanks
    bjs

    Mod Edit: Moved to the How To forum.

  • #2 / Feb 11, 2008 9:30am

    bjsteiger

    87 posts

    I forgot to mention: http://www.domina.com/index.php—WORKS

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

ExpressionEngine News!

#eecms, #events, #releases