Current time: 11-22-2024, 10:03 AM Hello There, Guest! (LoginRegister)


Post Reply 
Writeaccess in virtual hosts with user and group www-data only
Author Message
gefatter Offline


Posts: 1
Joined: Apr 2011
Reputation: 0
Post: #1
Writeaccess in virtual hosts with user and group www-data only
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
11-09-2012 07:12 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Writeaccess in virtual hosts with user and group www-data only
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
11-09-2012 11:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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