5 # Listen on port 80 and 443
10 ServerAdmin root@localhost
17 AddDefaultCharset UTF-8
23 DocumentRoot "/var/www/html"
28 <Directory "/run/ihttpd/log">
32 <Directory "/var/www/html">
34 Options Indexes FollowSymLinks ExecCGI
36 DirectoryIndex index.bin
37 AddHandler cgi-script .bin
40 # Fix mime type file location
41 TypesConfig /etc/mime.types
44 PidFile /run/ihttpd/ihttpd.pid
46 # Fix dir for rewrite map lock files
47 Mutex file:/run/ihttpd rewrite-map
48 Mutex file:/run/ihttpd mpm-accept
50 # Disable version info
55 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
56 SSLSessionCache shmcb:/run/ihttpd/ssl_scache(512000)
57 SSLProtocol all -SSLv3
61 RewriteCond %{HTTPS} !=on
62 RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
68 SSLCertificateFile /etc/pki/tls/certs/ihttpd.pem
69 SSLCertificateKeyFile /etc/pki/tls/private/ihttpd.pem
70 CustomLog "/run/ihttpd/log/https.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
74 ErrorLog "/run/ihttpd/log/error.log"
77 <IfModule log_config_module>
78 CustomLog "/run/ihttpd/log/http.log" "%h %l %u %t \"%r\" %>s %b"