Internal server error

Discussion in 'General' started by Erslan, Sep 13, 2012.

  1. Erslan

    Erslan New Member

    Hi, Need your help, I made a sub-directory on my domain. and put net2ftp files. when ever i tried to access my sub-directory ( mysite.com/sub-directory) it gives my 500 internal server error.
    Please tell me how to fix this problem.

    Thanks
     
  2. pititis

    pititis Member

    Last edited: Sep 14, 2012
  3. Erslan

    Erslan New Member

    These are majors errors in error.log
    Kindly tell me how i solve these problems
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The files that you instaled in the website are owned by the wrong user and group. Most likely you uploaded them as root and did not chown them, To fix that, run:

    chown -R web1:client1 /var/www/clients/client1/web1/web/
     
  5. Erslan

    Erslan New Member

    I am using ISPConfig 3 with Debian 6.0
     
  6. Erslan

    Erslan New Member

    Thanks alot. Yes i uploaded via root user. Kindly tell why my sub-directory files erslan.me/net2ftp is not accessible? It is still showing Internal server error
     
  7. pititis

    pititis Member

    Your wp-config.php is missing. Edit the wp-config-sample.php, change the settings and save it under wp-config.php

    Then run again:

    chown -R web1:client1 /var/www/clients/client1/web1/web/
     
  8. Erslan

    Erslan New Member

    wp-config is in the root directory of erslan.me.. i chown the folder but i won't be able to access erslan.me/net2ftp. when ever i tried to open it returns internal server error.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    in the root directory or in the web directory? all files of the site have to be in the web directory as files outside of that directory are not accessible by php.
     
  10. Erslan

    Erslan New Member

    wp-config is in the web directory of erslan.me. Actually i also want to install net2ftp in the sub-directory of erslan.me like i can access by going erslan.me/net2ftp.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Please run the chown command I posted above, if you still get a 500 error, then please post the new error message that you get now in the log file.

    Do you have a php binary v´cache / eccelerator installed on the server like apc, eaccelerator or xcache and which Linux distribution do you use?
     
  12. Erslan

    Erslan New Member

    yes i do run the chown command. and error.log file doesn't show any new errors.
    No, i didn't install cache or eccelerator installed on my server.
     
  13. Erslan

    Erslan New Member

    Anyone please tell me.. Still facing this issue :(
     
  14. Erslan

    Erslan New Member

    Please help me. PHP pages not running in subdirectory of sites. Even
    mydomain.com/stats return 500 internal server error. :(
     
  15. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Have you checked all the error log places?
    Maybe the message occurs in the main apache error log or the syslog.
     
  16. Erslan

    Erslan New Member

    Its a permission error. I deleted the sub-directory and use net2ftp and create a new directory and upload files. After uploading using net2ftp the files is accessible now.
    I do CHOWN the entire web folder but i don't know why it didn't work that way.
     

Share This Page