Joomla 1.5 - 500 Internal Server Error

After installing Joomla on a Godaddy shared server (Deluxe plan which allow unlimited websites), I renamed htaccess.txt into .htaccess to allow url rewriting.

Home page is fine, but the first article created and linked to the main menu returned this error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com 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.

The solution to the INTERNAL SERVER ERROR problem is uncommenting the following line in .htaccess (or in htaccess.txt if you didn’t already rename it).

# RewriteBase /

You must remove the # , thus having in your .htaccess

RewriteBase /

Reload the page and everything should be fine !

Tags: , , ,

10 Responses to “Joomla 1.5 - 500 Internal Server Error”

  1. Boomer Says:

    Thank you, Thank You, Thank you! I’ve looked all over the net for this fix and I found it on your blog. Keep up the good work.

    Boomer

  2. Noor Says:

    Cool,

    This seems to be working for me,

    I had been trying from long time and searching here and there,
    finally your solution worked for me.

    Thanks for blogging this info.

    noor

  3. Murphe981 Says:

    If the website is not your main root hosting plan do you use the

    RewriteBase /subfolder

    Or just

    RewriteBase /

  4. Murphe981 Says:

    I figured it out, it’s just the

    RewriteBase /

    other sites had mentioned the /subfolder this should NOT be used.

  5. sahil Says:

    i am still having the problem……will you bother to help me???

  6. majid Says:

    Hello Sahil!
    did you find any solution to ur problem???
    I m also facing the same problem. I am configuring the site on Godaddy. Some time like 1 out of 100 it runs but when i change something it shows error again. Help me!!!! if you can

  7. admin Says:

    Please post your .htaccess and we can try to find a solution!

  8. spyros Says:

    im still having the problem here is a copy of the htaccess file

    ##
    # @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##

    #####################################################
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: ‘Options +FollowSymLinks’ may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url’s. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    #####################################################

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On

    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #
    ## End of deny access to extension xml files
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a tag in URL
    RewriteCond %{QUERY_STRING} (\|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits

    # Uncomment following line if your webserver’s URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    RewriteBase /

    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section

  9. Ricardo Says:

    Works a treat - nice work! You should spread the news on joomla forums too!

  10. euge Says:

    thaaaaaaaaaaaaaaaaaaaaaaaankkksss!!! it works! You saved my life :D

Leave a Reply