WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Internal Server Error – help with .htaccess please

[Resolved] Internal Server Error – help with .htaccess please

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Create a back up, then delete everything below:
    #BEGIN Image Upload HTTP Error Fix

    It maybe a current plugin that has been installed.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Internal Server Error – help with .htaccess please’ is closed to new replies.
Skip to toolbar