Internal server error

Discussion in 'General' started by Ghostdare, Feb 14, 2013.

  1. Ghostdare

    Ghostdare Member

    Hello HTH users,

    I've set up a WordPress site installing and everything but when I try to upload files via web I get an Internal Server Error >> The server encountered an internal error or misconfiguration and was unable to complete your request.

    I've search to see if there are problems with latest Wordpress package and almost everyone said that is from mod_security and I must put in .htaccess
    Code:
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    but no efect. Can anyone point me in the right direction?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look in the error.log of the website, you will find the reason for the error listed there.
     
  3. Ghostdare

    Ghostdare Member

    Hi Till,

    Sorry for my late response, but I had no time to investigate until now. I've open an SSH connectiont to server and made an
    Code:
    tail -f /var/log/apache2/error.log
    , then I've tried to upload an image via webpage and I didn't receive any errors.

    Then I've entered in ISPC administration page and modify PHP handler. First tried with Mod-PHP and received The uploaded file could not be moved to /var/www/clients/client1/web3/web/wp-content/uploads/2013/02.. Then switch to suPHP and seems that now it's working OK.
     
    Last edited: Feb 17, 2013
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The recommended php handelr for wordpress is php-fcgi, but you have to enable the "suexec" checkbox then as well. This is much faster then using suphp.
     

Share This Page