• My problem is this.I can neither access my website or the admin area.When I try I get this message Internal Server Error

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

    Please contact the server administrator, [email protected] 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.
    Upon checking the error log I get the following message [Thu Jun 19 09:24:47 2014] [alert] [client 172.56.14.175] /home/artamant/public_html/.htaccess: </Files> without matching <Files> section

    I was using twenty-fourteen theme and thought the problem may have been related to that(I came to this conclusion after reading a wordpress forum post)suggesting that deleting the directory for that theme should clear the problem so I did via the cpanel but that did nothing.I also deleted the file for cache plugins hoping that would clear it up but nothing again.Not sure where to turn next because my site is down and the hosting company takes forever to answer support tickets,any ideas as to what went wrong here? Btw I noticed everything went bad after I entered some code for a banner in the header just below the metaslider,I did this in the admin area so I may have messed something up then.All i know is after that it was lights out for the site and admin area.Any suggestions would be most appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • What is in your root .htaccess file?

    Thread Starter panam747

    (@panam747)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
     from all
    </Files>
    #AIOWPS_BLOCK_WP_FILE_ACCESS_END
    #AIOWPS_BASIC_HTACCESS_RULES_START
    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>
    ServerSignature Off
    LimitRequestBody 10240000
    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>
    #AIOWPS_BASIC_HTACCESS_RULES_END
    #AIOWPS_IP_BLACKLIST_START
    Order allow,deny
    Allow from all
    Deny from 211.110.140.0/24
    #AIOWPS_IP_BLACKLIST_END
    #AIOWPS_BLOCK_SPAMBOTS_START
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} ^(.*)?wp-comments-post\.php(.*)$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.artamants\.com [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule .* http://127.0.0.1 [L]
    </IfModule>
    #AIOWPS_BLOCK_SPAMBOTS_END
    #AIOWPS_PREVENT_IMAGE_HOTLINKS_START
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.artamants\.com [NC]
    RewriteRule \.(gif|jpe?g?|png)$ - [F,NC,L]
    </IfModule>
    #AIOWPS_PREVENT_IMAGE_HOTLINKS_END
    # END All In One WP Security
    
    # -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>
    AuthName artamants.com
    AuthUserFile /home/artamant/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/artamant/public_html/_vti_pvt/service.grp
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.artamants\.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.artamants\.com$      [NC]
    RewriteRule .*\.(gif|jpe?g?|png|jpeg|jpeg2000)$ http://127.0.0.1 [R,NC]
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘500 Internal Server Error’ is closed to new replies.