ОС Debian GNU/Linux 6.0
Ядро 2.6.32-5-amd64
Apache/2.2.16
Конфиг Apache:
Код: Выделить всё
LockFile ${APACHE_LOCK_DIR}/accept.lock
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy all
</Files>
DefaultType text/plain
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
Include mods-enabled/*.load
Include mods-enabled/*.conf
# Include ports listing
Include ports.conf
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# Include the virtual host configurations:
Include sites-enabled/
Код: Выделить всё
lrwxrwxrwx 1 root root 28 Фев 16 00:49 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 Фев 16 00:49 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 Фев 16 00:49 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 Фев 16 00:49 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 Фев 16 00:49 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 Фев 16 00:49 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 Фев 16 00:49 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 Фев 16 00:49 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 Фев 16 00:49 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 Фев 16 00:49 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 Фев 16 00:49 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 26 Фев 23 00:17 dav.load -> ../mods-available/dav.load
lrwxrwxrwx 1 root root 30 Фев 23 00:17 dav_svn.load -> ../mods-available/dav_svn.load
lrwxrwxrwx 1 root root 30 Фев 16 00:49 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 Фев 16 00:49 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 Фев 16 00:49 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 Фев 16 00:49 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 Фев 16 00:49 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 27 Фев 16 00:49 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 Фев 16 00:49 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 Фев 16 00:49 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 Фев 16 00:49 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 Фев 16 00:49 perl.load -> ../mods-available/perl.load
lrwxrwxrwx 1 root root 27 Фев 16 00:49 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 Фев 16 00:49 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 33 Фев 16 00:49 reqtimeout.conf -> ../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 Фев 16 00:49 reqtimeout.load -> ../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 31 Фев 16 00:49 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 Фев 16 00:49 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 Фев 16 00:49 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 Фев 16 00:49 status.load -> ../mods-available/status.load
Код: Выделить всё
lrwxrwxrwx 1 root root 44 Мар 3 22:23 example.com -> ../sites-available/example.com
lrwxrwxrwx 1 root root 38 Мар 4 13:08 svn.exemple.com -> ../sites-available/svn.example.com
Код: Выделить всё
<VirtualHost *:80>
ServerAdmin admin@example.com
ServerName svn.example.com
AddDefaultCharset utf-8
DocumentRoot /mnt/media/svn
<Location /svn>
DAV svn
SVNParentPath /mnt/data/svn
SVNListParentPath on
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/subversion/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/svn.example.com/error.log
CustomLog ${APACHE_LOG_DIR}/svn.example.com/access.log combined
</VirtualHost>
Код: Выделить всё
alex:bkalobhhrbz
Код: Выделить всё
drwxrws--- 6 www-data subversion 80 Мар 4 01:28 repository1
drwxrws--- 6 www-data subversion 80 Мар 4 01:28 repository2
Код: Выделить всё
...
subversion:x:1001:alex,www-data
...
Код: Выделить всё
[Sun Mar 04 15:21:29 2012] [crit] [client 192.168.10.1] (13)Permission denied: /mnt/media/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Mar 04 15:21:35 2012] [crit] [client 192.168.10.1] (13)Permission denied: /mnt/media/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Код: Выделить всё
192.168.10.1 - - [04/Mar/2012:15:21:29 +0200] "GET /svn HTTP/1.1" 403 500 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
192.168.10.1 - - [04/Mar/2012:15:21:35 +0200] "GET /svn/repository1/ HTTP/1.1" 403 507 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"