forked from hhhcommon/kjyw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
4,661 additions
and
0 deletions.
There are no files selected for viewing
93 changes: 93 additions & 0 deletions
93
shell/lanmp/apache/config-httpd/config-httpd-2.2.22/extra/httpd-autoindex.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# | ||
# Directives controlling the display of server-generated directory listings. | ||
# | ||
# Required modules: mod_autoindex, mod_alias | ||
# | ||
# To see the listing of a directory, the Options directive for the | ||
# directory must include "Indexes", and the directory must not contain | ||
# a file matching those listed in the DirectoryIndex directive. | ||
# | ||
|
||
# | ||
# IndexOptions: Controls the appearance of server-generated directory | ||
# listings. | ||
# | ||
IndexOptions FancyIndexing HTMLTable VersionSort | ||
|
||
# We include the /icons/ alias for FancyIndexed directory listings. If | ||
# you do not use FancyIndexing, you may comment this out. | ||
# | ||
Alias /icons/ "/alidata/server/httpd/icons/" | ||
|
||
<Directory "/alidata/server/httpd/icons"> | ||
Options Indexes MultiViews | ||
AllowOverride None | ||
Order allow,deny | ||
Allow from all | ||
</Directory> | ||
|
||
# | ||
# AddIcon* directives tell the server which icon to show for different | ||
# files or filename extensions. These are only displayed for | ||
# FancyIndexed directories. | ||
# | ||
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/binary.gif .bin .exe | ||
AddIcon /icons/binhex.gif .hqx | ||
AddIcon /icons/tar.gif .tar | ||
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv | ||
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip | ||
AddIcon /icons/a.gif .ps .ai .eps | ||
AddIcon /icons/layout.gif .html .shtml .htm .pdf | ||
AddIcon /icons/text.gif .txt | ||
AddIcon /icons/c.gif .c | ||
AddIcon /icons/p.gif .pl .py | ||
AddIcon /icons/f.gif .for | ||
AddIcon /icons/dvi.gif .dvi | ||
AddIcon /icons/uuencoded.gif .uu | ||
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl | ||
AddIcon /icons/tex.gif .tex | ||
AddIcon /icons/bomb.gif core | ||
|
||
AddIcon /icons/back.gif .. | ||
AddIcon /icons/hand.right.gif README | ||
AddIcon /icons/folder.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. These are only displayed for FancyIndexed | ||
# directories. | ||
# Format: AddDescription "description" filename | ||
# | ||
#AddDescription "GZIP compressed document" .gz | ||
#AddDescription "tar archive" .tar | ||
#AddDescription "GZIP compressed tar archive" .tgz | ||
|
||
# | ||
# ReadmeName is the name of the README file the server will look for by | ||
# default, and append to directory listings. | ||
# | ||
# HeaderName is the name of a file which should be prepended to | ||
# directory indexes. | ||
ReadmeName README.html | ||
HeaderName HEADER.html | ||
|
||
# | ||
# IndexIgnore is a set of filenames which directory indexing should ignore | ||
# and not include in the listing. Shell-style wildcarding is permitted. | ||
# | ||
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t | ||
|
52 changes: 52 additions & 0 deletions
52
shell/lanmp/apache/config-httpd/config-httpd-2.2.22/extra/httpd-dav.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# Distributed authoring and versioning (WebDAV) | ||
# | ||
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias | ||
# mod_auth_digest, mod_authn_file | ||
# | ||
|
||
# The following example gives DAV write access to a directory called | ||
# "uploads" under the ServerRoot directory. | ||
# | ||
# The User/Group specified in httpd.conf needs to have write permissions | ||
# on the directory where the DavLockDB is placed and on any directory where | ||
# "Dav On" is specified. | ||
|
||
DavLockDB "/alidata/server/httpd/var/DavLock" | ||
|
||
Alias /uploads "/alidata/server/httpd/uploads" | ||
|
||
<Directory "/alidata/server/httpd/uploads"> | ||
Dav On | ||
|
||
Order Allow,Deny | ||
Allow from all | ||
|
||
AuthType Digest | ||
AuthName DAV-upload | ||
|
||
# You can use the htdigest program to create the password database: | ||
# htdigest -c "/alidata/server/httpd/user.passwd" DAV-upload admin | ||
AuthUserFile "/alidata/server/httpd/user.passwd" | ||
AuthDigestProvider file | ||
|
||
# Allow universal read-access, but writes are restricted | ||
# to the admin user. | ||
<LimitExcept GET OPTIONS> | ||
require user admin | ||
</LimitExcept> | ||
</Directory> | ||
|
||
# | ||
# The following directives disable redirects on non-GET requests for | ||
# a directory that does not include the trailing slash. This fixes a | ||
# problem with several clients that do not appropriately handle | ||
# redirects for folders with DAV methods. | ||
# | ||
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully | ||
BrowserMatch "MS FrontPage" redirect-carefully | ||
BrowserMatch "^WebDrive" redirect-carefully | ||
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully | ||
BrowserMatch "^gnome-vfs/1.0" redirect-carefully | ||
BrowserMatch "^XML Spy" redirect-carefully | ||
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully |
75 changes: 75 additions & 0 deletions
75
shell/lanmp/apache/config-httpd/config-httpd-2.2.22/extra/httpd-default.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# | ||
# This configuration file reflects default settings for Apache HTTP Server. | ||
# | ||
# You may change these, but chances are that you may not need to. | ||
# | ||
|
||
# | ||
# Timeout: The number of seconds before receives and sends time out. | ||
# | ||
Timeout 300 | ||
|
||
# | ||
# KeepAlive: Whether or not to allow persistent connections (more than | ||
# one request per connection). Set to "Off" to deactivate. | ||
# | ||
KeepAlive On | ||
|
||
# | ||
# MaxKeepAliveRequests: The maximum number of requests to allow | ||
# during a persistent connection. Set to 0 to allow an unlimited amount. | ||
# We recommend you leave this number high, for maximum performance. | ||
# | ||
MaxKeepAliveRequests 100 | ||
|
||
# | ||
# KeepAliveTimeout: Number of seconds to wait for the next request from the | ||
# same client on the same connection. | ||
# | ||
KeepAliveTimeout 5 | ||
|
||
# | ||
# UseCanonicalName: Determines how Apache constructs self-referencing | ||
# URLs and the SERVER_NAME and SERVER_PORT variables. | ||
# When set "Off", Apache will use the Hostname and Port supplied | ||
# by the client. When set "On", Apache will use the value of the | ||
# ServerName directive. | ||
# | ||
UseCanonicalName Off | ||
|
||
# | ||
# AccessFileName: The name of the file to look for in each directory | ||
# for additional configuration directives. See also the AllowOverride | ||
# directive. | ||
# | ||
AccessFileName .htaccess | ||
|
||
# | ||
# ServerTokens | ||
# This directive configures what you return as the Server HTTP response | ||
# Header. The default is 'Full' which sends information about the OS-Type | ||
# and compiled in modules. | ||
# Set to one of: Full | OS | Minor | Minimal | Major | Prod | ||
# where Full conveys the most information, and Prod the least. | ||
# | ||
ServerTokens Full | ||
|
||
# | ||
# Optionally add a line containing the server version and virtual host | ||
# name to server-generated pages (internal error documents, FTP directory | ||
# listings, mod_status and mod_info output etc., but not CGI generated | ||
# documents or custom error documents). | ||
# Set to "EMail" to also include a mailto: link to the ServerAdmin. | ||
# Set to one of: On | Off | EMail | ||
# | ||
ServerSignature On | ||
|
||
# | ||
# HostnameLookups: Log the names of clients or just their IP addresses | ||
# e.g., www.apache.org (on) or 204.62.129.132 (off). | ||
# The default is off because it'd be overall better for the net if people | ||
# had to knowingly turn this feature on, since enabling it means that | ||
# each client request will result in AT LEAST one lookup request to the | ||
# nameserver. | ||
# | ||
HostnameLookups Off |
37 changes: 37 additions & 0 deletions
37
shell/lanmp/apache/config-httpd/config-httpd-2.2.22/extra/httpd-info.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# Get information about the requests being processed by the server | ||
# and the configuration of the server. | ||
# | ||
# Required modules: mod_status (for the server-status handler), | ||
# mod_info (for the server-info handler) | ||
|
||
# | ||
# Allow server status reports generated by mod_status, | ||
# with the URL of http://servername/server-status | ||
# Change the ".example.com" to match your domain to enable. | ||
|
||
<Location /server-status> | ||
SetHandler server-status | ||
Order deny,allow | ||
Deny from all | ||
Allow from .example.com | ||
</Location> | ||
|
||
# | ||
# ExtendedStatus controls whether Apache will generate "full" status | ||
# information (ExtendedStatus On) or just basic information (ExtendedStatus | ||
# Off) when the "server-status" handler is called. The default is Off. | ||
# | ||
#ExtendedStatus On | ||
|
||
# | ||
# Allow remote server configuration reports, with the URL of | ||
# http://servername/server-info (requires that mod_info.c be loaded). | ||
# Change the ".example.com" to match your domain to enable. | ||
# | ||
<Location /server-info> | ||
SetHandler server-info | ||
Order deny,allow | ||
Deny from all | ||
Allow from .example.com | ||
</Location> |
Oops, something went wrong.