# With this document, you define the name space that users see of your http # server. This file also defines server settings which affect how requests are # serviced, and how results should be formatted. # See the tutorials at http://www.apache.org/ for # more information. # Originally by Rob McCool; Adapted for Apache # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. DocumentRoot _TESTDIR_/htdocs # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is recieved. UserDir public_html # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. DirectoryIndex index.html index.htm # FancyIndexing is whether you want fancy directory indexing or standard FancyIndexing off # AddIcon tells the server which icon to show for different files or filename # extensions 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/text.gif .ps .shtml AddIcon /icons/movie.gif .mpg .qt AddIcon /icons/binary.gif .bin AddIcon /icons/burst.gif .wrl AddIcon /icons/binhex.gif .hqx .sit AddIcon /icons/uu.gif .uu AddIcon /icons/tar.gif .tar .tar AddIcon /icons/back.gif .. AddIcon /icons/dir.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. # Format: AddDescription "description" filename # ReadmeName is the name of the README file the server will look for by # default. Format: ReadmeName name # # The server will first look for name.html, include it if found, and it will # then look for name and include it as plaintext if found. # # 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 # Format: IndexIgnore name1 name2... IndexIgnore */.??* *~ *# */HEADER* */README* */RCS */CVS # AccessFileName: The name of the file to look for in each directory # for access control information. AccessFileName .htaccess # TypesConfig describes where the mime.types file (or equivalent) is # to be found. TypesConfig _TESTDIR_/conf/mime.types # DefaultType is the default MIME type for documents which the server # cannot find the type of from filename extensions. DefaultType text/plain # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress # information on the fly. Note: Not all browsers support this. AddEncoding x-compress Z AddEncoding x-gzip gz # AddLanguage allows you to specify the language of a document. You can # then use content negotiation to give a browser a file in a language # it can understand. Note that 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 for perl scripts. AddLanguage en .en AddLanguage fr .fr AddLanguage de .de AddLanguage da .da AddLanguage el .el AddLanguage it .it # 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. LanguagePriority en fr de # 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 fakename url Redirect /a http://localhost:7400/b Redirect /b http://localhost:7400/c Redirect /c http://localhost:7400/d Redirect /d http://localhost:7400/e Redirect /e http://localhost:7400/f Redirect /f http://localhost:7400/g Redirect /g http://localhost:7400/h Redirect /h http://localhost:7400/i Redirect /i http://localhost:7400/j Redirect /j http://localhost:7400/k Redirect /k http://localhost:7400/l Redirect /l http://localhost:7400/m Redirect /outside http://somewhere/ # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname Alias /icons/ _TESTDIR_/htdocs/icons/ # ScriptAlias: This controls which directories contain server scripts. # Format: ScriptAlias fakename realname ScriptAlias /cgi-bin/ _TESTDIR_/cgi-bin/ # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # Format: AddType type/subtype ext1 AddType foo/bar .foo AddType text/x-server-parsed-html .shtml #AddType application/x-httpd-cgi .cgi #AddType application/x-httpd-cgi .pl AddHandler cgi-script cgi # For server-side includes which will be treated as HTML3 # for purposes of content negotiation, use #AddType text/x-server-parsed-html3 .shtml3 # Uncomment the following line to enable Apache's send-asis HTTP file # feature #AddType httpd/send-as-is asis # To enable type maps, you might want to use #AddType application/x-type-map var # If you wish to use server-parsed imagemap files, use #AddType application/x-httpd-imap map # Customizable error response (Apache style) # these come in three flavors # # 1) plain text #ErrorDocument 500 "The server made a boo boo. # n.b. the (") 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 # n.b. can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://other.server.com/subscription_info.html