mirror of
https://github.com/waytotheweb/scripts.git
synced 2026-03-29 16:57:07 +00:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
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
|