• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Apache Usergroup?

G

Grossmann-Grupp

Guest
Hi!


I have the Next Problem after killing my Plesk ;-)

Here is the original Command:
Original German:
# Wenn Sie noch Apache Version 1.x nutzen (und nur dann!) führen Sie folgendes Kommando zuerst aus:
usermod -g apache -G users apache
Mit diesem Befehl wird der Webserver Apache der Gruppe users zugeordnet.

# Wenn Sie Apache Version 1.x nutzen, führen Sie bitte dieses Kommando aus:
chgrp -R users ostube

Haben Sie Apache2 (Standard in den meisten modernen Distributionen) führen Sie jenes Kommando aus:
chgrp -R www-data ostube
Hier ändern wir die Gruppenzugehörigkeit des osTube-Ordners und aller seiner Unterordner und Dateien rekursiv zur Gruppe users (im Fall Apache 1.x) oder zur Gruppe www-data (im Fall Apache2).

Translated with Google:
If you have Apache version (use 1.x and only if) you run the following command first:
usermod-g users-G apache apache
With this command, the Apache Web server of the group is assigned to users.

# If you are using Apache version 1.x, please run this command:
chgrp-R users osTube

If you have Apache2 (default in most modern distributions), run that command:
chgrp-R www-data osTube
Here we change the group affiliation of the osTube folder and all its subfolders and files recursively to group users (in the case of Apache 1.x) or to the group www-data (in the case of Apache2).


Now I wont to add a new Domain to Plesk. After open a new Account should open a Plesk Page at the Domain...
But there is this...

Forbidden

You don't have permission to access / on this server.
Apache/2.2.3 (CentOS) Server at www.DOMAIN.de Port 80

I think the Apache must be in another User Group... But in which Group must be the Apache?

Did somebody know how I can fix this???
 
Check permissions for vhosts first. It should be something like

# stat /var/www/vhosts/
File: `/var/www/vhosts/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 90h/144d Inode: 480388 Links: 10
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
 
Hi, firstly sorry if this is in the wrong thread I simply did not know which one to use.

basically I have a php script that returns the error "can't open file"

I believe that this is due to the script creating a cache folder on my server. When a cache file is created it is under the group / owner "Apache" which I think is restricting access for general users and hence the message "can't open file"
So my question is how do I change the ownership of the automatically generated files or change the apache settings to allow general users access?

Many thanks for anyone willing to help.
 
Back
Top