ud
This commit is contained in:
51
directadmin-1.62.4/data/templates/virtual_host_secure.conf
Normal file
51
directadmin-1.62.4/data/templates/virtual_host_secure.conf
Normal file
@@ -0,0 +1,51 @@
|
||||
|?CGI=ScriptAlias /cgi-bin/ `HOME`/domains/`DOMAIN`/public_html/cgi-bin/|
|
||||
|?DOCROOT=`HOME`/domains/`DOMAIN`/private_html|
|
||||
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/var/tmp:/usr/local/lib/php/|
|
||||
<VirtualHost |IP|:|PORT_443| |MULTI_IP|>
|
||||
|CUSTOM|
|
||||
SSLEngine on
|
||||
SSLCertificateFile |CERT|
|
||||
SSLCertificateKeyFile |KEY|
|
||||
|CAROOT|
|
||||
|
||||
ServerName www.|DOMAIN|
|
||||
ServerAlias www.|DOMAIN| |DOMAIN| |SERVER_ALIASES|
|
||||
ServerAdmin |ADMIN|
|
||||
DocumentRoot |DOCROOT|
|
||||
|CGI|
|
||||
|
||||
|USECANONICALNAME|
|
||||
|
||||
User |USER|
|
||||
Group |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
|
||||
|
||||
|*if SUSPENDED_REASON|
|
||||
<IfModule mod_env.c>
|
||||
SetEnv reason |SUSPENDED_REASON|
|
||||
</IfModule>
|
||||
|*endif|
|
||||
|
||||
<Directory |DOCROOT|>
|
||||
Options +Includes -Indexes
|
||||
|*if HAVE_SAFE_MODE="1"|
|
||||
php_admin_flag safe_mode |SAFE_MODE|
|
||||
|*endif|
|
||||
|*if CLI="1"|
|
||||
php_admin_flag engine |PHP|
|
||||
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f |USER|@|DOMAIN|'
|
||||
|*endif|
|
||||
|*if OPEN_BASEDIR="ON"|
|
||||
php_admin_value open_basedir |OPEN_BASEDIR_PATH|
|
||||
|*endif|
|
||||
|*if SUPHP="1"|
|
||||
suPHP_Engine |PHP|
|
||||
suPHP_UserGroup |USER| |GROUP|
|
||||
|*endif|
|
||||
</Directory>
|
||||
|HANDLERS|
|
||||
|MIMETYPES|
|
||||
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user