Reflect reality: CVSup, crontab, wwwN.XX.freebsd.org naming convention,
latest apache port naming convention
This commit is contained in:
parent
ef6b65e3a0
commit
aeee416ada
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=714
2 changed files with 36 additions and 16 deletions
|
@ -1,22 +1,32 @@
|
|||
You can (and are encouraged to) mirror the pages with sup.
|
||||
You can (and are encouraged to) mirror the pages with CVSup.
|
||||
If you are running apache as installed from the ports collection the
|
||||
following should make a copy of www.freebsd.org available from
|
||||
http://yourhost/www.freebsd.org/. Of course, there are possible
|
||||
http://wwwN.XX.freebsd.org/. Of course, there are possible
|
||||
variations on the method...
|
||||
|
||||
1) The supfile to get the WWW pages:
|
||||
1) The CVSup file to get the WWW pages
|
||||
(/usr/local/www/data/freebsd.cvsup in the next step):
|
||||
|
||||
www release=current host=freefall.cdrom.com hostbase=/home base=/usr/local/www/data/www.freebsd.org delete old
|
||||
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) Add to /etc/crontab
|
||||
|
||||
2) Add to /usr/local/www/server/conf/access.conf:
|
||||
1 5 * * * root /usr/local/sbin/cvsup -z -g /usr/local/www/data/freebsd.cvsup
|
||||
|
||||
2) Add to /usr/local/etc/apache/access.conf:
|
||||
|
||||
<Directory /usr/local/www/data/www.freebsd.org/data>
|
||||
Options FollowSymLinks Includes
|
||||
XBitHack Full
|
||||
</Directory>
|
||||
|
||||
3) Add to /usr/local/www/server/conf/srm.conf
|
||||
|
||||
Alias /www.freebsd.org /usr/local/www/data/www.freebsd.org/data
|
||||
3) Add to /usr/local/etc/apache/httpd.conf:
|
||||
|
||||
<VirtualHost wwwN.XX.freebsd.org>
|
||||
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>
|
||||
|
|
|
@ -1,22 +1,32 @@
|
|||
You can (and are encouraged to) mirror the pages with sup.
|
||||
You can (and are encouraged to) mirror the pages with CVSup.
|
||||
If you are running apache as installed from the ports collection the
|
||||
following should make a copy of www.freebsd.org available from
|
||||
http://yourhost/www.freebsd.org/. Of course, there are possible
|
||||
http://wwwN.XX.freebsd.org/. Of course, there are possible
|
||||
variations on the method...
|
||||
|
||||
1) The supfile to get the WWW pages:
|
||||
1) The CVSup file to get the WWW pages
|
||||
(/usr/local/www/data/freebsd.cvsup in the next step):
|
||||
|
||||
www release=current host=freefall.cdrom.com hostbase=/home base=/usr/local/www/data/www.freebsd.org delete old
|
||||
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) Add to /etc/crontab
|
||||
|
||||
2) Add to /usr/local/www/server/conf/access.conf:
|
||||
1 5 * * * root /usr/local/sbin/cvsup -z -g /usr/local/www/data/freebsd.cvsup
|
||||
|
||||
2) Add to /usr/local/etc/apache/access.conf:
|
||||
|
||||
<Directory /usr/local/www/data/www.freebsd.org/data>
|
||||
Options FollowSymLinks Includes
|
||||
XBitHack Full
|
||||
</Directory>
|
||||
|
||||
3) Add to /usr/local/www/server/conf/srm.conf
|
||||
|
||||
Alias /www.freebsd.org /usr/local/www/data/www.freebsd.org/data
|
||||
3) Add to /usr/local/etc/apache/httpd.conf:
|
||||
|
||||
<VirtualHost wwwN.XX.freebsd.org>
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue