Internal Server Error

Discussion in 'Site & Server Administration' started by gio, Oct 25, 2006.

  1. #1
    I recently moved my two article directory site to a new web host but i keep getting this error from one these sites:

    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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ​

    you can see the error here: http://www.articlewheel.com/terms.php

    i also checked my .htaccess file and its the same for both of my site.

    any help please? thank you.
     
    gio, Oct 25, 2006 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if you are using articledashboard, put a # before lines starting with "php_" in the .htaccess
     
    agnivo007, Oct 25, 2006 IP
  3. gio

    gio Well-Known Member

    Messages:
    2,390
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    195
    #3
    yes its an articledashboard script and i already did that and it worked for most of the pages but not all of them.

    Here's my .htaccess file:


    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>

    # php_flag session.use_trans_sid off

    RewriteEngine On


    RewriteRule ^profile\/([^\/]+)/([0-9]+) publicprofile.php?name=$1&id=$2
    RewriteRule ^Category\/[^\/]+/([0-9]+) index.php?catid=$1&mode=category
    RewriteRule ^Article/[^\/]+/([0-9]+)/?(.*) article.php?id=$1&act=$2
    RewriteRule ^rss/[^\/]+/([0-9]+) rssarticle.php?id=$1
    RewriteRule ^myarticles/(.*)$ index.php?mode=myarticles

    RewriteRule ^topauthorslist/([A-Za-z]+)/([A-Za-z]+)/([A-Za-z]+)/([0-9]+) topauthors.php?sort=$1&sorttype=$2&filter=$3&page=$4
    RewriteRule ^(.*)popularlist/ populararticles.php?page=$2
    RewriteRule ^(.*)searchresult/ indexser.php?page=$2
     
    gio, Oct 25, 2006 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Here's my .htaccess :

    
    # -FrontPage-
      
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
      
    <Limit GET POST> 
    order deny,allow 
    deny from all 
    allow from all 
    </Limit> 
    <Limit PUT DELETE> 
    order deny,allow 
    deny from all 
    </Limit> 
    
    #php_flag session.use_trans_sid off
    
    RewriteEngine On 
    
    RewriteCond %{HTTP_HOST} . 
    RewriteCond %{HTTP_HOST}  !^www\. [NC] 
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1  [R,L]
      
    RewriteRule ^profile\/([^\/]+)/([0-9]+)     publicprofile.php?name=$1&id=$2     
    RewriteRule ^Category\/[^\/]+/([0-9]+)      index.php?catid=$1&mode=category    
    RewriteRule ^Article/[^\/]+/([0-9]+)/?(.*)  article.php?id=$1&act=$2            
    RewriteRule ^rss/[^\/]+/([0-9]+)            rssarticle.php?id=$1                
    RewriteRule ^myarticles/(.*)$               index.php?mode=myarticles 
    
    RewriteRule ^(.*)topauthorslist/	  topauthors.php?orderby=$1&ordertype=$2&namelike=$3&page=$4
    RewriteRule ^(.*)popularlist/	      populararticles.php?page=$2
    RewriteRule ^(.*)searchresult/	      indexser.php?page=$2
    
    Code (markup):
    Also confirm with your host that they support mod_rewrite
     
    agnivo007, Oct 25, 2006 IP
  5. hgsupb

    hgsupb Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi,

    Please check your apache error log file if you have the problem still. It will help
     
    hgsupb, Oct 25, 2006 IP
  6. hgsupb

    hgsupb Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hi,

    Please check your apache error log file if you have the problem still. It will help
     
    hgsupb, Oct 25, 2006 IP
  7. gio

    gio Well-Known Member

    Messages:
    2,390
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    195
    #7
    i think it was an issue with my host and not with .htaccess file. Im glad its working now.

    thanks anyway.
     
    gio, Oct 27, 2006 IP