-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapache.https.txt
More file actions
43 lines (42 loc) · 1 KB
/
apache.https.txt
File metadata and controls
43 lines (42 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Listen 0.0.0.0:[SSLPORT]
Listen [::]:[SSLPORT]
# Virtualhost start - do not remove this line
<VirtualHost *:[SSLPORT]>
ServerName [SERVERNAME]
ServerAlias [SERVERALIAS]
DocumentRoot [DOCUMENTROOT]
UseCanonicalName Off
KeepAlive Off
<Directory "[DIRECTORY]">
AllowOverride All
</Directory>
<IfModule suphp_module>
suPHP_Engine On
suPHP_UserGroup [USER] [USER]
</IfModule>
<IfModule suexec_module>
<IfModule !mod_ruid2.c>
SuexecUserGroup [USER] [USER]
</IfModule>
</IfModule>
<IfModule ruid2_module>
RMode config
RUidGid [USER] [USER]
</IfModule>
<IfModule mpm_itk.c>
AssignUserID [USER] [USER]
</IfModule>
<IfModule mod_lsapi.c>
lsapi_user_group [USER] [USER]
</IfModule>
ScriptAlias /local-bin /usr/bin
<FilesMatch "\.(inc|php)$">
[PHPHANDLER]
</FilesMatch>
SSLEngine on
SSLCertificateFile [SSLCERTIFICATEFILE]
SSLCertificateKeyFile [SSLCERTIFICATEKEYFILE]
SSLCACertificateFile [SSLCACERTIFICATEFILE]
SSLUseStapling off
</VirtualHost>
# Virtualhost end - do not remove this line