Wierd HTAccess problem..

Discussion in 'Programming' started by JosS, Nov 16, 2006.

  1. #1
    Hey, I had this script runing perfectly, then tonight I changed the layout.

    The htacess is working but it's preventing images loading

    like www.mysite.com/images/image.jpg

    when If I remove the htaccess it works?

    Here's the htacces code:

    RewriteEngine On
    RewriteRule ^cheat-code/([0-9]*) index.php?cheat=$1 [L,NC]
    RewriteRule ^game-cheats/(.*)/([0-9]*) index.php?letter=$1&no=$2 [L,NC]
    RewriteRule ^(.*)/([0-9]*) index.php?platform=$1&no=$2 [L,NC]

    cheers in advance!
     
    JosS, Nov 16, 2006 IP
  2. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #2
    the way i usually find .htaccess errors is by removing the code from the .htaccess file one line at a time until the problem is fixed, then you know where the problem lies.
     
    just-4-teens, Nov 16, 2006 IP