From owner-freebsd-questions Thu Mar 22 13:38:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fepD.post.tele.dk (fepD.post.tele.dk [195.41.46.149]) by hub.freebsd.org (Postfix) with ESMTP id 5573A37B71C for ; Thu, 22 Mar 2001 13:36:44 -0800 (PST) (envelope-from nubo@mail.tele.dk) Received: from nubo ([62.242.25.98]) by fepD.post.tele.dk (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010322213641.TQXZ17356.fepD.post.tele.dk@nubo> for ; Thu, 22 Mar 2001 22:36:41 +0100 From: "Nubo" To: Subject: apache server Date: Thu, 22 Mar 2001 22:39:51 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C0B321.01E12980" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C0B321.01E12980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi there... I have been working this conf file tha last 3day's and I can't just not get it right, can i get some help here?? I have 3 domæn's and one ip, at the apache.org they write that it's easy, but that is not right.. I'm sending my httpd.conf whit this mail, I can not see the problem... I have not removed anythig from the /usr/local/apache/ where the "make install" put's it... ------=_NextPart_000_0000_01C0B321.01E12980 Content-Type: application/octet-stream; name="httpd.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="httpd.conf" ##=0A= ## httpd.conf -- Apache HTTP server configuration file=0A= ##=0A= =0A= #=0A= # Based upon the NCSA server configuration files originally by Rob = McCool.=0A= #=0A= # This is the main Apache server configuration file. It contains the=0A= # configuration directives that give the server its instructions.=0A= # See for detailed information about=0A= # the directives.=0A= #=0A= # Do NOT simply read the instructions in here without understanding=0A= # what they do. They're here only as hints or reminders. If you are = unsure=0A= # consult the online docs. You have been warned. =0A= #=0A= # After this file is processed, the server will look for and process=0A= # /usr/local/apache/conf/srm.conf and then = /usr/local/apache/conf/access.conf=0A= # unless you have overridden these with ResourceConfig and/or=0A= # AccessConfig directives here.=0A= #=0A= # The configuration directives are grouped into three basic sections:=0A= # 1. Directives that control the operation of the Apache server process = as a=0A= # whole (the 'global environment').=0A= # 2. Directives that define the parameters of the 'main' or 'default' = server,=0A= # which responds to requests that aren't handled by a virtual host.=0A= # These directives also provide default values for the settings=0A= # of all virtual hosts.=0A= # 3. Settings for virtual hosts, which allow Web requests to be sent to=0A= # different IP addresses or hostnames and have them handled by the=0A= # same Apache server process.=0A= #=0A= # Configuration and logfile names: If the filenames you specify for many=0A= # of the server's control files begin with "/" (or "drive:/" for Win32), = the=0A= # server will use that explicit path. If the filenames do *not* begin=0A= # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"=0A= # with ServerRoot set to "/usr/local/apache" will be interpreted by the=0A= # server as "/usr/local/apache/logs/foo.log".=0A= #=0A= =0A= ### Section 1: Global Environment=0A= #=0A= # The directives in this section affect the overall operation of Apache,=0A= # such as the number of concurrent requests it can handle or where it=0A= # can find its configuration files.=0A= #=0A= =0A= #=0A= # ServerType is either inetd, or standalone. Inetd mode is only = supported on=0A= # Unix platforms.=0A= #=0A= ServerType standalone=0A= =0A= #=0A= # ServerRoot: The top of the directory tree under which the server's=0A= # configuration, error, and log files are kept.=0A= #=0A= # NOTE! If you intend to place this on an NFS (or otherwise network)=0A= # mounted filesystem then please read the LockFile documentation=0A= # (available at );=0A= # you will save yourself a lot of trouble.=0A= #=0A= # Do NOT add a slash at the end of the directory path.=0A= #=0A= ServerRoot "/usr/local/apache"=0A= =0A= #=0A= # The LockFile directive sets the path to the lockfile used when Apache=0A= # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or=0A= # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at=0A= # its default value. The main reason for changing it is if the logs=0A= # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL=0A= # DISK. The PID of the main server process is automatically appended to=0A= # the filename. =0A= #=0A= #LockFile /usr/local/apache/logs/httpd.lock=0A= =0A= #=0A= # PidFile: The file in which the server should record its process=0A= # identification number when it starts.=0A= #=0A= PidFile /usr/local/apache/logs/httpd.pid=0A= =0A= #=0A= # ScoreBoardFile: File used to store internal server process information.=0A= # Not all architectures require this. But if yours does (you'll know = because=0A= # this file will be created when you run Apache) then you *must* ensure = that=0A= # no two invocations of Apache share the same scoreboard file.=0A= #=0A= ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard=0A= =0A= #=0A= # In the standard configuration, the server will process httpd.conf = (this =0A= # file, specified by the -f command line option), srm.conf, and = access.conf =0A= # in that order. The latter two files are now distributed empty, as it = is =0A= # recommended that all directives be kept in a single file for = simplicity. =0A= # The commented-out values below are the built-in defaults. You can = have the =0A= # server ignore these files altogether by using "/dev/null" (for Unix) or=0A= # "nul" (for Win32) for the arguments to the directives.=0A= #=0A= #ResourceConfig conf/srm.conf=0A= #AccessConfig conf/access.conf=0A= =0A= #=0A= # Timeout: The number of seconds before receives and sends time out.=0A= #=0A= Timeout 300=0A= =0A= #=0A= # KeepAlive: Whether or not to allow persistent connections (more than=0A= # one request per connection). Set to "Off" to deactivate.=0A= #=0A= KeepAlive On=0A= =0A= #=0A= # MaxKeepAliveRequests: The maximum number of requests to allow=0A= # during a persistent connection. Set to 0 to allow an unlimited amount.=0A= # We recommend you leave this number high, for maximum performance.=0A= #=0A= MaxKeepAliveRequests 100=0A= =0A= #=0A= # KeepAliveTimeout: Number of seconds to wait for the next request from = the=0A= # same client on the same connection.=0A= #=0A= KeepAliveTimeout 15=0A= =0A= #=0A= # Server-pool size regulation. Rather than making you guess how many=0A= # server processes you need, Apache dynamically adapts to the load it=0A= # sees --- that is, it tries to maintain enough server processes to=0A= # handle the current load, plus a few spare servers to handle transient=0A= # load spikes (e.g., multiple simultaneous requests from a single=0A= # Netscape browser).=0A= #=0A= # It does this by periodically checking how many servers are waiting=0A= # for a request. If there are fewer than MinSpareServers, it creates=0A= # a new spare. If there are more than MaxSpareServers, some of the=0A= # spares die off. The default values are probably OK for most sites.=0A= #=0A= MinSpareServers 5=0A= MaxSpareServers 10=0A= =0A= #=0A= # Number of servers to start initially --- should be a reasonable = ballpark=0A= # figure.=0A= #=0A= StartServers 5=0A= =0A= #=0A= # Limit on total number of servers running, i.e., limit on the number=0A= # of clients who can simultaneously connect --- if this limit is ever=0A= # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.=0A= # It is intended mainly as a brake to keep a runaway server from taking=0A= # the system with it as it spirals down...=0A= #=0A= MaxClients 150=0A= =0A= #=0A= # MaxRequestsPerChild: the number of requests each child process is=0A= # allowed to process before the child dies. The child will exit so=0A= # as to avoid problems after prolonged use when Apache (and maybe the=0A= # libraries it uses) leak memory or other resources. On most systems, = this=0A= # isn't really needed, but a few (such as Solaris) do have notable leaks=0A= # in the libraries. For these platforms, set to something like 10000=0A= # or so; a setting of 0 means unlimited.=0A= #=0A= # NOTE: This value does not include keepalive requests after the initial=0A= # request per connection. For example, if a child process handles=0A= # an initial request and 10 subsequent "keptalive" requests, it=0A= # would only count as 1 request towards this limit.=0A= #=0A= MaxRequestsPerChild 0=0A= =0A= #=0A= # Listen: Allows you to bind Apache to specific IP addresses and/or=0A= # ports, in addition to the default. See also the =0A= # directive.=0A= #=0A= #Listen 3000=0A= #Listen 12.34.56.78:80=0A= =0A= #=0A= # BindAddress: You can support virtual hosts with this option. This = directive=0A= # is used to tell the server which IP address to listen to. It can either=0A= # contain "*", an IP address, or a fully qualified Internet domain name.=0A= # See also the and Listen directives.=0A= #=0A= #BindAddress *=0A= =0A= #=0A= # Dynamic Shared Object (DSO) Support=0A= #=0A= # To be able to use the functionality of a module which was built as a = DSO you=0A= # have to place corresponding `LoadModule' lines at this location so the=0A= # directives contained in it are actually available _before_ they are = used.=0A= # Please read the file README.DSO in the Apache 1.3 distribution for more=0A= # details about the DSO mechanism and run `httpd -l' for the list of = already=0A= # built-in (statically linked and thus always available) modules in your = httpd=0A= # binary.=0A= #=0A= # Note: The order in which modules are loaded is important. Don't change=0A= # the order below without expert advice.=0A= #=0A= # Example:=0A= # LoadModule foo_module libexec/mod_foo.so=0A= =0A= #=0A= # ExtendedStatus controls whether Apache will generate "full" status=0A= # information (ExtendedStatus On) or just basic information = (ExtendedStatus=0A= # Off) when the "server-status" handler is called. The default is Off.=0A= #=0A= #ExtendedStatus On=0A= =0A= ### Section 2: 'Main' server configuration=0A= #=0A= # The directives in this section set up the values used by the 'main'=0A= # server, which responds to any requests that aren't handled by a=0A= # definition. These values also provide defaults for=0A= # any containers you may define later in the file.=0A= #=0A= # All of these directives may appear inside containers,=0A= # in which case these default settings will be overridden for the=0A= # virtual host being defined.=0A= #=0A= =0A= #=0A= # If your ServerType directive (set earlier in the 'Global Environment'=0A= # section) is set to "inetd", the next few directives don't have any=0A= # effect since their settings are defined by the inetd configuration.=0A= # Skip ahead to the ServerAdmin directive.=0A= #=0A= =0A= #=0A= # Port: The port to which the standalone server listens. For=0A= # ports < 1023, you will need httpd to be run as root initially.=0A= #=0A= Port 80=0A= =0A= #=0A= # If you wish httpd to run as a different user or group, you must run=0A= # httpd as root initially and it will switch. =0A= #=0A= # User/Group: The name (or #number) of the user/group to run httpd as.=0A= # . On SCO (ODT 3) use "User nouser" and "Group nogroup".=0A= # . On HPUX you may not be able to use shared memory as nobody, and the=0A= # suggested workaround is to create a user www and use that user.=0A= # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)=0A= # when the value of (unsigned)Group is above 60000; =0A= # don't use Group nobody on these systems!=0A= #=0A= User nobody=0A= Group nobody=0A= =0A= #=0A= # ServerAdmin: Your address, where problems with the server should be=0A= # e-mailed. This address appears on some server-generated pages, such=0A= # as error documents.=0A= #=0A= ServerAdmin nubo@mail.tele.dk=0A= =0A= #=0A= # ServerName allows you to set a host name which is sent back to clients = for=0A= # your server if it's different than the one the program would get = (i.e., use=0A= # "www" instead of the host's real name).=0A= #=0A= # Note: You cannot just invent host names and hope they work. The name = you =0A= # define here must be a valid DNS name for your host. If you don't = understand=0A= # this, ask your network administrator.=0A= # If your host doesn't have a registered DNS name, enter its IP address = here.=0A= # You will have to access it by its address (e.g., http://123.45.67.89/)=0A= # anyway, and this will make redirections work in a sensible way.=0A= #=0A= # 127.0.0.1 is the TCP/IP local loop-back address, often named = localhost. Your =0A= # machine always knows itself by this address. If you use Apache = strictly for =0A= # local testing and development, you may use 127.0.0.1 as the server = name.=0A= #=0A= ServerName www.nubo.dk=0A= =0A= #=0A= # DocumentRoot: The directory out of which you will serve your=0A= # documents. By default, all requests are taken from this directory, but=0A= # symbolic links and aliases may be used to point to other locations.=0A= #=0A= DocumentRoot "/usr/local/apache/share/doc/apache/Sites/www.nubo.dk"=0A= #DocumentRoot "/usr/local/apache/htdocs/Sites/"=0A= =0A= #=0A= # Each directory to which Apache has access, can be configured with = respect=0A= # to which services and features are allowed and/or disabled in that=0A= # directory (and its subdirectories). =0A= #=0A= # First, we configure the "default" to be a very restrictive set of =0A= # permissions. =0A= #=0A= =0A= Options FollowSymLinks=0A= AllowOverride All=0A= # AllowOverride None=0A= =0A= =0A= #=0A= # Note that from this point forward you must specifically allow=0A= # particular features to be enabled - so if something's not working as=0A= # you might expect, make sure that you have specifically enabled it=0A= # below.=0A= #=0A= =0A= #=0A= # This should be changed to whatever you set DocumentRoot to.=0A= #=0A= =0A= #=0A= =0A= #=0A= # This may also be "None", "All", or any combination of "Indexes",=0A= # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".=0A= #=0A= # Note that "MultiViews" must be named *explicitly* --- "Options All"=0A= # doesn't give it to you.=0A= #=0A= Options Indexes FollowSymLinks MultiViews=0A= =0A= #=0A= # This controls which options the .htaccess files in directories can=0A= # override. Can also be "All", or any combination of "Options", = "FileInfo", =0A= # "AuthConfig", and "Limit"=0A= #=0A= AllowOverride All=0A= # AllowOverride None=0A= =0A= #=0A= # Controls who can get stuff from this server.=0A= #=0A= Order allow,deny=0A= Allow from all=0A= =0A= =0A= #=0A= # UserDir: The name of the directory which is appended onto a user's home=0A= # directory if a ~user request is received.=0A= #=0A= =0A= UserDir public_html=0A= =0A= =0A= #=0A= # Control access to UserDir directories. The following is an example=0A= # for a site where these directories are restricted to read-only.=0A= #=0A= #=0A= # AllowOverride FileInfo AuthConfig Limit=0A= # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec=0A= # =0A= # Order allow,deny=0A= # Allow from all=0A= # =0A= # =0A= # Order deny,allow=0A= # Deny from all=0A= # =0A= #=0A= =0A= #=0A= # DirectoryIndex: Name of the file or files to use as a pre-written HTML=0A= # directory index. Separate multiple entries with spaces.=0A= #=0A= #=0A= # =0A= # =0A= # DirectoryIndex index.php index.php3 index.html=0A= # =0A= # =0A= # DirectoryIndex index.php3 index.html=0A= # =0A= # =0A= # =0A= # =0A= # DirectoryIndex index.php index.html=0A= # =0A= # =0A= # DirectoryIndex index.html=0A= # =0A= # =0A= #=0A= =0A= #=0A= # AccessFileName: The name of the file to look for in each directory=0A= # for access control information.=0A= #=0A= AccessFileName .htaccess=0A= =0A= #=0A= # The following lines prevent .htaccess files from being viewed by=0A= # Web clients. Since .htaccess files often contain authorization=0A= # information, access is disallowed for security reasons. Comment=0A= # these lines out if you want Web visitors to see the contents of=0A= # .htaccess files. If you change the AccessFileName directive above,=0A= # be sure to make the corresponding changes here.=0A= #=0A= # Also, folks tend to use names such as .htpasswd for password=0A= # files, so this will protect those as well.=0A= #=0A= =0A= Order allow,deny=0A= Deny from all=0A= =0A= =0A= #=0A= # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with = each=0A= # document that was negotiated on the basis of content. This asks proxy=0A= # servers not to cache the document. Uncommenting the following line = disables=0A= # this behavior, and proxies will be allowed to cache the documents.=0A= #=0A= #CacheNegotiatedDocs=0A= =0A= #=0A= # UseCanonicalName: (new for 1.3) With this setting turned on, whenever=0A= # Apache needs to construct a self-referencing URL (a URL that refers = back=0A= # to the server the response is coming from) it will use ServerName and=0A= # Port to form a "canonical" name. With this setting off, Apache will=0A= # use the hostname:port that the client supplied, when possible. This=0A= # also affects SERVER_NAME and SERVER_PORT in CGI scripts.=0A= #=0A= UseCanonicalName On=0A= =0A= #=0A= # TypesConfig describes where the mime.types file (or equivalent) is=0A= # to be found.=0A= #=0A= #=0A= # TypesConfig /usr/local/apache/conf/mime.types=0A= #=0A= =0A= #=0A= # DefaultType is the default MIME type the server will use for a document=0A= # if it cannot otherwise determine one, such as from filename extensions.=0A= # If your server contains mostly text or HTML documents, "text/plain" is=0A= # a good value. If most of your content is binary, such as applications=0A= # or images, you may want to use "application/octet-stream" instead to=0A= # keep browsers from trying to display binary files as though they are=0A= # text.=0A= #=0A= DefaultType text/plain=0A= =0A= #=0A= # The mod_mime_magic module allows the server to use various hints from = the=0A= # contents of the file itself to determine its type. The MIMEMagicFile=0A= # directive tells the module where the hint definitions are located.=0A= # mod_mime_magic is not part of the default server (you have to add=0A= # it yourself with a LoadModule [see the DSO paragraph in the 'Global=0A= # Environment' section], or recompile the server and include = mod_mime_magic=0A= # as part of the configuration), so it's enclosed in an = container.=0A= # This means that the MIMEMagicFile directive will only be processed if = the=0A= # module is part of the server.=0A= #=0A= =0A= MIMEMagicFile /usr/local/apache/conf/magic=0A= =0A= =0A= #=0A= # HostnameLookups: Log the names of clients or just their IP addresses=0A= # e.g., www.apache.org (on) or 204.62.129.132 (off).=0A= # The default is off because it'd be overall better for the net if people=0A= # had to knowingly turn this feature on, since enabling it means that=0A= # each client request will result in AT LEAST one lookup request to the=0A= # nameserver.=0A= #=0A= HostnameLookups Off=0A= =0A= #=0A= # ErrorLog: The location of the error log file.=0A= # If you do not specify an ErrorLog directive within a =0A= # container, error messages relating to that virtual host will be=0A= # logged here. If you *do* define an error logfile for a =0A= # container, that host's errors will be logged there and not here.=0A= #=0A= ErrorLog /usr/local/apache/logs/httpd-error.log=0A= =0A= #=0A= # LogLevel: Control the number of messages logged to the error_log.=0A= # Possible values include: debug, info, notice, warn, error, crit,=0A= # alert, emerg.=0A= #=0A= LogLevel warn=0A= =0A= #=0A= # The following directives define some format nicknames for use with=0A= # a CustomLog directive (see below).=0A= #=0A= LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" = combined=0A= LogFormat "%h %l %u %t \"%r\" %>s %b" common=0A= LogFormat "%{Referer}i -> %U" referer=0A= LogFormat "%{User-agent}i" agent=0A= =0A= #=0A= # The location and format of the access logfile (Common Logfile Format).=0A= # If you do not define any access logfiles within a =0A= # container, they will be logged here. Contrariwise, if you *do*=0A= # define per- access logfiles, transactions will be=0A= # logged therein and *not* in this file.=0A= #=0A= CustomLog /usr/local/apache/logs/httpd-access.log common=0A= =0A= #=0A= # If you would like to have agent and referer logfiles, uncomment the=0A= # following directives.=0A= #=0A= #CustomLog /usr/local/apache/logs/httpd-referer.log referer=0A= #CustomLog /usr/local/apache/logs/httpd-agent.log agent=0A= =0A= #=0A= # If you prefer a single logfile with access, agent, and referer = information=0A= # (Combined Logfile Format) you can use the following directive.=0A= #=0A= CustomLog /usr/local/apache/logs/httpd-access.log combined=0A= =0A= #=0A= # Optionally add a line containing the server version and virtual host=0A= # name to server-generated pages (error documents, FTP directory = listings,=0A= # mod_status and mod_info output etc., but not CGI generated documents).=0A= # Set to "EMail" to also include a mailto: link to the ServerAdmin.=0A= # Set to one of: On | Off | EMail=0A= #=0A= ServerSignature On=0A= =0A= #=0A= # Aliases: Add here as many aliases as you need (with no limit). The = format is =0A= # Alias fakename realname=0A= #=0A= #=0A= =0A= #=0A= # Note that if you include a trailing / on fakename then the server = will=0A= # require it to be present in the URL. So "/icons" isn't aliased in = this=0A= # example, only "/icons/"..=0A= #=0A= # Alias /icons/ "/usr/local/apache/icons/"=0A= =0A= # =0A= # Options Indexes MultiViews=0A= # AllowOverride None=0A= # Order allow,deny=0A= # Allow from all=0A= # =0A= =0A= #=0A= # ScriptAlias: This controls which directories contain server = scripts.=0A= # ScriptAliases are essentially the same as Aliases, except that=0A= # documents in the realname directory are treated as applications and=0A= # run by the server when requested rather than as documents sent to = the client.=0A= # The same rules about trailing "/" apply to ScriptAlias directives = as to=0A= # Alias.=0A= #=0A= ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"=0A= =0A= #=0A= # "/usr/local/apache/cgi-bin" should be changed to whatever your = ScriptAliased=0A= # CGI directory exists, if you have that configured.=0A= #=0A= =0A= AllowOverride None=0A= Options None=0A= Order allow,deny=0A= Allow from all=0A= =0A= =0A= =0A= # End of aliases.=0A= =0A= #=0A= # Redirect allows you to tell clients about documents which used to = exist in=0A= # your server's namespace, but do not anymore. This allows you to tell = the=0A= # clients where to look for the relocated document.=0A= # Format: Redirect old-URI new-URL=0A= #=0A= =0A= #=0A= # Directives controlling the display of server-generated directory = listings.=0A= #=0A= #=0A= =0A= #=0A= # FancyIndexing is whether you want fancy directory indexing or = standard=0A= #=0A= IndexOptions FancyIndexing=0A= =0A= #=0A= # AddIcon* directives tell the server which icon to show for = different=0A= # files or filename extensions. These are only displayed for=0A= # FancyIndexed directories.=0A= #=0A= # AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip=0A= #=0A= # AddIconByType (TXT,/icons/text.gif) text/*=0A= # AddIconByType (IMG,/icons/image2.gif) image/*=0A= # AddIconByType (SND,/icons/sound2.gif) audio/*=0A= # AddIconByType (VID,/icons/movie.gif) video/*=0A= #=0A= # AddIcon /icons/binary.gif .bin .exe=0A= # AddIcon /icons/binhex.gif .hqx=0A= # AddIcon /icons/tar.gif .tar=0A= # AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv=0A= # AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip=0A= # AddIcon /icons/a.gif .ps .ai .eps=0A= # AddIcon /icons/layout.gif .html .shtml .htm .pdf=0A= # AddIcon /icons/text.gif .txt=0A= # AddIcon /icons/c.gif .c=0A= # AddIcon /icons/p.gif .pl .py=0A= # AddIcon /icons/f.gif .for=0A= # AddIcon /icons/dvi.gif .dvi=0A= # AddIcon /icons/uuencoded.gif .uu=0A= # AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl=0A= # AddIcon /icons/tex.gif .tex=0A= # AddIcon /icons/bomb.gif core=0A= =0A= # AddIcon /icons/back.gif ..=0A= # AddIcon /icons/hand.right.gif README=0A= # AddIcon /icons/folder.gif ^^DIRECTORY^^=0A= # AddIcon /icons/blank.gif ^^BLANKICON^^=0A= =0A= #=0A= # DefaultIcon is which icon to show for files which do not have an = icon=0A= # explicitly set.=0A= #=0A= # DefaultIcon /icons/unknown.gif=0A= =0A= #=0A= # AddDescription allows you to place a short description after a = file in=0A= # server-generated indexes. These are only displayed for = FancyIndexed=0A= # directories.=0A= # Format: AddDescription "description" filename=0A= #=0A= #AddDescription "GZIP compressed document" .gz=0A= #AddDescription "tar archive" .tar=0A= #AddDescription "GZIP compressed tar archive" .tgz=0A= =0A= #=0A= # ReadmeName is the name of the README file the server will look for = by=0A= # default, and append to directory listings.=0A= #=0A= # HeaderName is the name of a file which should be prepended to=0A= # directory indexes. =0A= #=0A= # If MultiViews are amongst the Options in effect, the server will=0A= # first look for name.html and include it if found. If name.html=0A= # doesn't exist, the server will then look for name.txt and include=0A= # it as plaintext if found.=0A= #=0A= ReadmeName README=0A= HeaderName HEADER=0A= =0A= #=0A= # IndexIgnore is a set of filenames which directory indexing should = ignore=0A= # and not include in the listing. Shell-style wildcarding is = permitted.=0A= #=0A= IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t=0A= =0A= #=0A= # End of indexing directives.=0A= =0A= #=0A= # Document types.=0A= #=0A= #=0A= =0A= #=0A= # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) = uncompress=0A= # information on the fly. Note: Not all browsers support this.=0A= # Despite the name similarity, the following Add* directives have = nothing=0A= # to do with the FancyIndexing customization directives above.=0A= #=0A= AddEncoding x-compress Z=0A= AddEncoding x-gzip gz tgz=0A= =0A= #=0A= # AddLanguage allows you to specify the language of a document. You = can=0A= # then use content negotiation to give a browser a file in a language=0A= # it can understand. =0A= #=0A= # Note 1: The suffix does not have to be the same as the language =0A= # keyword --- those with documents in Polish (whose net-standard =0A= # language code is pl) may wish to use "AddLanguage pl .po" to =0A= # avoid the ambiguity with the common suffix for perl scripts.=0A= #=0A= # Note 2: The example entries below illustrate that in quite=0A= # some cases the two character 'Language' abbriviation is not=0A= # identical to the two character 'Country' code for its country,=0A= # E.g. 'Danmark/dk' versus 'Danish/da'.=0A= #=0A= # Note 3: In the case of 'ltz' we violate the RFC by using a three = char =0A= # specifier. But there is 'work in progress' to fix this and get =0A= # the reference data for rfc1766 cleaned up.=0A= #=0A= # Danish (da) - Dutch (nl) - English (en) - Estonian (ee)=0A= # French (fr) - German (de) - Greek-Modern (el)=0A= # Italian (it) - Korean (kr) - Norwegian (no)=0A= # Portugese (pt) - Luxembourgeois* (ltz)=0A= # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)=0A= # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)=0A= # Russian (ru)=0A= #=0A= # AddLanguage da .dk=0A= # AddLanguage nl .nl=0A= # AddLanguage en .en=0A= # AddLanguage et .ee=0A= # AddLanguage fr .fr=0A= # AddLanguage de .de=0A= # AddLanguage el .el=0A= # AddLanguage he .he=0A= # AddCharset ISO-8859-8 .iso8859-8=0A= # AddLanguage it .it=0A= # AddLanguage ja .ja=0A= # AddCharset ISO-2022-JP .jis=0A= # AddLanguage kr .kr=0A= # AddCharset ISO-2022-KR .iso-kr=0A= # AddLanguage no .no=0A= # AddLanguage pl .po=0A= # AddCharset ISO-8859-2 .iso-pl=0A= # AddLanguage pt .pt=0A= # AddLanguage pt-br .pt-br=0A= # AddLanguage ltz .lu=0A= # AddLanguage ca .ca=0A= # AddLanguage es .es=0A= # AddLanguage sv .se=0A= # AddLanguage cz .cz=0A= # AddLanguage ru .ru=0A= # AddLanguage tw .tw=0A= # AddCharset Big5 .Big5 .big5=0A= # AddCharset WINDOWS-1251 .cp-1251=0A= # AddCharset CP866 .cp866=0A= # AddCharset ISO-8859-5 .iso-ru=0A= # AddCharset KOI8-R .koi8-r=0A= # AddCharset UCS-2 .ucs2=0A= # AddCharset UCS-4 .ucs4=0A= # AddCharset UTF-8 .utf8=0A= #=0A= # LanguagePriority allows you to give precedence to some languages=0A= # in case of a tie during content negotiation.=0A= #=0A= # Just list the languages in decreasing order of preference. We have=0A= # more or less alphabetized them here. You probably want to change = this.=0A= #=0A= # =0A= # LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br = ru ltz ca es sv tw=0A= # =0A= =0A= #=0A= # AddType allows you to tweak mime.types without actually editing = it, or to=0A= # make certain files to be certain types.=0A= #=0A= # For example, the PHP 3.x module (not part of the Apache = distribution - see=0A= # http://www.php.net) will typically use:=0A= #=0A= =0A= AddType application/x-httpd-php3 .php3=0A= AddType application/x-httpd-php3-source .php3s=0A= =0A= #=0A= # And for PHP 4.x, use:=0A= #=0A= =0A= AddType application/x-httpd-php .php=0A= AddType application/x-httpd-php-source .phps=0A= =0A= =0A= AddType application/x-tar .tgz=0A= =0A= #=0A= # AddHandler allows you to map certain file extensions to "handlers",=0A= # actions unrelated to filetype. These can be either built into the = server=0A= # or added with the Action command (see below)=0A= #=0A= # If you want to use server side includes, or CGI outside=0A= # ScriptAliased directories, uncomment the following lines.=0A= #=0A= # To use CGI scripts:=0A= #=0A= #AddHandler cgi-script .cgi=0A= =0A= #=0A= # To use server-parsed HTML files=0A= #=0A= #AddType text/html .shtml=0A= #AddHandler server-parsed .shtml=0A= =0A= #=0A= # Uncomment the following line to enable Apache's send-asis HTTP file=0A= # feature=0A= #=0A= #AddHandler send-as-is asis=0A= =0A= #=0A= # If you wish to use server-parsed imagemap files, use=0A= #=0A= #AddHandler imap-file map=0A= =0A= #=0A= # To enable type maps, you might want to use=0A= #=0A= #AddHandler type-map var=0A= =0A= #=0A= # End of document types.=0A= =0A= #=0A= # Action lets you define media types that will execute a script whenever=0A= # a matching file is called. This eliminates the need for repeated URL=0A= # pathnames for oft-used CGI file processors.=0A= # Format: Action media/type /cgi-script/location=0A= # Format: Action handler-name /cgi-script/location=0A= #=0A= =0A= #=0A= # MetaDir: specifies the name of the directory in which Apache can find=0A= # meta information files. These files contain additional HTTP headers=0A= # to include when sending the document=0A= #=0A= #MetaDir .web=0A= =0A= #=0A= # MetaSuffix: specifies the file name suffix for the file containing the=0A= # meta information.=0A= #=0A= #MetaSuffix .meta=0A= =0A= #=0A= # Customizable error response (Apache style)=0A= # these come in three flavors=0A= #=0A= # 1) plain text=0A= #ErrorDocument 500 "The server made a boo boo.=0A= # n.b. the single leading (") marks it as text, it does not get output=0A= #=0A= # 2) local redirects=0A= #ErrorDocument 404 /missing.html=0A= # to redirect to local URL /missing.html=0A= #ErrorDocument 404 /cgi-bin/missing_handler.pl=0A= # N.B.: You can redirect to a script or a document using = server-side-includes.=0A= #=0A= # 3) external redirects=0A= #ErrorDocument 402 http://some.other_server.com/subscription_info.html=0A= # N.B.: Many of the environment variables associated with the original=0A= # request will *not* be available to such a script.=0A= =0A= #=0A= # Customize behaviour based on the browser=0A= #=0A= =0A= =0A= #=0A= # The following directives modify normal HTTP response behavior.=0A= # The first directive disables keepalive for Netscape 2.x and = browsers that=0A= # spoof it. There are known problems with these browser = implementations.=0A= # The second directive is for Microsoft Internet Explorer 4.0b2=0A= # which has a broken HTTP/1.1 implementation and does not properly=0A= # support keepalive when it is used on 301 or 302 (redirect) = responses.=0A= #=0A= BrowserMatch "Mozilla/2" nokeepalive=0A= BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 = force-response-1.0=0A= =0A= #=0A= # The following directive disables HTTP/1.1 responses to browsers = which=0A= # are in violation of the HTTP/1.0 spec by not being able to grok a=0A= # basic 1.1 response.=0A= #=0A= BrowserMatch "RealPlayer 4\.0" force-response-1.0=0A= BrowserMatch "Java/1\.0" force-response-1.0=0A= BrowserMatch "JDK/1\.0" force-response-1.0=0A= =0A= =0A= # End of browser customization directives=0A= =0A= #=0A= # Allow server status reports, with the URL of = http://servername/server-status=0A= # Change the ".your_domain.com" to match your domain to enable.=0A= #=0A= #=0A= # SetHandler server-status=0A= # Order deny,allow=0A= # Deny from all=0A= # Allow from .your_domain.com=0A= #=0A= =0A= #=0A= # Allow remote server configuration reports, with the URL of=0A= # http://servername/server-info (requires that mod_info.c be loaded).=0A= # Change the ".your_domain.com" to match your domain to enable.=0A= #=0A= #=0A= # SetHandler server-info=0A= # Order deny,allow=0A= # Deny from all=0A= # Allow from .your_domain.com=0A= #=0A= =0A= #=0A= # There have been reports of people trying to abuse an old bug from = pre-1.1=0A= # days. This bug involved a CGI script distributed as a part of Apache.=0A= # By uncommenting these lines you can redirect these attacks to a = logging =0A= # script on phf.apache.org. Or, you can record them yourself, using the = script=0A= # support/phf_abuse_log.cgi.=0A= #=0A= #=0A= # Deny from all=0A= # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi=0A= #=0A= =0A= #=0A= # Proxy Server directives. Uncomment the following lines to=0A= # enable the proxy server:=0A= #=0A= #=0A= # ProxyRequests On=0A= =0A= # =0A= # Order deny,allow=0A= # Deny from all=0A= # Allow from .your_domain.com=0A= # =0A= =0A= #=0A= # Enable/disable the handling of HTTP/1.1 "Via:" headers.=0A= # ("Full" adds the server version; "Block" removes all outgoing Via: = headers)=0A= # Set to one of: Off | On | Full | Block=0A= #=0A= # ProxyVia On=0A= #=0A= # To enable the cache as well, edit and uncomment the following = lines:=0A= # (no cacheing without CacheRoot)=0A= #=0A= # CacheRoot "/usr/local/apache/proxy"=0A= # CacheSize 5=0A= # CacheGcInterval 4=0A= # CacheMaxExpire 24=0A= # CacheLastModifiedFactor 0.1=0A= # CacheDefaultExpire 1=0A= # NoCache a_domain.com another_domain.edu joes.garage_sale.com=0A= =0A= #=0A= # End of proxy directives.=0A= =0A= ### Section 3: Virtual Hosts=0A= #=0A= # VirtualHost: If you want to maintain multiple domains/hostnames on your=0A= # machine you can setup VirtualHost containers for them. Most = configurations=0A= # use only name-based virtual hosts so the server doesn't need to worry = about=0A= # IP addresses. This is indicated by the asterisks in the directives = below.=0A= #=0A= # Please see the documentation at = =0A= # for further details before you try to setup virtual hosts.=0A= #=0A= # You may use the command line option '-S' to verify your virtual host=0A= # configuration.=0A= =0A= #=0A= # Use name-based virtual hosting.=0A= #=0A= NameVirtualHost 62.242.25.98=0A= =0A= #=0A= # VirtualHost example:=0A= # Almost any Apache directive may go into a VirtualHost container.=0A= # The first VirtualHost section is used for requests without a known=0A= # server name.=0A= #=0A= #=0A= # ServerAdmin webmaster@dummy-host.example.com=0A= # DocumentRoot /www/docs/dummy-host.example.com=0A= # ServerName dummy-host.example.com=0A= # ErrorLog logs/dummy-host.example.com-error_log=0A= # CustomLog logs/dummy-host.example.com-access_log common=0A= #=0A= #=0A= #=0A= #=0A= =0A= ServerName www.nubo.dk=0A= ServerAdmin nubo@mail.tele.dk=0A= ErrorLog /usr/local/apache/logs/nubo.log=0A= DocumentRoot /usr/local/apache/share/doc/apache/Sites/www.nubo.dk/=0A= =0A= #=0A= #=0A= #=0A= =0A= ServerName www.toxitwaste.dk=0A= ServerAdmin nubo@mail.tele.dk=0A= ErrorLog /usr/local/apache/logs/toxitwaste.log=0A= DocumentRoot = /usr/local/apache/share/doc/apache/Sites/www.toxitwaste.dk/=0A= =0A= ------=_NextPart_000_0000_01C0B321.01E12980-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message