Current time: 05-21-2024, 11:19 PM Hello There, Guest! (LoginRegister)


Post Reply 
Internal server error 500 with php files
Author Message
kess Offline
Junior Member
*

Posts: 11
Joined: Mar 2010
Reputation: 0
Post: #15
RE: Internal server error 500 with php files
I assume that the interested domain name is "mydomain.com".
As root type what follows using SSH or directly on the server console:
cd /var/www/virtual
chown vu2002:www-data mydomain.com
chmod 770 mydomain.com
cd mydomain.com
chown vu2002:vu2002 htdocs -R
chmod 755 htdocs -R

Try again to browse your pages...
This type mismatch happens generally when you move web pages from one domain to anotherone using SSH...

In order to be sure that this won't happen again, use FTP instead.

Hope this helps.
Bye Kess.
05-08-2011 01:57 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Internal server error 500 with php files - kess - 05-08-2011 01:57 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)