188 lines
5.2 KiB
ApacheConf
188 lines
5.2 KiB
ApacheConf
#------------------------------------------------------------
|
|
# !!DO NOT MODIFY THIS FILE!!
|
|
#
|
|
# Manual changes will be lost when this file is regenerated.
|
|
#
|
|
# Please read the developer's guide, which is available
|
|
# at http://www.contribs.org/development/
|
|
#
|
|
# Copyright (C) 1999-2006 Mitel Networks Corporation
|
|
#------------------------------------------------------------
|
|
|
|
|
|
LoadModule auth_tkt_module modules/mod_auth_tkt.so
|
|
TKTAuthSecret "1234"
|
|
|
|
|
|
Listen 127.0.0.1:950
|
|
|
|
HostnameLookups off
|
|
|
|
ServerAdmin admin
|
|
ServerRoot /etc/httpd
|
|
ServerTokens ProductOnly
|
|
|
|
User backuppc
|
|
Group backuppc
|
|
|
|
ErrorLog /var/log/httpd/bkpc_error_log
|
|
LogLevel warn
|
|
LoadModule env_module modules/mod_env.so
|
|
LoadModule log_config_module modules/mod_log_config.so
|
|
LoadModule mime_module modules/mod_mime.so
|
|
LoadModule negotiation_module modules/mod_negotiation.so
|
|
LoadModule status_module modules/mod_status.so
|
|
LoadModule info_module modules/mod_info.so
|
|
LoadModule include_module modules/mod_include.so
|
|
LoadModule autoindex_module modules/mod_autoindex.so
|
|
LoadModule dir_module modules/mod_dir.so
|
|
LoadModule asis_module modules/mod_asis.so
|
|
LoadModule imap_module modules/mod_imap.so
|
|
LoadModule actions_module modules/mod_actions.so
|
|
LoadModule userdir_module modules/mod_userdir.so
|
|
LoadModule proxy_module modules/mod_proxy.so
|
|
LoadModule proxy_http_module modules/mod_proxy_http.so
|
|
LoadModule alias_module modules/mod_alias.so
|
|
LoadModule rewrite_module modules/mod_rewrite.so
|
|
LoadModule access_module modules/mod_access.so
|
|
LoadModule auth_module modules/mod_auth.so
|
|
LoadModule auth_anon_module modules/mod_auth_anon.so
|
|
LoadModule auth_digest_module modules/mod_auth_digest.so
|
|
LoadModule expires_module modules/mod_expires.so
|
|
LoadModule headers_module modules/mod_headers.so
|
|
LoadModule usertrack_module modules/mod_usertrack.so
|
|
LoadModule setenvif_module modules/mod_setenvif.so
|
|
LoadModule ssl_module modules/mod_ssl.so
|
|
LoadModule cgi_module modules/mod_cgi.so
|
|
|
|
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
|
LoadModule unixd_module modules/mod_unixd.so
|
|
LoadModule authn_core_module modules/mod_authn_core.so
|
|
LoadModule : modules/mod_authz_core.so
|
|
|
|
|
|
PidFile /var/run/httpd-bkpc.pid
|
|
ScoreBoardFile /var/run/httpd-bkpc.scoreboard
|
|
UseCanonicalName off
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
|
LogFormat "%{User-agent}i" agent
|
|
|
|
CustomLog /var/log/httpd/bkpc_access_log common
|
|
|
|
KeepAlive On
|
|
MaxKeepAliveRequests 100
|
|
KeepAliveTimeout 15
|
|
|
|
MaxClients 150
|
|
MaxRequestsPerChild 100
|
|
|
|
ServerName www.domain.tld
|
|
|
|
MinSpareServers 1
|
|
MaxSpareServers 5
|
|
StartServers 1
|
|
Timeout 300
|
|
|
|
DefaultIcon /icons/unknown.gif
|
|
DirectoryIndex index.htm index.html index.php index.cgi
|
|
IndexOptions FancyIndexing VersionSort NameWidth=*
|
|
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
|
AccessFileName .htaccess
|
|
|
|
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/*
|
|
DefaultType text/plain
|
|
TypesConfig /etc/mime.types
|
|
|
|
AddEncoding x-compress Z
|
|
AddEncoding x-gzip gz
|
|
|
|
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^^
|
|
|
|
AddLanguage en .en
|
|
AddLanguage fr .fr
|
|
AddLanguage de .de
|
|
AddLanguage da .da
|
|
AddLanguage el .el
|
|
AddLanguage it .it
|
|
|
|
LanguagePriority en fr de
|
|
|
|
AddType text/html .shtml
|
|
AddType application/x-pkcs7-crl .crl
|
|
|
|
AddType application/x-x509-ca-cert .crt
|
|
|
|
BrowserMatch "Mozilla/2" nokeepalive
|
|
BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
|
|
BrowserMatch "RealPlayer 4.0" force-response-1.0
|
|
BrowserMatch "Java/1.0" force-response-1.0
|
|
BrowserMatch "JDK/1.0" force-response-1.0
|
|
|
|
AddHandler cgi-script .cgi
|
|
AddHandler server-parsed .shtml
|
|
AddHandler imap-file map
|
|
|
|
DocumentRoot /usr/share/BackupPC/html
|
|
|
|
|
|
|
|
|
|
# First, we configure the "default" to be a very restrictive set of
|
|
# permissions.
|
|
|
|
<Directory />
|
|
Options None
|
|
AllowOverride None
|
|
Require all denied
|
|
</Directory>
|
|
|
|
|
|
|
|
Alias /BackupPC/images /usr/share/BackupPC/html/
|
|
ScriptAlias /BackupPC /usr/share/BackupPC/sbin/BackupPC_Admin
|
|
|
|
<Directory /usr/share/BackupPC/html/>
|
|
Options None
|
|
AllowOverride None
|
|
Require ip 127.0.0.1
|
|
</Directory>
|
|
|
|
<Directory /usr/share/BackupPC/sbin/>
|
|
Options ExecCGI
|
|
AllowOverride None
|
|
AuthName "BackupPC"
|
|
AuthType Basic
|
|
TKTAuthLoginURL /server-common/cgi-bin/login
|
|
SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
|
|
<RequireAll>
|
|
Require valid-user
|
|
Require ip 127.0.0.1
|
|
</RequireAll>
|
|
</Directory>
|
|
|
|
|