README.mirror is out of date, and not linked to from anywhere. Remove.
This commit is contained in:
parent
75cf08436e
commit
c45d1c6a97
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45168
2 changed files with 1 additions and 34 deletions
|
@ -47,6 +47,6 @@ homepage.html: homepage.inc
|
||||||
CLEANFILES+= homepage.inc
|
CLEANFILES+= homepage.inc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
DATA+= README.mirror ssh-keys.asc
|
DATA+= ssh-keys.asc
|
||||||
|
|
||||||
.include "${DOC_PREFIX}/share/mk/web.site.mk"
|
.include "${DOC_PREFIX}/share/mk/web.site.mk"
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
You can mirror the web pages with csup.
|
|
||||||
If you are running apache as installed from the ports collection the
|
|
||||||
following should make a copy of www.freebsd.org available from
|
|
||||||
http://wwwN.XX.freebsd.org/. Of course, there are possible
|
|
||||||
variations on the method...
|
|
||||||
|
|
||||||
1) The csup file to get the WWW pages
|
|
||||||
(/usr/local/www/data/freebsd.cvsup in the next step):
|
|
||||||
|
|
||||||
www release=current host=cvsup.freebsd.org base=/usr prefix=/usr/local/www/data/www.freebsd.org delete use-rel-suffix
|
|
||||||
|
|
||||||
2) Add to /etc/crontab
|
|
||||||
|
|
||||||
1 5 * * * root /usr/bin/csup -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/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>
|
|
Loading…
Reference in a new issue