.error with .htaccess file

Discussion in 'Site & Server Administration' started by gabdub, Jun 28, 2008.

  1. #1
    Hello, I get an error when I try to run my website with the .htaccess file.

    This is the error I get

    "500 Internal Server Error; The server encountered an internal error or misconfiguration and was unable to complete your request."

    When I rename the .htaccess file and try it again it works fine how-ever none of my links click though.

    I've copyed and pasted the content that is in the .htaccess file below. Could someone help me fix it because I don't know what is wrong.

    Thanks

    .htaccess -->

    Options +FollowSymlinks
    RewriteEngine On
    RewriteRule batch(.*)$ - [L]
    RewriteRule ^manage(.*)$ - [L]
    RewriteRule ^translate(.*)$ - [L]
    RewriteRule ^export(.*)$ - [L]
    RewriteRule ^templates(.*)$ - [L]
    RewriteRule ^favicon\.ico(.*)$ - [L]
    RewriteRule ^robots\.txt$ - [L]
    RewriteRule ^plain\.php$ - [L]
    RewriteRule ^(.*)$ index.php - [L]
     
    gabdub, Jun 28, 2008 IP
  2. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Your rewrite rule is incomplete, hence the error.

    What are you trying to do, a redirect?
     
    Trusted Writer, Jun 28, 2008 IP
  3. e-marketing guru

    e-marketing guru Active Member

    Messages:
    228
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #3
    .htaccess file of my client is not allowing me to put 404 error page can there be any solutions for this site is being developed in Php.???thanks
     
    e-marketing guru, Jun 29, 2008 IP