srm.conf: the first three are configurations which everyone should carryout themselves (listing 3).
# DocumentRoot DocumentRoot /usr/local/www/htdocs # UserDir - for personal directories which have to exist # with this name in the respective home directory UserDir public_html # DirectoryIndex: which file(s) to be shown when only # a directory is called up DirectoryIndex index.html # FancyIndexing FancyIndexing on # Order: Icon - file 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: in cases of doubt ... DefaultIcon /icons/unknown.gif # AddDescription option, give files a short comment # (for listing and index representation) # Format: AddDescription "description" filename # ReadmeName: speaks for itself ... # Format: ReadmeName name # ReadmeName README HeaderName HEADER # IndexIgnore: what isn't to be shown in directory indices IndexIgnore */.??* *~ *# */HEADER* */README* */RCS # AccessFileName: which file contains the access limitations AccessFileName .htaccess # DefaultType DefaultType text/plain # AddEncoding AddEncoding x-compress Z AddEncoding x-gzip gz # AddLanguage AddLanguage en .en AddLanguage fr .fr AddLanguage de .de AddLanguage da .da AddLanguage el .el AddLanguage it .it # LanguagePriority LanguagePriority de en fr # Redirect: when URLs change # first the old path, then the new URL (fully-qualified: written # out completely) Redirect /my/docs/ http://www.neuer.server.de # Aliases Alias /icons/ /usr/local/www/icons/ # ScriptAlias: where CGI scripts et al. are # Format: ScriptAlias fakename realname ScriptAlias /cgi-bin/ /usr/local/www/cgi-bin/ # If server side includes are wanted: AddType text/x-server-parsed-html .shtml AddType application/x-httpd-cgi .cgi # Server Side Includes as HTML3 AddType text/x-server-parsed-html3 .shtml3 # Send as it is: AddType httpd/send-as-is asis # Type maps for MultiViews (the alternatives are in xxx.var) #AddType application/x-type-map var # Server-parsed Imagemap file: ending .map AddType application/x-httpd-imap map # Self-made error reports # 1) normal text ErrorDocument 500 "Something is wrong with the server - shame... # ": designated start of text, link isn't necessary # 2) local diversion ErrorDocument 404 /cgi-bin/missing_handler.pl # 3) external diversion ErrorDocument 402 http://anderer.server.de/neuer_url.html
Dieser Text ist der Zeitschriften-Ausgabe 06/1996 von iX entnommen.
Parallelprogrammierung - die Kunst der Multi-Core-Nutzung
Agile ALM - agile Praktiken im Application Lifecycle Management
Webentwicklung - Applikationen für mobile Clients