Virtual host based apache

Is it possible to change apache user based on virtual host? when I try to put it in a directory or virtual host, the apache block barks. Thanks for any help.

+3
source share
1 answer

The user directive is a global setting and will not work for Virtualhosts. Apache Suexec may be what you are looking for, it will run CGI (or PHP) applications as their respective owner.

+3
source

Source: https://habr.com/ru/post/1789644/


All Articles