Skip to content

Commit 7dfc47a

Browse files
committed
update
1 parent bfa3aea commit 7dfc47a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+4661
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
#
2+
# Directives controlling the display of server-generated directory listings.
3+
#
4+
# Required modules: mod_autoindex, mod_alias
5+
#
6+
# To see the listing of a directory, the Options directive for the
7+
# directory must include "Indexes", and the directory must not contain
8+
# a file matching those listed in the DirectoryIndex directive.
9+
#
10+
11+
#
12+
# IndexOptions: Controls the appearance of server-generated directory
13+
# listings.
14+
#
15+
IndexOptions FancyIndexing HTMLTable VersionSort
16+
17+
# We include the /icons/ alias for FancyIndexed directory listings. If
18+
# you do not use FancyIndexing, you may comment this out.
19+
#
20+
Alias /icons/ "/alidata/server/httpd/icons/"
21+
22+
<Directory "/alidata/server/httpd/icons">
23+
Options Indexes MultiViews
24+
AllowOverride None
25+
Order allow,deny
26+
Allow from all
27+
</Directory>
28+
29+
#
30+
# AddIcon* directives tell the server which icon to show for different
31+
# files or filename extensions. These are only displayed for
32+
# FancyIndexed directories.
33+
#
34+
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
35+
36+
AddIconByType (TXT,/icons/text.gif) text/*
37+
AddIconByType (IMG,/icons/image2.gif) image/*
38+
AddIconByType (SND,/icons/sound2.gif) audio/*
39+
AddIconByType (VID,/icons/movie.gif) video/*
40+
41+
AddIcon /icons/binary.gif .bin .exe
42+
AddIcon /icons/binhex.gif .hqx
43+
AddIcon /icons/tar.gif .tar
44+
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
45+
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
46+
AddIcon /icons/a.gif .ps .ai .eps
47+
AddIcon /icons/layout.gif .html .shtml .htm .pdf
48+
AddIcon /icons/text.gif .txt
49+
AddIcon /icons/c.gif .c
50+
AddIcon /icons/p.gif .pl .py
51+
AddIcon /icons/f.gif .for
52+
AddIcon /icons/dvi.gif .dvi
53+
AddIcon /icons/uuencoded.gif .uu
54+
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
55+
AddIcon /icons/tex.gif .tex
56+
AddIcon /icons/bomb.gif core
57+
58+
AddIcon /icons/back.gif ..
59+
AddIcon /icons/hand.right.gif README
60+
AddIcon /icons/folder.gif ^^DIRECTORY^^
61+
AddIcon /icons/blank.gif ^^BLANKICON^^
62+
63+
#
64+
# DefaultIcon is which icon to show for files which do not have an icon
65+
# explicitly set.
66+
#
67+
DefaultIcon /icons/unknown.gif
68+
69+
#
70+
# AddDescription allows you to place a short description after a file in
71+
# server-generated indexes. These are only displayed for FancyIndexed
72+
# directories.
73+
# Format: AddDescription "description" filename
74+
#
75+
#AddDescription "GZIP compressed document" .gz
76+
#AddDescription "tar archive" .tar
77+
#AddDescription "GZIP compressed tar archive" .tgz
78+
79+
#
80+
# ReadmeName is the name of the README file the server will look for by
81+
# default, and append to directory listings.
82+
#
83+
# HeaderName is the name of a file which should be prepended to
84+
# directory indexes.
85+
ReadmeName README.html
86+
HeaderName HEADER.html
87+
88+
#
89+
# IndexIgnore is a set of filenames which directory indexing should ignore
90+
# and not include in the listing. Shell-style wildcarding is permitted.
91+
#
92+
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
93+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#
2+
# Distributed authoring and versioning (WebDAV)
3+
#
4+
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
5+
# mod_auth_digest, mod_authn_file
6+
#
7+
8+
# The following example gives DAV write access to a directory called
9+
# "uploads" under the ServerRoot directory.
10+
#
11+
# The User/Group specified in httpd.conf needs to have write permissions
12+
# on the directory where the DavLockDB is placed and on any directory where
13+
# "Dav On" is specified.
14+
15+
DavLockDB "/alidata/server/httpd/var/DavLock"
16+
17+
Alias /uploads "/alidata/server/httpd/uploads"
18+
19+
<Directory "/alidata/server/httpd/uploads">
20+
Dav On
21+
22+
Order Allow,Deny
23+
Allow from all
24+
25+
AuthType Digest
26+
AuthName DAV-upload
27+
28+
# You can use the htdigest program to create the password database:
29+
# htdigest -c "/alidata/server/httpd/user.passwd" DAV-upload admin
30+
AuthUserFile "/alidata/server/httpd/user.passwd"
31+
AuthDigestProvider file
32+
33+
# Allow universal read-access, but writes are restricted
34+
# to the admin user.
35+
<LimitExcept GET OPTIONS>
36+
require user admin
37+
</LimitExcept>
38+
</Directory>
39+
40+
#
41+
# The following directives disable redirects on non-GET requests for
42+
# a directory that does not include the trailing slash. This fixes a
43+
# problem with several clients that do not appropriately handle
44+
# redirects for folders with DAV methods.
45+
#
46+
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
47+
BrowserMatch "MS FrontPage" redirect-carefully
48+
BrowserMatch "^WebDrive" redirect-carefully
49+
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
50+
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
51+
BrowserMatch "^XML Spy" redirect-carefully
52+
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
#
2+
# This configuration file reflects default settings for Apache HTTP Server.
3+
#
4+
# You may change these, but chances are that you may not need to.
5+
#
6+
7+
#
8+
# Timeout: The number of seconds before receives and sends time out.
9+
#
10+
Timeout 300
11+
12+
#
13+
# KeepAlive: Whether or not to allow persistent connections (more than
14+
# one request per connection). Set to "Off" to deactivate.
15+
#
16+
KeepAlive On
17+
18+
#
19+
# MaxKeepAliveRequests: The maximum number of requests to allow
20+
# during a persistent connection. Set to 0 to allow an unlimited amount.
21+
# We recommend you leave this number high, for maximum performance.
22+
#
23+
MaxKeepAliveRequests 100
24+
25+
#
26+
# KeepAliveTimeout: Number of seconds to wait for the next request from the
27+
# same client on the same connection.
28+
#
29+
KeepAliveTimeout 5
30+
31+
#
32+
# UseCanonicalName: Determines how Apache constructs self-referencing
33+
# URLs and the SERVER_NAME and SERVER_PORT variables.
34+
# When set "Off", Apache will use the Hostname and Port supplied
35+
# by the client. When set "On", Apache will use the value of the
36+
# ServerName directive.
37+
#
38+
UseCanonicalName Off
39+
40+
#
41+
# AccessFileName: The name of the file to look for in each directory
42+
# for additional configuration directives. See also the AllowOverride
43+
# directive.
44+
#
45+
AccessFileName .htaccess
46+
47+
#
48+
# ServerTokens
49+
# This directive configures what you return as the Server HTTP response
50+
# Header. The default is 'Full' which sends information about the OS-Type
51+
# and compiled in modules.
52+
# Set to one of: Full | OS | Minor | Minimal | Major | Prod
53+
# where Full conveys the most information, and Prod the least.
54+
#
55+
ServerTokens Full
56+
57+
#
58+
# Optionally add a line containing the server version and virtual host
59+
# name to server-generated pages (internal error documents, FTP directory
60+
# listings, mod_status and mod_info output etc., but not CGI generated
61+
# documents or custom error documents).
62+
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
63+
# Set to one of: On | Off | EMail
64+
#
65+
ServerSignature On
66+
67+
#
68+
# HostnameLookups: Log the names of clients or just their IP addresses
69+
# e.g., www.apache.org (on) or 204.62.129.132 (off).
70+
# The default is off because it'd be overall better for the net if people
71+
# had to knowingly turn this feature on, since enabling it means that
72+
# each client request will result in AT LEAST one lookup request to the
73+
# nameserver.
74+
#
75+
HostnameLookups Off
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#
2+
# Get information about the requests being processed by the server
3+
# and the configuration of the server.
4+
#
5+
# Required modules: mod_status (for the server-status handler),
6+
# mod_info (for the server-info handler)
7+
8+
#
9+
# Allow server status reports generated by mod_status,
10+
# with the URL of http://servername/server-status
11+
# Change the ".example.com" to match your domain to enable.
12+
13+
<Location /server-status>
14+
SetHandler server-status
15+
Order deny,allow
16+
Deny from all
17+
Allow from .example.com
18+
</Location>
19+
20+
#
21+
# ExtendedStatus controls whether Apache will generate "full" status
22+
# information (ExtendedStatus On) or just basic information (ExtendedStatus
23+
# Off) when the "server-status" handler is called. The default is Off.
24+
#
25+
#ExtendedStatus On
26+
27+
#
28+
# Allow remote server configuration reports, with the URL of
29+
# http://servername/server-info (requires that mod_info.c be loaded).
30+
# Change the ".example.com" to match your domain to enable.
31+
#
32+
<Location /server-info>
33+
SetHandler server-info
34+
Order deny,allow
35+
Deny from all
36+
Allow from .example.com
37+
</Location>

0 commit comments

Comments
 (0)