5 # Listen on port 80 and 443
10 ServerAdmin root@localhost
17 AddDefaultCharset UTF-8
26 DocumentRoot "/var/www/html"
31 <Directory "/run/ihttpd/log">
35 <Directory "/var/www/html">
37 Options Indexes FollowSymLinks ExecCGI
39 DirectoryIndex index.bin
40 AddHandler cgi-script .bin
43 # Fix mime type file location
44 TypesConfig /etc/mime.types
47 PidFile /run/ihttpd/ihttpd.pid
49 # Fix dir for rewrite map lock files
50 Mutex file:/run/ihttpd rewrite-map
51 Mutex file:/run/ihttpd mpm-accept
53 # Disable version info
58 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
59 SSLSessionCache shmcb:/run/ihttpd/ssl_scache(512000)
60 SSLProtocol all -SSLv3
64 RewriteCond %{HTTPS} !=on
65 RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
71 SSLCertificateFile /etc/pki/tls/certs/ihttpd.pem
72 SSLCertificateKeyFile /etc/pki/tls/private/ihttpd.pem
73 CustomLog "/run/ihttpd/log/https.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
77 ErrorLog "/run/ihttpd/log/error.log"
80 <IfModule log_config_module>
81 CustomLog "/run/ihttpd/log/http.log" "%h %l %u %t \"%r\" %>s %b"