# Main Configuration Listen 80 ServerRoot { "C:/Program Files/Apache Software Foundation/Apache2.2" } ServerName { dns.or.ip.address } ServerAdmin { your@email.address } ScriptInterpreterSource registry ThreadsPerChild 250 MaxRequestsPerChild 0 # Modules { Big list here... You won't need to do much, but ensure the following modueles are present: } LoadModule alias_module modules/mod_alias.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule headers_module modules/mod_headers.so LoadModule include_module modules/mod_include.so LoadModule info_module modules/mod_info.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule vhost_alias_module modules/mod_vhost_alias.so # Logging LogLevel warn ErrorLog logs/error.log LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog logs/access.log combined # Global sites configuration Options FollowSymLinks MultiViews IndexOptions FancyIndexing AllowOverride All Order deny,allow Satisfy all DirectoryIndex index.html index.htm default.htm # Deny .htaccess and .htpasswd files from being viewed by web clients Order allow,deny Deny from all Order allow,deny Deny from all # Default website DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" Options Includes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all # Alias Alias /error "C:/Program Files/Apache Software Foundation/Apache2.2/error" Alias /icons "C:/Program Files/Apache Software Foundation/Apache2.2/icons" ScriptAlias /cgi-bin "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" Options FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all AllowOverride None Options ExecCGI Order allow,deny Allow from all AddHandler cgi-script .cgi .pl .py AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo # MIME DefaultType text/plain TypesConfig conf/mime.types AddType application/x-gzip .tgz AddEncoding x-compress .Z AddEncoding x-gzip .gz .tgz AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/octet-stream .bin .dms .lha .lzh .exe .class .tgz .taz AddHandler cgi-script .cgi .py .pl AddHandler type-map var AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl # Includes Include conf/httpd-websites.conf #Include conf/extra/httpd-mpm.conf #Include conf/extra/httpd-multilang-errordoc.conf Include conf/extra/httpd-autoindex.conf Include conf/extra/httpd-languages.conf Include conf/extra/httpd-userdir.conf Include conf/extra/httpd-info.conf #Include conf/extra/httpd-vhosts.conf #Include conf/extra/httpd-manual.conf #Include conf/extra/httpd-dav.conf #Include conf/extra/httpd-default.conf #Include conf/extra/httpd-ssl.conf