-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapache_proxy.conf
60 lines (45 loc) · 1.61 KB
/
apache_proxy.conf
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<IfModule ssl_module>
Listen *:8443
Define SRVROOT "c:\apache_lounge\Apache24"
ServerRoot "${SRVROOT}"
DocumentRoot "${SRVROOT}/htdocs"
<Directory "${SRVROOT}/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
LoadModule ssl_module modules/mod_ssl.so
<IfModule mime_module>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfModule>
SSLPassPhraseDialog builtin
#SSLMutex default
<VirtualHost *:8443>
ServerName yourserver.ddns.com:8443
ServerAdmin webmaster@localhost
<IfModule log_config_module>
CustomLog "logs/access.log" combined
</IfModule>
ProxyPreserveHost On
#LogLevel alert rewrite:trace6
RewriteEngine On
RewriteRule "forperl.forperl/([^\/]+\.(jpg|wav))$" "forperl/$1" [NC]
RewriteRule "forperl(.*)\.(jpg|wav)" "$1.$2" [NC]
ServerAdmin [email protected]
ProxyPass /forperl/ http://192.168.1.100:6728/
ProxyPassReverse /forperl/ http://192.168.1.100:6728/
ErrorLog "logs/ssl_engine.log"
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "conf/server.crt"
SSLCertificateKeyFile "conf/server.key"
<FilesMatch "\.(cgi|shtml|pl|asp|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "c:\apache_lounge\Apache24\">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
CustomLog "logs/ssl_request.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>