Help making .htaccess work with Apache 1.3 (Made for 2.2)

Discussion in 'Site & Server Administration' started by warman2442, Sep 2, 2008.

  1. #1
    Hello

    Can someone edit this to make it work with 1.3, i cant figure it out.

    RewriteEngine On
    RewriteRule ^m/(.*)/.*$ mu.php?d=$1 [L]
     
    warman2442, Sep 2, 2008 IP
  2. The Universes

    The Universes Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That should work just fine, I believe the rewrite module in 1.3 is very similar to that in 2.x.

    Try it with the () around that last expression.

    Do you get a internal server error when viewing your site with that?
     
    The Universes, Sep 2, 2008 IP
  3. warman2442

    warman2442 Active Member

    Messages:
    1,779
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    98
    #3
    No the script just doesnt work. 404
     
    warman2442, Sep 2, 2008 IP
  4. The Universes

    The Universes Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is this your server or shared hosting?
    Can you confirm that other rewrite rules work?
    Make a file called newstuff.html and then add that to your .htaccess
    Then open the file oldstuff.html on your site in your web browser. If you get a 404, then Rewrite is not enabled.
     
    The Universes, Sep 2, 2008 IP
  5. warman2442

    warman2442 Active Member

    Messages:
    1,779
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    98
    #5
    Shared hosting, and im sure it works, its with host gator
     
    warman2442, Sep 10, 2008 IP