Modify global setting for the Apache server in the main Apache configuration file:
/etc/httpd/conf/httpd.conf for RedHat-based systems;
/etc/apache2/apache2.conf (or a corresponding file from /etc/apache2/conf.d/ /etc/apache2/sites-enabled/) for Debian-based systems;
/etc/apache2/httpd.con (or /etc/apache2/vhosts.d/*) for SuSE;
/etc/apache2/apache2.conf (or a corresponding file from /etc/apache2/conf.d/ /etc/apache2/sites-enabled/) for Debian-based systems;
/etc/apache2/httpd.con (or /etc/apache2/vhosts.d/*) for SuSE;
Virtual Host Structure and Permissions
Vhost permissions should satisfy the following conditions:
Home directory should be readable by apache, psaadm and psaftp.
The user cannot change some catalogues of their directories.
Other users should not have access to the user’s home directory.
Leave a Reply
You must be logged in to post a comment.