I have created a new website.com for test. http://website.com --> can access http://www.website.com --> cannot access When I check the error log for website.com, I found as below: Everything is default. Inside .htaccess, it's empty. Created another sites and same problem. Deleted "default" website that comes with ubuntu and same problem.
hmm..ok solved the problem by chmod 755 web directory. But the directory permission was default created by ispconfig at So, I have to chmod the web folder to 755 everytime I create a website? Something must be wrong with my setup?
can someone help me to trace this problem? I do no want to have to chmod the web folder each time I create a new site. Thanks.
no. yes. 1) Which linux distribution? 2) Which php mode? 3) Suexec enabled? You should check if the apache user is
1) ubuntu 8.04.4 LTS 2) php fast-cgi 3) suexec enable (follow guide from http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p6) skipped installing DNS server skipped installing Postfix With SMTP-AUTH And TLS (cause the server not using emails)
Did you install ISPConfig 2 or 3? Because the tutorial is for ISPConfig 2, but you posted this in the ISPConfig 3 forum...
sorry, this is what i followed : http://www.howtoforge.com/perfect-server-ubuntu-8.10-ispconfig-3 It is ispconfig3.
ok, i have looked at my installation of ispconfig 3 in another server running 3.0.1.6. This one also have the web folder's permission at drwx--x--- (710). So I am assuming this is the default permission created by ispconfig. Problem is, this one works fine. I can create files even with root user and it will work if I use browser to open the file. Eg, test.html. But the other which is running 3.0.2.1 still have this problem, I must chmod 755 the web folder only it will work. I also encountered a problem when I tried to access the stats folder. After a few times I tried to key in the password wrongly, somehow the web folder will get reset back to 710. Please help....
anyone can help? The problem still persist. Everytime I make changes to any website, the web folder will be rwx--x--- again. I keep on have to chmod web folder to 755. I know this is the default method and rwx--x--- should work on normal installation. Apache is running as www-data. Appreciate any help on this matter.
The permissions rwx--x--- are correct and it is correct that ISPConfig changes them to rwx--x---. You should check the owner of your files. Chown then to the website user and client group of this website.
I found myself in the situation described by abubin after "playing" with users and groups. I have then restored to the default operability after adding "www-data" in /etc/group: ispapps:x:5003:www-data ispconfig:x:5004:www-data clientX:x:5005:www-data # repeating this for each subsequent clientX line and in /etc/gshadow: ispapps:!::www-data ispconfig:!::www-data