.htaccess 500 error

Discussion in 'Apache' started by catch-22, Aug 3, 2010.

  1. #1
    I'm getting a 500 error when i upload the .htaccess file that came with the script for my short url site..

    here's the code

    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.* - [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    [B]RewriteRule ^([0-9-a-z-A-Z-_]+)$ goto.php?id=$1 [L][/B]
    RewriteRule ^account/(.*)$  $1 [L]
    Code (markup):
    I removed the highlighted line and it went away...but the script won't function properly without it..

    anyone know a quick fix?..My site is hosted with 1and1.com
     
    catch-22, Aug 3, 2010 IP
  2. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #2
    Do you run PHP in suPHP environment?
     
    BreezeHost, Aug 3, 2010 IP
  3. catch-22

    catch-22 Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    not sure what suphp is, Im on a shared package with 1and1.com i believe it's a sever setting thats causing this 500 error
     
    catch-22, Aug 3, 2010 IP
  4. catch-22

    catch-22 Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Problem solved..
     
    catch-22, Aug 5, 2010 IP
  5. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #5
    Then let us all know what the problem was :)
     
    CSM, Aug 5, 2010 IP