ServerType standalone ServerRoot "C:\SERVER/apache" PidFile logs/httpd.pid ScoreBoardFile logs/apache_runtime_status #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MaxRequestsPerChild 0 ThreadsPerChild 50 #ClearModuleList #AddModule mod_so.c mod_mime.c mod_access.c mod_auth.c mod_negotiation.c #AddModule mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_userdir.c #AddModule mod_alias.c mod_env.c mod_log_config.c mod_asis.c mod_imap.c #AddModule mod_actions.c mod_setenvif.c mod_isapi.c AddModule mod_cgi.c #LoadModule anon_auth_module modules/mod_auth_anon.so #LoadModule dbm_auth_module modules/mod_auth_dbm.so #LoadModule digest_auth_module modules/mod_auth_digest.so #LoadModule cern_meta_module modules/mod_cern_meta.so #LoadModule digest_module modules/mod_digest.so #LoadModule expires_module modules/mod_expires.so #LoadModule headers_module modules/mod_headers.so #LoadModule proxy_module modules/mod_proxy.so #LoadModule rewrite_module modules/mod_rewrite.so LoadModule speling_module modules/mod_speling.so CheckSpelling On #LoadModule info_module modules/mod_info.so LoadModule status_module modules/mod_status.so ExtendedStatus On #LoadModule usertrack_module modules/mod_usertrack.so Port 80 ServerAdmin kds1@mail.ru ServerName localhost DocumentRoot "C:\SERVER/www" <Directory c:/> Options FollowSymLinks AllowOverride None #Options Indexes Includes #<-batva #AllowOverride All #<-batva #Allow from all #<-batva </Directory> <Directory "C:\SERVER/www"> # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes Includes ExecCGI # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir "C:\SERVER/Apache/users/" </IfModule> #<Directory "C:/FoxServ/Apache/users"> # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # <Limit GET POST OPTIONS PROPFIND> # Order allow,deny # Allow from all # </Limit> # <LimitExcept GET POST OPTIONS PROPFIND> # Order deny,allow # Deny from all # </LimitExcept> #</Directory> <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.php index.php3 index.cgi </IfModule> AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName On <IfModule mod_mime.c> TypesConfig conf/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile conf/magic </IfModule> HostnameLookups Off ErrorLog logs/error.log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access.log common ServerSignature On #!c:/Server/perl/bin/perl ScriptInterpreterSource registry <IfModule mod_alias.c> Alias /icons/ "C:\SERVER/Apache/icons/" <Directory "C:\SERVER/Apache/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias /cgi-bin/ "C:\SERVER/Apache/cgi-bin/" <Directory "C:\SERVER/Apache/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> # End of aliases. <IfModule mod_autoindex.c> IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t </IfModule> <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz #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 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 .se #AddLanguage cz .cz DefaultLanguage ru AddLanguage ru .ru #AddLanguage tw .tw #AddLanguage zh-tw .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 ru #en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw </IfModule> # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # #AddType application/x-httpd-php3 .php3 #AddType application/x-httpd-php3-source .phps # # And for PHP 4.x, use: # #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps #Load PHP as a module for faster execution LoadModule php4_module C:\SERVER/php/sapi/php4apache.dll AddType application/x-httpd-php .php4 .php .php3 .phtml .html .htm .shtml AddType application/x-tar .tgz AddHandler cgi-script .cgi AddType text/html .shtml AddHandler server-parsed .shtml .html .htm AddHandler send-as-is asis AddHandler imap-file map AddHandler type-map var </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> ################################# Thats ALL #<Location /server-status> # SetHandler server-status # Order deny,allow # Deny from all # Allow from .localhost #</Location> # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".localhost" to match your domain to enable. # #<Location /server-info> # SetHandler server-info # Order deny,allow # Deny from all # Allow from .localhost #</Location> # # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging # script on phf.apache.org. Or, you can record them yourself, using the script # support/phf_abuse_log.cgi. # #<Location /cgi-bin/phf*> # Deny from all # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi #</Location> # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # #<IfModule mod_proxy.c> # ProxyRequests On # <Directory proxy:*> # Order deny,allow # Deny from all # Allow from .localhost # </Directory> # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # # ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # # CacheRoot "C:/FoxServ/Apache/proxy" # CacheSize 5 # CacheGcInterval 4 # CacheMaxExpire 24 # CacheLastModifiedFactor 0.1 # CacheDefaultExpire 1 # NoCache a_domain.com another_domain.edu joes.garage_sale.com #</IfModule> |