used chown and now domain is broken !
First post here!
I am using ISPConfig on Linode and was having problems getting wordpress updates from within admin working.
Someone suggested entering this chown command:
sudo chown -R www-data:www-data /var/www/
And now the site is broken!
Can anyone help with fixing this please ?
Is it as easy as reversing the chown command ( if so what would the syntax be ?)
ERROR 500 - Internal Server Error!
The following error occurred:
The requested URL caused an internal server error.
If you get this message repeatedly please contact the webmaster.
Thanks for the prompt reply !
I have two domains currently, but only one is important!
(The other is working - but it is just a simple index.html - nothing else!)
Ok. To fix your setup, take a look in the website settings in ispconfig, there you can find the username and group of each website on the options tab. Note down the domain name and user and group for both sites.
then execute this command for each site:
chown -R web1:client0 /var/www/domain.tld
replace web1 with the user of the website and client0 with the group of the website and domain.tld with the doamin name of the website.
Regarding your original problem with the wordpress updates, ensure that you use the php mode "php-fcgi" in the website settings and that the suexec checkbox is enabled, this ensures that wordpress can write into the website.
Thanks so much Till - will follow that and let you know how I go !
Oops Sorry - I should read more slowly - I see these settings are in the ISPconfig interface - but I can't see the user and group settings !
& Can't see an Options tab page anywhere...
Update: I purchased the ISPConfig manual, and can see an image with an Options tab page - but I don't have that on mine ! At least I'm not going mad :)
Also PHP was set to Fast-CGI and the suexec checkbox is enabled !
Sorry for not working this out, but where is the config file that stores this information ?
I've been googling and searching and the only reference to config files I can find is:
And neither seems to contain anything like what you described !
Thanks I worked that out eventually !
OK so that has changed things - I now get an error:
No input file specified
When I access the site.
But now my Linode is also not behaving, so I'l sort that out first...
(I Don't get the ISPConfig login screen !)
|All times are GMT +2. The time now is 01:08.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.