mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 22:34:05 -07:00
Create suphp.tpl
This commit is contained in:
parent
25a1929c1f
commit
e33da7cb1f
1 changed files with 36 additions and 0 deletions
36
install/rhel/templates/web/httpd/suphp.tpl
Normal file
36
install/rhel/templates/web/httpd/suphp.tpl
Normal file
|
@ -0,0 +1,36 @@
|
|||
<VirtualHost %ip%:%web_port%>
|
||||
|
||||
ServerName %domain_idn%
|
||||
%alias_string%
|
||||
ServerAdmin %email%
|
||||
DocumentRoot %docroot%
|
||||
ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
|
||||
Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
||||
Alias /error/ %home%/%user%/web/%domain%/document_errors/
|
||||
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
|
||||
|
||||
<IfModule itk.c>
|
||||
AssignUserID %user% %group%
|
||||
</IfModule>
|
||||
<IfModule !mod_ruid2.c>
|
||||
SuexecUserGroup %user% %group%
|
||||
</IfModule>
|
||||
# <IfModule mod_ruid2.c>
|
||||
# RMode config
|
||||
# RUidGid %user% %group%
|
||||
# RGroups apache
|
||||
# </IfModule>
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes
|
||||
suPHP_Engine ON
|
||||
suPHP_UserGroup %user% %group%
|
||||
</Directory>
|
||||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
Include /usr/local/vesta/data/users/%user%/conf/web/%web_system%.%domain%.conf*
|
||||
|
||||
</VirtualHost>
|
Loading…
Add table
Add a link
Reference in a new issue