Alternc  latest
Alternc logiel libre pour l'hébergement
vhost-mixssl.conf
Go to the documentation of this file.
1 <VirtualHost *:80>
2  ServerName %%fqdn%%
3  DocumentRoot "%%document_root%%"
4  AssignUserId #%%UID%% #%%GID%%
5  SetEnv LOGIN "%%UID%%-%%LOGIN%%"
6 
7  <Directory "%%document_root%%">
8  php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
9  php_admin_value upload_tmp_dir %%account_root%%/tmp
10  php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
11  php_admin_flag mail.add_x_header on
12  Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
13  AllowOverride AuthConfig FileInfo Limit Options Indexes
14  </Directory>
15 
16 </VirtualHost>
17 
18 <VirtualHost *:443>
19  ServerName %%fqdn%%
20  DocumentRoot "%%document_root%%"
21  AssignUserId #%%UID%% #%%GID%%
22  SetEnv LOGIN "%%UID%%-%%LOGIN%%"
23 
24  <Directory "%%document_root%%">
25  php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
26  php_admin_value upload_tmp_dir %%account_root%%/tmp
27  php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
28  php_admin_flag mail.add_x_header on
29  Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
30  AllowOverride AuthConfig FileInfo Limit Options Indexes
31  </Directory>
32 
33  SSLEngine On
34  SSLCertificateFile %%CRT%%
35  SSLCertificateKeyFile %%KEY%%
36  %%CHAINLINE%%
37 
38 </VirtualHost>
39