mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Adding RGROUPS var to make templates platform independent
This commit is contained in:
parent
a2794212b3
commit
47ba7d763e
18 changed files with 75 additions and 52 deletions
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
#SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
AllowOverride All
|
||||
SSLRequireSSL
|
||||
|
@ -29,13 +29,13 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups apache
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
|
||||
Include %home%/%user%/conf/web/shttpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/s%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
#SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
@ -23,13 +23,13 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups apache
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
|
||||
Include %home%/%user%/conf/web/httpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
#SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
AllowOverride All
|
||||
SSLRequireSSL
|
||||
|
@ -28,13 +28,13 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups apache
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
|
||||
Include %home%/%user%/conf/web/shttpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/s%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
#SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
@ -22,13 +22,13 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups apache
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
|
||||
Include %home%/%user%/conf/web/httpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
#SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
AllowOverride All
|
||||
SSLRequireSSL
|
||||
|
@ -37,13 +37,13 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups apache
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
|
||||
Include %home%/%user%/conf/web/shttpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/s%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
#SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
@ -31,13 +31,13 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups apache
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
|
||||
Include %home%/%user%/conf/web/httpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
SSLRequireSSL
|
||||
AllowOverride All
|
||||
|
@ -29,7 +29,7 @@
|
|||
SSLCertificateKeyFile %ssl_key%
|
||||
%ssl_ca_str%SSLCertificateChainFile %ssl_ca%
|
||||
|
||||
Include %home%/%user%/conf/web/shttpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/s%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
@ -22,7 +22,7 @@
|
|||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
Include %home%/%user%/conf/web/httpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
SSLRequireSSL
|
||||
AllowOverride All
|
||||
|
@ -30,7 +30,7 @@
|
|||
SSLCertificateKeyFile %ssl_key%
|
||||
%ssl_ca_str%SSLCertificateChainFile %ssl_ca%
|
||||
|
||||
Include %home%/%user%/conf/web/shttpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/s%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/%web_system%/domains/%domain%.log combined
|
||||
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
@ -22,7 +22,7 @@
|
|||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
Include %home%/%user%/conf/web/httpd.%domain%.conf*
|
||||
Include %home%/%user%/conf/web/%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
22
install/rhel/vesta.conf
Normal file
22
install/rhel/vesta.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
WEB_SYSTEM='httpd'
|
||||
WEB_RGROUPS='apache'
|
||||
WEB_PORT='8080'
|
||||
WEB_SSL='mod_ssl'
|
||||
WEB_SSL_PORT='8443'
|
||||
PROXY_SYSTEM='nginx'
|
||||
PROXY_PORT='80'
|
||||
PROXY_SSL_PORT='443'
|
||||
FTP_SYSTEM='vsftpd'
|
||||
MAIL_SYSTEM='exim'
|
||||
IMAP_SYSTEM='dovecot'
|
||||
ANTIVIRUS_SYSTEM='clamav'
|
||||
ANTISPAM_SYSTEM='spamassassin'
|
||||
DB_SYSTEM='mysql'
|
||||
DNS_SYSTEM='named'
|
||||
STATS_SYSTEM='webalizer,awstats'
|
||||
BACKUP_SYSTEM='local'
|
||||
CRON_SYSTEM='crond'
|
||||
DISK_QUOTA='no'
|
||||
REPOSITORY='cmmnt'
|
||||
VERSION='0.9.8'
|
||||
LANGUAGE='en'
|
|
@ -29,7 +29,7 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups www-data
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups www-data
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups www-data
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups www-data
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups www-data
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RUidGid %user% %group%
|
||||
RGroups www-data
|
||||
RGroups %rgroups%
|
||||
</IfModule>
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
WEB_SYSTEM='apache2'
|
||||
WEB_RGROUPS='www-data'
|
||||
WEB_PORT='8080'
|
||||
WEB_SSL='mod_ssl'
|
||||
WEB_SSL_PORT='8443'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue