I used to use apache to be eager to understand, I don't play, huh, huh, maybe it is impact Java's impact (configuring Tomcat XML file) to explore the Apache 1.3 under XP, because my server is loaded Since IIS, I changed the port 80 in the httpd.conf file to 83 and try the explanation of the root document to let it support php5, huh, it is actually become a virtual directory in IIS, the management file is convenient, Apache There should be this service, so I will see the document, try to configure it, even make it, haha, you can put the file in other places without having to put it in the htdocs directory, this is my little fun, I also hope to share with you, and I am a rookie in this regard, I hope to go more in the future. So I opened this topic "Apache" and I've been studying notes, I don't say much, I will see my configuration.
1 First, Apache1.3 then configure the httpd.conf file to change the port to the port that is not occupied, start.
Apache / 1.3.31 (Win32) Running ...
2 Select the Apache server when installing PHP5, configure httpd.conf after installation
3 Shooting a directory (not known as elsewhere, I am calling it here)
Find the following code
Alias / Manual / "D: / Apache / apache / htdocs / manual /"
In subsequent use of the applicable alias and physical controls you want to do:
Alias / Inber / "f: / public_php /"
Where INBER is called the virtual directory in the name of Windows and then specifies the physical directory after 4, let Apache support PHP5 Find the Scriptalias document description After all applications Scriptalias / CGI-BIN / "D: / Apache / Apache / CGI-BIN /" Add information descriptions that support PHP after it is: Scriptalias / CGI-BIN / "D: / Apache / Apache / CGI-BIN" Scriptalias / php / "d: / php /" addtype application / x-httpd-php .PHP addtype application / x-httpd-php .php3 addtype application / x-httpd-php .php4 action application / x-httpd-php " / php/php-cgi.exe " Put the test file phpinfo.php to f: / public_php content is Phpinfo ();?> Just now we have already used the entry directory inber. Ok, we can access it to http: // localhost: 83 / inber / phpinfo.php The following is the configuration file for httpd.conf: ## Based upon the NCSA server configuration files originally by Rob McCool ## This is the main Apache server configuration file It contains the # configuration directives that give the server its instructions # See Will be interpreted by the # server as "/usr/local/apache/logs/foo.log "## NOTE: WHERE FileNames Are Specified, You Must Use Forward Slashes # instead of backslashes (EG," C: / Apache " instead of "c: / apache") # If a drive letter is omitted, the drive on which Apache.exe is located # will be used by default It is recommended that you always supply # an explicit drive letter in absolute paths,.. however, to avoid # confusion #### Section 1:. Global Environment ## The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files . # ## Servertype is Either inetd, or standalone. Inetd Mode is Only Supported on # UNIX Platforms. # Servertype Standalone ## ServerRoot: The Top of the Directory Tree under Which The Server's # Configuration, Error, And Log Files Are Kept. # ServerRoot "D: / Apache / Apache" ## pidfile: The File in Which The Server Should Record ITS Process # Identification Number When It Starts. # Pidfile logs / httpd.pid ## ScoreBoardFile: File used to store internal server process information # Not all architectures require this But if yours does (you'll know because # this file will be created when you run Apache) then you * must * ensure that # no.. Two Invocations of Apache Share The Same Scoreboard File. # ScoreboardFile Logs / Apache_Runtime_STATUS ## In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty , as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using "/ dev / null" (for Unix) or # "nul" (for Win32) for the arguments to the directives ## ResourceConfig conf / srm.conf # AccessConfig conf / access.conf ## Timeout:. The number of seconds before receives and sends time out. #Timeout 300 ## Keepalive: WHETHER or NOT TO ALLOW PERSIStent Connections (More Than "to deactivate. # Keepalive ON ## MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection Set to 0 to allow an unlimited amount # We recommend you leave this number high, for maximum performance # MaxKeepAliveRequests 100... ## KeepaliveTimeout: Number of seconds to wait for the next request from the # Same Client on The Same Connection. # KeepaliveTimeout 15 ## Apache on Win32 always creates one child process to handle requests. If it # dies, another child process is created automatically. Within the child # process multiple threads handle incoming requests. The next two # directives control the behaviour of the threads and processes . # ## MaxRequestsPerChild: the number of requests each child process is # allowed to process before the child dies The child will exit so # as to avoid problems after prolonged use when Apache (and maybe the # libraries it uses) leak memory or other resources. ON MOST SYSTEMS, BUT A few (Such As Solaris) Do Have Notable Leaks # in The Libraries. For Win32, Set this value to zero (unlimited) # unlessAd Otherwise. ## Note: This value does not include keepalive requests after the initial # request per connection. For example, if a child process handles # an initial request and 10 subsequent "keptalive" requests, it # would only count as 1 request towards this limit. # MaxRequestsPerChild 0 ## Number of concurrent threads (ie, requests) the server will allow. # Set this value according to the responsiveness of the server (more # requests active at once means they're all handled more slowly) and # the amount of system resources You'll Allow The Server To consume. # stratusperchild 50 ## listen: allows you to bind apache to specific ip addresss and / or # ports, instead of the default. See Also the ## BindAddress: You can support virtual hosts with this option This directive # is used to tell the server which IP address to listen to It can either # contain "*", an IP address, or a fully qualified Internet domain name... # See Also The ## Dynamic Shared Object (DSO) Support ## To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule 'lines at this location so the # directives contained in it are actually available _before_ they are used. # Please read the file README.DSO in the Apache 1.3 distribution for more # details about the DSO mechanism and run `apache -l 'for the list of already # built-in (statically linked and thus always available) modules in your Apache # binary ## Note:. The order in which modules are loaded is important Do not change # the order below without expert advice ## Example:.. # LoadModule foo_module modules / mod_foo.so ## LoadModule vhost_alias_module modules /mod_vhost_alias.so#LoadModule mime_magic_module modules / mod_mime_magic.so # LoadModule status_module modules / mod_status.so # LoadModule info_module modules / mod_info.so # LoadModule speling_module modules / mod_speling.so # LoadModule rewrite_module modules / mod_rewrite.so # LoadModule anon_auth_module m odules / mod_auth_anon.so # LoadModule dbm_auth_module modules / mod_auth_dbm.so # LoadModule digest_auth_module modules / mod_auth_digest.so # LoadModule digest_module modules / mod_digest.so # LoadModule proxy_module modules / mod_proxy.so # LoadModule cern_meta_module modules / mod_cern_meta.so # LoadModule expires_module modules / MOD_EXPIRES.SO # loadModule Headers_Module Modules / Mod_Headers.so # loadingmodule useertrack_module modules / mod_usertrack.so # loadModule Unique_ID_Module Modules / MOD_UNIQUE_ID.SO ## Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. ## The modules listed below, without a corresponding LoadModule directive, # are static bound into the standard Apache binary distribution for Windows ## Note:... The order in which modules are loaded is important Do not change # the order below without expert advice ## [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS TOO!] ClearModuleList # AddModule mod_vhost_alias.cAddModule mod_env.cAddModule mod_log_config.c # AddModule mod_mime_magic.cAddModule mod_mime.cAddModule mod_negotiation.c # AddModule mod_status.c # AddModule mod_info.cAddModule mod_include.cAddModule mod_autoindex.cAddModule mod_dir.cAddModule mod_isapi.cAddModule mod_cgi.cAddModule mod_asis.cAddModule mod_imap.cAddModule mod_actions. C # addModule MOD_SPELING.CADDMODULE MOD_USERDIR.CADDMODULE MOD_ALIAS.C # addModule MOD_REWRITE.CADDMODULE MOD_AUTH.CADDMODULE MOD_AUTH.C # AddModule M od_auth_anon.c # AddModule mod_auth_dbm.c # AddModule mod_auth_digest.c # AddModule mod_digest.c # AddModule mod_proxy.c # AddModule mod_cern_meta.c # AddModule mod_expires.c # AddModule mod_headers.c # AddModule mod_usertrack.c # AddModule mod_unique_id.cAddModule mod_so. cAddModule mod_setenvif.c ## ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. ## ExtendedStatus On ### Section 2: 'Main' server configuration ## The directives in this section set up the values used by the 'main' # server, which responds to any requests that are not handled by a # ## ServerAdmin: Your Address, WHERE Problems with the Server Should Be # e-arriled. This Address Appears ON Some Server-Generated Pages, Such # as error documents. # Serveradmin Webmaster@inber.51.net ## Servername Allows you to set a host name for # Your Server if it's diff (IE, USE # "WWW" instead of the host's real name). ## Note: you can not just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you do not understand # this, ask your network administrator. # If your host does not have a Registered DNS Name, Enter IP Address Here. # You will have to access it by ITS Address (eg, http://123.45.67.89/ )#. ## 127.0. 0.1 is the TCP / IP local loop-back address, often named localhost. Your # machine always knows itself by this address. If you use Apache strictly for # local testing and development, you may use 127.0.0.1 as the server name. # Servername Inber ## Document: The Directory Out of Which You Will Serve Your # Documents. By Default, All Requests Are Taken from this Directory, But # Symbolic Link S and aliases May be used to point to other locations. # DocumentRoot "D: / apache / apache / htdocs" ## Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and / or disabled in that # directory (and its subdirectories). ## First, we configure the "default" to be a Very Restrictive Set of # permissions. # ## Note that from this point forward you must specifically allow # particular features to be enabled -. So if something's not working as # you might expect, make sure that you have specifically enabled it # below # ## this kind be changing to whatver you set documentroot to. # ## THIS Controls Which Options The .htaccess Files in Directories CAN # Override. Can Also Be "All", or any combination of "options", "fileinfo", # "authconfig", and "limited" # allowoverride none ## Controls Who Can Get Stuff from this Server. # ORDER ALLOW, DENY Allow from all direct physical> ## UserDir:. The name of the directory which is appended onto a user's home # directory if a ~ user request is received ## Under Win32, we do not currently try to determine the home directory of # a Windows login, so a format Such as this below needed. See # The userdir documentation for details. # ## Control access to UserDir directories The following is an example # for a site where these directories are restricted to read-only ##.. ## accessFileName: The name of the file to look for in each directory # for access control information. # Accessfilename .htaccess ## The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. ## Also, folks tend to use names such as .htpasswd for password # files, so this will protect those as well. # < Files ~ "^ /. HT"> ORDER ALOW, DENY DENY from ALL Satisfy All files> ## CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each # document that was negotiated on the basis of content This asks proxy # servers not to cache the document Uncommenting the following line disables # this behavior, and.. proxies will be allowed to cache the documents ## CacheNegotiatedDocs ## UseCanonicalName:. (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a URL that refers back # to the server the response . is coming from) it will use ServerName and # Port to form a "canonical" name With this setting off, Apache will # use the hostname: port that the client supplied, when possible This # also affects SERVER_NAME and SERVER_PORT in CGI scripts. . # Usecanonicalname on ## Typesconfig describes where the mime.types file (or equivalent) is # to be found. # ## DefaultType is the default MIME type the server will use for a document # if it can not otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text / plain" is # a good value . If most of your content is binary, such as applications # or images, you may want to use "application / octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text / Plain ## The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # Mod_mime_magic is not part of the default server (you have to add # it yourself with a LoadModule [see the DSO paragraph in the 'Global # Environment' section], or recompile the server and include mod_mime_magic # as part of the configuration), so it's enclosed in an ## ErrorLog:. The location of the error log file # If you do not specify an ErrorLog directive within a ## loglevel: Control the Number of Messages Logged to the Error.log. # Possible Values Include: Debug, Info, Notice, Warn, Error, crit, # alert, Emerg. # Loglevel Warn ## The folowing directives Define Some Format Nicknames for use with # a customlog Directive (see Below). # Logformat "% H% L% U% T /"% r / "%> s% b /"% {refrer} i / "/"% {User-agent} I / "" CombinedLogformat "% h% L% u% T /"% r / "%> s% b" commonLogformat "% {refrer} i ->% u" referelogformat " % {User-agent} i "agent ## The location and format of the access logfile (Common logfile Format). # If you do not define any access logfiles within a ## If you would like to Have Agent and Referer logfiles, uncomment the # FOLLOWING DIRECTIVES. ## Customlog logs / referer.log referer # customlog logs / agent.log agent ## If you prefer a single logfile with access # (combined logfile format) You can use the folloking directive. ## CustomLog logs / access.log combined ## Optionally add a line containing the server version and virtual host # name to server-generated pages (error documents, FTP directory listings, # mod_status and mod_info output etc., but not CGI generated documents). # Set to "EMail" to Also include a mailto: link to the serveadmin. # set to one of: on | Off | email # Serversignature ON # # Apache parses all CGI scripts for the shebang line by default. # This comment line, the first line of the script, consists of the symbols # pound (#) and exclamation (!) Followed by the path of the program that # can Execute this specific script. for a perl script, with perl.exe in # The c: / program files / perl directory, The Shebang Line Should Be: #! c: / program files / perl / perl # Note you _must_not_ indent the actual shebang line, and it must be the # first line of the file. Of course, CGI processing must be enabled by # the appropriate ScriptAlias or Options ExecCGI directives for the files # or directory in question. ## However, Apache on Windows allows either the Unix behavior above, or can # use the Registry to match files by extention. The command to execute # a file of this type is retrieved from the registry by the same method as # the Windows Explorer would use to handle double-clicking on a file. # These script actions can be configured from the Windows Explorer View menu, # 'Folder Options', and reviewing the 'File Types' tab. clicking the Edit # button allows you to modify the Actions, of which Apache 1.3 attempts to # perform the 'Open' Action, and failing that it will try the shebang line. # This behavior is subject to change in Apache release 2.0. ## Each mechanism has it's own specific security weaknesses, from the means # to run a program you Didn ' intend the website owner to invoke, and the # best method is a matter of great debate ## To enable the this Windows specific behavior (and therefore -disable- the # equivilant Unix behavior), uncomment the following directive:. ## ScriptInterpreterSource registry ## The directive above can be placed in individual # # Note That if you include a trailing / on fakename dam ket be present in the url. So "/ icons" isn't aliased in this # example, "/ icons /". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it # Alias / icons /. "D: / Apache / Apache / icons /" # This alias will project the on-line documentation tree under / manual / # Even if you change the documentroot. Comment it if you don't want to # provide access to the on-line documentation. # Alias / manual / "D: / Apache / apache / htdocs / manual / " Alias / Inber / "f: / public_php /" # # ScriptAlias: This controls which directories contain server scripts # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client.. # The Same Rules About Trailing "/" Apply to Scriptalias Directives As To # alias. # Scriptalias / CGI-BIN / "D: / Apache / Apache / CGI-BIN /" Scriptalias / CGI-BIN / "D: / Apache / Apache / cgi-bin " Scriptalias / php / "d: / php /" addtype application / x-httpd-php .PHP addtype application / x-httpd-php .php3 addtype application / x-httpd-php .php4 action application / x-httpd-php " / php/php-cgi.exe " # # "D: / Apache / Apache / cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured #. Ifmodule> # end of aliases. ## Redirect allows you to tell clients about documents which used to exist in # your server's namespace, but do not anymore This allows you to tell the # clients where to look for the relocated document # Format:.. Redirect old-URI new- URL # ## Directives Controlling The Display of Server-Generated Directory Listings. # # # FancyIndexing is whether you want fancy directory indexing or standard # # Note, add the option TrackModified to the IndexOptions default list only # if all indexed directories reside on NTFS volumes. The TrackModified flag # will report the Last-Modified date to assist caches and proxies to properly # track directory changes, but it does _not_ work on FAT volumes. # IndexOptions FancyIndexing # # AddIcon * directives tell the server which icon to show for different # files or filename extensions. These are only displayed for # FancyIndexed directories. # 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 Adricon /icons/back.gif .. addicon /icons/hand.right.gif ready addicon /icons/folder.gif ^^ Directory ^^ addicon /icons/blank.gif ^^ blankicon ^^ # # DefaultIcon is which icon to show for files which do not have an icon # explicitly set. # DefaultIcon /icons/unknown.gif# # AddDescription allows you to place a short description after a file in # server-generated indexes. These are only displayed for FancyIndexed # directories # Format:. AddDescription "description" filename # #AddDescription "GZIP compressed document" .gz #AddDescription "tar archive" .tar #AddDescription "GZIP compressed tar archive" .tgz # # ReadmeName is the name of the README file the server will look for by # default, and append to directory listings. # # HeaderName is the name of a file which should be prepended to # directory indexes. # ReadmeName README HeaderName HEADER # # IndexIgnore is a set of filenames which directory indexing should ignore # and not include in the listing. Shell-style wildcarding is permitted. # IndexIgnore. ?? * * ~ * # HEADER * README * RCS CVS *, v *, t Ifmodule> # End of indexing Directives. ## Document Types. # # # Addtype allows you to tweak mime.types without actually editing it, or to # make Certain Files to be certin type. # Addtype coplication / x-tar .tgz # # AddEncoding allows you to have certain browsers uncompress # information on the fly Note:. Not all browsers support this # Despite the name similarity, the following Add * directives have nothing # to do with the FancyIndexing customization directives above # AddEncoding x.. -compress .Z AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types: # #AddType application / x-compress .Z #AddType application / x-gzip .gz .tgz # # addlanguage allows you to specify the language of a document negotiation to give a browser a file in a language # it can understand. # # Note 1: The Suffix Does not have to be the same as the language # keyword --- those with documents in Polish (whose net-standard # language code is pl) may wish to use "AddLanguage pl .po" to # avoid the ambiguity with the common suffix forperl scripts # # Note 2:. The example entries below illustrate that in quite # some cases the two character 'Language' abbreviation is not # identical to the two character 'Country' code for its country, # Eg 'Danmark / dk' versus 'Danish / Da'. # # Note 3: In the case of 'ltz' we violate the rfc by using a three char # specifier. But there is 'Work in Progress' To fix this and get # The Reference Data for RFC1766 Cleaned Up. # # Danish (DA) - DUTCH (NL) - English (EN) - Estonian (EE) # French (fr) - German (DE) - Greek-Modern ( EL) # italian (IT) - Korean (KR) - NORWEGIAN (NO) - NORWEGIAN NYNORSK (NN) # Portugeese (PT) - Luxembourgeois * (LTZ) # spanish (es) - Swedish (SV) - Catalan (CA) - czech (cs) # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) # Russian (ru) # 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 Addilage Nn .nn AddLanguage Pl. Photo Pl .po addcharset ISO-8859-2 .ISO-PL AddLanguage Pt .pt AddLanguage Pt-Br .pt-br AddLanguage Ltz .lu AddLanguage Ca .ca AddLanguag e 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 # LanguagePriority allows you to give precedence to some languages # in case of a tie during content negotiation. # # Just list the languages in decreasing order of preference. We have # more or less alphabetized them here. You probably want to change this. # # # To use server-pased HTML Files # #addtype text / html .shtml #addhandler server-pased .shtml # # Uncomment the folload line to enable apache's send-asse http file # feature # #addhandler send-as-is asis # # If you wish to use server-pased ImageMap Files, Use # #addhandler iMap-File Map # # To enable type maps, you might want to use # #addhandler type-map var Ifmodule> # End of document type. ## Action lets you define media types that will execute a script whenever # a matching file is called This eliminates the need for repeated URL # pathnames for oft-used CGI file processors # Format:.. Action media / type / cgi-script / Location # Format: action handler-name / cgi-script / location # ## MetaDir:. Specifies the name of the directory in which Apache can find # meta information files These files contain additional HTTP headers # to include when sending the document ## MetaDir .web ## MetaSuffix: specifies the file name suffix for the file Containing the # meta information. ## Metasuffix .meta ## Customizable Error Response (Apache Style) # THESE COME IN Three Flavors ## 1) Plain Text # Errordocument 500 "The Server Made A Boo Boo. # NB The Single Leading (") Marks It As Text, IT Does Not get output ## 2) local redirects # ErrorDocument 404 /missing.html# to redirect to local URL /missing.html#ErrorDocument 404 /cgi-bin/missing_handler.pl# NB: You can redirect to a script or a document using server-side . -includes ## 3) external redirects # ErrorDocument 402 http://www.example.com/subscription_info.html# NB: Many of the environment variables associated with the original # request will * not * be available to such a script. ## Customize Behaviour Based on The Browser # # # The following directives modify normal HTTP response behavior. # The first directive disables keepalive for Netscape 2.x and browsers that # spoof it. There are known problems with these browser implementations. # The second directive is for Microsoft Internet Explorer 4.0b2 # which has a broken HTTP / 1.1 implementation and does not properly # support keepalive when it is used on 301 or 302 (redirect) responses # BrowserMatch "Mozilla / 2" nokeepalive BrowserMatch "MSIE 4 / .0b2;". nokeepalive downgrade-1.0 force -Response-1.0 # # The following directive disables HTTP / 1.1 responses to browsers which # are in violation of the HTTP / 1.0 spec by not being able to grok a # basic 1.1 response. # 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> # end of browser customization Directives ## ALLOW Server Status Reports, with the url of http: // Servername / Server-status # change the "localhost" to match your domain to enable. ## ## ALOW 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. ## ## 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 # support / pHF_ABUSE_LOG.CGI. ## ### Section 3: Virtual Hosts ## VirtualHost: If you want to maintain multiple domains / hostnames on your # machine you can setup VirtualHost containers for them Most configurations # use only name-based virtual hosts so the server does not need. . to worry about # IP addresses This is indicated by the asterisks in the directives below ## Please see the documentation at ## VirtualHost example: # Almost any Apache directive may go into a VirtualHost container # The first VirtualHost section is used for requests without a known # server name ##