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
Check error.log for the website. Paste it here. Please also check the forum Sticky: http://www.howtoforge.com/forums/showthread.php?t=58408
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/
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
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/
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.
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.
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.
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?
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.
Please help me. PHP pages not running in subdirectory of sites. Even mydomain.com/stats return 500 internal server error.
Have you checked all the error log places? Maybe the message occurs in the main apache error log or the syslog.
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.