Results 1 to 3 of 3

Thread: Problem with htaccess rewrite module

  1. #1
    Join Date
    Dec 2010
    Posts
    1

    Default Problem with htaccess rewrite module

    I have a problem with the fact that htaccess rewrite directives does not work. My directives are:

    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]

    As you can see all the urls that doesn`t point to a specified file on the server should be redirected through index.php, but this does not happen.
    You can check this out on this link:
    http://www.journeydiy.com/
    The above link goes to index.php and works but the below link says: "No input file specified. " and DOES NOT GO through index.php
    http://www.journeydiy.com/public/pages/home
    Any suggestions ?

  2. #2
    Join Date
    Feb 2006
    Location
    Florida, USA
    Posts
    1,505

    Default

    I'm guessing you fixed it, because it looks like it works to me.

    If you need to debug a silent redirect, the first thing to do is make it visible by adding R=301 to the directives, like RewriteRule ^(.*)$ index.php/$1 [R=301,L]
    If at first you don't succeed, try reading the instructions.
    semlar.com

  3. #3
    Join Date
    May 2006
    Location
    15 mins. South of Kansas City, MO
    Posts
    37

    Default

    When I checked the URL"S, it show that you have coding problems on your page. You need to code as Basil suggested above.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •