WordPress.org

Forums

[resolved] Internal Server Error - help with .htaccess please (4 posts)

  1. xecinternet
    Member
    Posted 6 years ago #

    Hi - I hope somebody can help.

    I am a bit out of my depth technically here - but when editing my site http://cross-channel-ferry-tickets.co.uk/ at the end of last week I suddenly got an 'internal server error'.

    Taking advice, I found that it was something to do with my .htaccess. Hostgator support have reinstalled a working .htaccess file for me as follows:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    #BEGIN Image Upload HTTP Error Fix
    <IfModule mod_security.c>
    <Files async-upload.php>
    #SecFilterEngine Off
    #SecFilterScanPOST Off
    </Files>
    </IfModule>
    <IfModule security_module>
    <Files async-upload.php>
    #SecFilterEngine Off
    #SecFilterScanPOST Off
    </Files>
    </IfModule>
    <IfModule security2_module>
    <Files async-upload.php>
    #SecFilterEngine Off
    #SecFilterScanPOST Off
    </Files>
    </IfModule>
    #END Image Upload HTTP Error Fix

    # END WordPress

    Now, as soon as I go into my admin area of my site, the site gets the internal server error again. This problem started suddenly last time I edited - I didnt install any new plugins etc.

    Anybody guide me towards a suitable version of the .htaccess file I can use so I am able to login to admin properly again.

    Many thanks

    Stephen.

  2. illogic
    Member
    Posted 6 years ago #

    Create a back up, then delete everything below:
    #BEGIN Image Upload HTTP Error Fix

  3. illogic
    Member
    Posted 6 years ago #

    It maybe a current plugin that has been installed.

  4. xecinternet
    Member
    Posted 6 years ago #

    Thanks - well it happened again and I deactivated the "Image Upload HTTP Error Fix" plugin and this did the trick. I actually dont have any active plugins on that site yet so will report back if adding any causes the problem again.

    I didn't fully catch what the Hostgator support said, but I think they said that there was some incompatible commands with Apache 2? But I may be talking rubbish there!

    Thanks
    Stephen.

Topic Closed

This topic has been closed to new replies.

About this Topic