| ServerRoot "C:/xampp/apache" |
| |
| # Mutex file:/tmp/WebKit |
| PidFile "c:/xampp/apache/logs/httpd.pid" |
| #ScoreBoardFile "/tmp/WebKit/httpd.scoreboard" |
| |
| Timeout 300 |
| KeepAlive On |
| MaxKeepAliveRequests 100 |
| KeepAliveTimeout 15 |
| |
| # LoadModule unixd_module libexec/apache/mod_unixd.so |
| LoadModule access_compat_module modules/mod_access_compat.so |
| LoadModule authn_core_module modules/mod_authn_core.so |
| LoadModule authz_core_module modules/mod_authz_core.so |
| LoadModule authz_host_module modules/mod_authz_host.so |
| LoadModule include_module modules/mod_include.so |
| LoadModule log_config_module modules/mod_log_config.so |
| LoadModule headers_module modules/mod_headers.so |
| LoadModule ssl_module modules/mod_ssl.so |
| LoadModule mime_module modules/mod_mime.so |
| LoadModule asis_module modules/mod_asis.so |
| LoadModule cgi_module modules/mod_cgi.so |
| LoadModule negotiation_module modules/mod_negotiation.so |
| #LoadModule imagemap_module modules/mod_imagemap.so |
| LoadModule actions_module modules/mod_actions.so |
| LoadModule alias_module modules/mod_alias.so |
| LoadModule rewrite_module modules/mod_rewrite.so |
| LoadFile "C:/xampp/php/php5ts.dll" |
| LoadFile "C:/xampp/php/libpq.dll" |
| LoadModule php5_module "C:/xampp/php/php5apache2_4.dll" |
| |
| |
| ServerName 127.0.0.1 |
| |
| <Directory /> |
| Options Indexes FollowSymLinks MultiViews ExecCGI Includes |
| AllowOverride All |
| Order allow,deny |
| Allow from all |
| </Directory> |
| |
| AccessFileName .htaccess |
| |
| <Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])"> |
| Order allow,deny |
| Deny from all |
| Satisfy All |
| </Files> |
| |
| UseCanonicalName On |
| HostnameLookups Off |
| |
| ScriptInterpreterSource Registry-Strict |
| # When using the above setting, specify the path to the Perl binary |
| # using the registry keys below: |
| # [HKEY_CLASSES_ROOT\.pl\Shell\ExecCGI\Command] @="c:\\PATH\TO\perl\\bin\\perl.exe" |
| # HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command] @="c:\\PATH\TO\perl\\bin\\perl.exe" |
| |
| LogLevel warn |
| |
| ErrorLog "C:\xampp\apache\logs\error_log.txt" |
| |
| LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined |
| LogFormat "%h %l %u %t \"%r\" %>s %b %D" common |
| LogFormat "%{Referer}i -> %U" referer |
| LogFormat "%{User-agent}i" agent |
| |
| ServerSignature On |
| |
| <IfModule mod_alias.c> |
| </IfModule> |
| |
| <IfModule mod_mime.c> |
| AddLanguage da .dk |
| AddLanguage nl .nl |
| AddLanguage en .en |
| AddLanguage et .ee |
| AddLanguage fr .fr |
| AddLanguage de .de |
| AddLanguage el .el |
| AddLanguage he .he |
| AddCharset ISO-8859-8 .iso8859-8 |
| AddLanguage it .it |
| AddLanguage ja .ja |
| AddCharset ISO-2022-JP .jis |
| AddLanguage kr .kr |
| AddCharset ISO-2022-KR .iso-kr |
| AddLanguage nn .nn |
| AddLanguage no .no |
| AddLanguage pl .po |
| AddCharset ISO-8859-2 .iso-pl |
| AddLanguage pt .pt |
| AddLanguage pt-br .pt-br |
| AddLanguage ltz .lu |
| AddLanguage ca .ca |
| AddLanguage es .es |
| AddLanguage sv .sv |
| AddLanguage cs .cz .cs |
| AddLanguage ru .ru |
| AddLanguage zh-TW .zh-tw |
| AddCharset Big5 .Big5 .big5 |
| AddCharset WINDOWS-1251 .cp-1251 |
| AddCharset CP866 .cp866 |
| AddCharset ISO-8859-5 .iso-ru |
| AddCharset KOI8-R .koi8-r |
| AddCharset UCS-2 .ucs2 |
| AddCharset UCS-4 .ucs4 |
| AddCharset UTF-8 .utf8 |
| |
| <IfModule mod_negotiation.c> |
| LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw |
| </IfModule> |
| |
| AddType application/x-tar .tgz |
| |
| AddEncoding x-compress .Z |
| AddEncoding x-gzip .gz .tgz |
| |
| AddHandler cgi-script .cgi .pl |
| |
| AddType text/html .shtml |
| AddHandler server-parsed .shtml |
| |
| AddHandler send-as-is asis |
| </IfModule> |
| |
| <IfModule mod_php5.c> |
| AddType application/x-httpd-php .php |
| AddType application/x-httpd-php .bat |
| AddType application/x-httpd-php-source .phps |
| |
| <IfModule mod_dir.c> |
| DirectoryIndex index.html index.php |
| </IfModule> |
| |
| php_flag log_errors on |
| php_flag short_open_tag on |
| </IfModule> |
| |
| <IfModule mod_rewrite.c> |
| RewriteEngine On |
| RewriteCond %{REQUEST_METHOD} ^TRACE |
| RewriteRule .* - [F] |
| </IfModule> |
| |
| # Secure (SSL/TLS) connections |
| #Include conf/extra/httpd-ssl.conf |
| # |
| # Note: The following must must be present to support |
| # starting without SSL on platforms with no /dev/random equivalent |
| # but a statically compiled-in mod_ssl. |
| # |
| <IfModule ssl_module> |
| SSLRandomSeed startup builtin |
| SSLRandomSeed connect builtin |
| </IfModule> |
| |
| <VirtualHost *:8443> |
| ServerName 127.0.0.1 |
| SSLEngine On |
| </VirtualHost> |