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