- 论坛徽章:
- 0
|
5.0.5srm是这样的
# -------------------------------------------------------------------------
# Copyright (c) 1994 The Santa Cruz Operation, Inc.
# -------------------------------------------------------------------------
# All rights reserved. No part of this program or publication may be
# reproduced, transmitted, transcribed, stored in a retrieval system,
# or translated into any language or computer language, in any form or
# by any means, electronic, mechanical, magnetic, optical, chemical,
# biological, or otherwise, without the prior written permission of:
#
# The Santa Cruz Operation, Inc. (40 425-7222
# 400 Encinal St, Santa Cruz, CA 95060 USA
# -------------------------------------------------------------------------
#
# SCCS : @(#) srm.conf 12.2 95/12/07
#
# Modification History:
# S002, 14-Jul-95, faithz
# added LocalizedDocRoot's and LanguageAlias'
# M001, 27-Jul-94, jonb
# /usr/local/etc/scohttpd to /var/scohttp
# M000, 20-Jun-94, jonb
# 1.3 merge happened
#
# NCSA Copyright:
#
# Portions developed at the National Center for Supercomputing
# Applications at the University of Illinois at Urbana-Champaign.
#
# THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED,
# FOR THE SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT
# LIMITATION, WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A
# PARTICULAR PURPOSE.
# -------------------------------------------------------------------------
# With this document, you define the name space that users see of your http
# server.
# 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
DocumentRoot /u/webpac
# LocalizedDocRoot: The language specific directory out of which
# documents are served (as requested via Accept-Language). If no
# language specific location is specfied the server defaults to
# looking in DocumentRoot.
# Example: LocalizedDocRoot english_us.ascii /usr/lib/scohelp/english
LocalizedDocRoot fr_FR.ISO8859-1 /usr/lib/scohelp/fr_FR.ISO8859-1
LocalizedDocRoot de_DE.ISO8859-1 /usr/lib/scohelp/de_DE.ISO8859-1
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
UserDir DISABLED
# DirectoryIndex: Name of the file to use as a pre-written HTML
# directory index
DirectoryIndex index.html
# FancyIndexing is whether you want fancy directory indexing or standard
FancyIndexing on
# AddIcon tells the server which icon to show for different files or filename
# extensions
AddIconByType (TXT,/icons/text.xbm) text/*
AddIconByType (IMG,/icons/image.xbm) image/*
AddIconByType (SND,/icons/sound.xbm) audio/*
AddIcon /icons/movie.xbm .mpg .qt
AddIcon /icons/binary.xbm .bin
AddIcon /icons/back.xbm ..
AddIcon /icons/menu.xbm ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
DefaultIcon /icons/unknown.xbm
# 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*
# AccessFileName: The name of the file to look for in each directory
# for access control information.
AccessFileName .htaccess
# DefaultType is the default MIME type for documents which the server
# cannot find the type of from filename extensions.
DefaultType text/plain
# 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
# 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
# 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
# LanguageAlias allows you to map locale strings (to provide multiple
# ways to refer to the same locale).
# Format: LanguageAlias fake-locale real-locale
# Example: LanguageAlias english english_us.ascii
LanguageAlias french_france.8859 fr_FR.ISO8859-1
LanguageAlias german_germany.8859 de_DE.ISO8859-1
# Aliases: Add here as many aliases as you need, up to 20. The format is
# Alias fakename realname
Alias /images/ /u/webpac/images/
Alias /IlasMedia/ /u/ilasII_GB/IlasMedia/
Alias /icons/ /u/webpac/icons/
# ScriptAlias: This controls which directories contain server scripts.
# Format: ScriptAlias fakename realname
ScriptAlias /cgi-bin/ /u/webpac/cgi-bin/
#ScriptAlias /cgi-bin/ /u/WEB/cgi-bin/
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#AddType text/x-server-parsed-html .shtml
#AddType application/x-httpd-cgi .cgi |
|