ispCP - Board - Support
Writeaccess in virtual hosts with user and group www-data only - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Writeaccess in virtual hosts with user and group www-data only (/thread-16377.html)



Writeaccess in virtual hosts with user and group www-data only - gefatter - 11-09-2012 07:12 AM

hi there,
today we updated from lenny to squeeze. We had some trouble that we already solved. Actually one thing is missing: I try to explain:

When making a new user in ISPCP and installing the latest version of Joomla e.g. in htdocs folder the owner attributes are e.g. vu2022:vu2022 that seems correct so far. Chmod is 755. BUT when looking at the joomla Backend under --Site--> systeminformation--> folder permissions ALL folders appear as not writable.
When changing the owner of the content of htdocs with "chown -R www-data:www-data *" the folder permissions change to writable.

I guess that something in the apache config is wrong so all Virtual hosts use the same FCGI-User or fcgi is broken or something like that.

Does anybody have an idea of what the problem can be, or how to solve the issue? Is there any workaround or hint how I can manage the problem. Can someone please help me out?

"apache2ctl -M" gives the following:

Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
fcgid_module (shared)
mime_module (shared)
negotiation_module (shared)
php5_module (shared)
proxy_module (shared)
proxy_http_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)
Syntax OK

Php Version 5.3.3-14 Squeeze
SQL Version 5.1 Debian
ISPCP 1.07

I´m very grateful for any hint


RE: Writeaccess in virtual hosts with user and group www-data only - joximu - 11-09-2012 11:08 PM

which fcgid module are you loading?

the original or the ispcp-version?

look at /etc/apache2/modules-*/*fcgi*

the ispcp should be enough.

and: php5_module should not be loaded...!!

Then have a look at the apache log files when restarting apache.


/Joxi