Aller au contenu

Depuis


phi

Messages recommandés

Ok par contre, je ne sais pas comment faire.

J'ai créé un group "gweb" et un utilisateur "uweb", mais après, je ne sais pas quoi faire

Merci pour l'aide

Bonsoir

il faut ouvrir le fichier /usr/syno/apache/conf/httpd.conf-user avec VI ou nano si tu l'as installé via ipkg

et il faut rechercher et remplacer nobody

<IfModule !mpm_netware_module>

 #

 # If you wish httpd to run as a different user or group, you must run

 # httpd as root initially and it will switch.  

 #

 # User/Group: The name (or #number) of the user/group to run httpd as.

 # It is usually good practice to create a dedicated user and group for

 # running httpd, as with most system services.

 #

 User nobody

 Group nobody

 </IfModule>
par
<IfModule !mpm_netware_module>

 #

 # If you wish httpd to run as a different user or group, you must run

 # httpd as root initially and it will switch.  

 #

 # User/Group: The name (or #number) of the user/group to run httpd as.

 # It is usually good practice to create a dedicated user and group for

 # running httpd, as with most system services.

 #

User uweb

 Group gweb

</IfModule>

ensuite relance de apache /usr/syno/etc/rc.d/S97apache-user.sh start (ou restart)

Lien vers le commentaire
Partager sur d’autres sites

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.