# # Gentoo configuration file for SHTTPD web server # http://shttpd.sourceforge.net # # Which directory to serve. # By default, current directory is used document_root /var/www/localhost/htdocs # Authentication realm. # By default, it is "mydomain.com" server_name gentoo.local # Listening port # By default, 80 or 443 if SSL is used listen_port 81 # Comma-separated list of index files. # No spaces allowed between them. # By default, index.html,index.cgi index_files index.html,index.cgi # CGI file extention. # By default, .cgi cgi_extention .cgi # Access log file. # By default, it is "access.log" access_log /var/log/shttpd/access.log # Error log file. # By default, no error log is created, errors are written to stderr error_log /var/log/shttpd/error.log # Mime types file. # By default, none. Built-in mime types are used. mime_types /etc/mime.types # Global .htpasswd file, one for all directories. # This one overrides any per-directory .htpasswd file. # By default, none #global_htpasswd /etc/shttpd/htpasswd # Show all debug messages. # Very noisy. By default, off debug 0 # SSL certificate file location. # Enabling this directive force switch to SSL mode, listening port 443. # By default, not enabled ssl_certificate /etc/shttpd/shttpd.pem # Operate in SSL mode # By default, no use_ssl 0 # Inetd mode. Exit after serving one document. # Assume client socket already connected on stdin/stdout # By default, no inetd_mode 0 # Switch directory listing on/off # By default, yes list_directories 1 # For UNIX only. If started by root, switch uid to specified one. # By default, not specified. runtime_uid shttpd