.htaccess 500 error

Discussion in 'Apache' started by SuperMar, Sep 7, 2010.

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

    here's the code:
    
    RewriteRule ^([0-9-a-z-A-Z-_]+)$ goto.php?id=$1 [L]
    
    Code (markup):
    I removed the highlighted line and it went away...but the script won't function properly without it...
    Hosting Linux - Deluxe Plan Godaddy

    How can I fix???
    THANKS
     
    SuperMar, Sep 7, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Do you have RewriteBase in your .htaccess file? If not try adding RewriteBase / just below RewriteEngine on, you might need to adjust the path but best I can do with so little information.
     
    tolra, Sep 8, 2010 IP