blob: fe9772fcabb634139c0ee83161e7d9f721b7afb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
�� ������ (� �� ���������� ������� ���) ������������� �������� ���
� ������� CVSup. ���� �� ��������� � apache, ������������� ��
��������� ������, ��������� ���� ��������� ������� �������� �����
www.freebsd.org �� ������� http://wwwN.XX.freebsd.org/. �������, ����
� ������ ��������..
1) ��� ��������� WWW-������� �������� ���� ��� CVSup, ������� ����� ���
(/usr/local/www/data/freebsd.cvsup � ��������� ����):
www release=current host=cvsup.freebsd.org hostbase=/home base=/usr prefix=/usr/local/www/data/www.freebsd.org delete old use-rel-suffix
2) �������� � /etc/crontab �������
1 5 * * * root /usr/local/bin/cvsup -z -g /usr/local/www/data/freebsd.cvsup
2) �������� � /usr/local/etc/apache/access.conf:
<Directory /usr/local/www/data/www.freebsd.org/data>
Options FollowSymLinks Includes
XBitHack Full
</Directory>
3) �������� � /usr/local/etc/apache/httpd.conf:
<VirtualHost wwwN.XX.freebsd.org>
UserDir disabled
ServerAdmin webmaster@wwwN.XX.freebsd.org
DocumentRoot /usr/local/www/data/www.freebsd.org/data
ServerName wwwN.XX.freebsd.org
ScriptAlias /cgi/ /usr/local/www/data/www.freebsd.org/data/cgi/
ErrorLog /var/log/wwwN.XX-error.log
TransferLog /var/log/wwwN.XX-access.log
</VirtualHost>
|