Internal server error

Discussion in 'Co-op Advertising Network' started by Design Agent, Feb 17, 2005.

  1. #1
    When I upload the .htaccess file (I have static html pages at the moment) this error comes up sitewide. Does this mean my server does not support mod_writes?

    Thanks

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

    Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
     
    Design Agent, Feb 17, 2005 IP
  2. palespyder

    palespyder Psycho Ninja

    Messages:
    1,254
    Likes Received:
    98
    Best Answers:
    0
    Trophy Points:
    168
    #2
    It could be that or that you have mistakes in your .htaccess file. Would you be willing to post the file contents?
     
    palespyder, Feb 17, 2005 IP
  3. Design Agent

    Design Agent Peon

    Messages:
    3,061
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Design Agent, Feb 17, 2005 IP
  4. palespyder

    palespyder Psycho Ninja

    Messages:
    1,254
    Likes Received:
    98
    Best Answers:
    0
    Trophy Points:
    168
    #4
    
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR]
    	RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC]
    	RewriteRule ^(.*)       /passthru.php?file=$1
    
    PHP:
    Try removing the if portion of the script and just using the mod rewrite stuff and see if you get the same error. I tried this in my .htaccess without the if statement and it seems to work, but, if I leave them in it gives me a server error. This could just be a configuration issue on your server as well
     
    palespyder, Feb 17, 2005 IP
  5. Design Agent

    Design Agent Peon

    Messages:
    3,061
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks ill give that a go
     
    Design Agent, Feb 17, 2005 IP
  6. Design Agent

    Design Agent Peon

    Messages:
    3,061
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That doesnt seem to make any difference.. my php knowledge is very basic at the moment..
     
    Design Agent, Feb 17, 2005 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Best thing to do is ask your administrator to look at the httpd error log for you and tell you what the error is.
     
    digitalpoint, Feb 17, 2005 IP
  8. Design Agent

    Design Agent Peon

    Messages:
    3,061
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks, Ill have words with them.
     
    Design Agent, Feb 17, 2005 IP