ajacoutot
24ff923c17
Make it possible to pass arguments to _rc_parse_conf().
ok robert@
10 years ago
reyk
546aea474c
Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".
ok florian@
10 years ago
reyk
9c4fe323e3
Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.
10 years ago
naddy
a34d9aff18
enable httpd; ok deraadt@
10 years ago
reyk
959cf4a8d9
Add HTTPS server example.
10 years ago
reyk
01f36f71a9
Change grammar from "log [style]" to "log style [style]".
10 years ago
reyk
ff7f5de360
The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.
10 years ago
reyk
12cf332beb
More examples, include FastCGI for php and cgi-bin and logging.
10 years ago
rpe
4e46003552
Don't return, just skip over non existing rc.conf or rc.conf.local file.
OK ajacoutot@ halex@
10 years ago
ajacoutot
f35ff6a688
In debug mode, properly sort and drop duplicates so that we don't end
up with a confusing output like:
multicast_host >NO<
<...>
multicast_host >YES<
Also properly evaluate values _after_ running _rc_quirks() because these
can modify flags.
ok robert@ halex@
10 years ago
ajacoutot
a3ad997f4b
Fix evil typo (multicast_hosts -> multicast_host).
10 years ago
reyk
1634d1e524
Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.
10 years ago
reyk
7e37bc43eb
Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.
ok deraadt@
10 years ago
reyk
9a741ea942
Add more examples. Requested by deraadt@
10 years ago
reyk
4d0f0c4818
httpd.conf can be installed 0644 instead of 0600 like relayd.conf.
ok ajacoutot@ benno@
10 years ago
ajacoutot
9842e10cd1
Add httpd.conf.
10 years ago
ajacoutot
58872ed577
Trailing whitespace.
10 years ago
sthen
0564a7b48d
add 5.7 firmware key
10 years ago
ajacoutot
4869b0e38c
Revert revisions 1.88-1.94 but keep recent relevant changes.
The `+' sign was added by mistake thinking it was doing something else.
ok schwarze@
10 years ago
reyk
bfcc4fcb27
Enable httpd(8) in the builds to get more testing, feedback and
improvements. It is not "finished" but serves static files.
ok deraadt@
10 years ago
deraadt
f3d3d691bf
Repair two deep targets mistakenly called as afterinstall, rather
than distribution. These would modify files in /etc, part of the base
set, but still... that makes it harder to discern their sets placement.
10 years ago
reyk
400400fa19
Add initial httpd.conf(5) example for httpd(8)
Requested by deraadt@
10 years ago
naddy
2bef40b225
net.inet6.ip6.accept_rtadv is gone
10 years ago
naddy
e7b9cb6c4c
5.7 packages key
10 years ago
deraadt
73df6cf923
5.7 base key
10 years ago
rpe
5392cda9b9
Stop using the (now) internal rc.subr functions _rc_do() and _rc_wait().
- no need to start spamd in background mode
- return from rc_start() in case spamd failed to start
- execute spamd-setup without explicitly waiting for spamd
prodded by, discussed with and OK ajacoutot@
10 years ago
deraadt
421312ed52
no longer play with /dev/log
10 years ago
bluhm
4a706e371e
Print a warning message if the files with the random seed are not
writeable during shutdown. This prevents ugly error messages when
the machine is rebooted from singe-user without mounting the file
systems read-write.
suggested by deraadt@
10 years ago
deraadt
83d1ab94c7
Since syslog messages are now sent via the sendsyslog(2) system call,
we no longer need the spread of dev/log AF_UNIX sockets all over the
various chroot spaces.
ok beck millert aja
10 years ago
deraadt
44d46ee4c5
ugly ugly whitespace
10 years ago
ajacoutot
da05e1169f
Follow the recent addition of /usr/local/lib/pkgconfig and add
/usr/local/share/pkgconfig
ok sthen@
10 years ago
deraadt
05894e184c
match current permissions
10 years ago
deraadt
5df94fa40d
sh netstart, instead of using .
We don't want any of the variables created inside netstart to infect the
rc script.
ok claudio sthen aja
10 years ago
ajacoutot
a8aa89637a
Unbreak after the rc_do->_rc_do and rc_wait->_rc_wait renaming.
If someone wants to take a shot a modifying this rc script so that it does
not use internal rc.subr functions, be my guest...
spotted by jsg@
10 years ago
deraadt
0b9011095e
add optional keywords all over the place, and some missing files.
likely to be more changes here to match the new layout.
ok ingo aja
10 years ago
ajacoutot
cbf7f83338
No more /var/db/sysmerge
10 years ago
deraadt
0f6d37afe3
remove ancient unused NOGZIP support
10 years ago
ajacoutot
7e9e3c9dce
Handle the sysmerge move.
10 years ago
okan
29a91aa8aa
prefer ln -f over rm + ln
OK deraadt
10 years ago
okan
e0cf8941d0
use /bin/sh instead of /bin/ksh and add cvs id.
OK deraadt
10 years ago
deraadt
74870fb90f
Yes /etc/disklabels/ is a good practice for placing labels of disks
in case of catastropy. But it is so poorly documented that any admin
is more likely to store the labels elsewhere, so let's stop bothering
with providing the directory. Discussed a bit, no objections.
10 years ago
deraadt
31e43b4033
mixerctl.conf wsconsctl.conf can properly become examples.
As discussed a few days ago with aja
10 years ago
deraadt
73c26eea40
the files listed under BIN1 are not binaries in any way. Let's call
them what they are: MUTABLE, as in these are the specific files that
admins do edit in /etc
10 years ago
deraadt
49f512458d
create examples/pf.conf which is a clone of the existing file. Now
the existing file can start losing... examples...
10 years ago
deraadt
0fff1a2399
BIN2 is now just motd; install it direct without the abstractions. While
there, let's make it operator writeable. Or let's do a commit changing it
to operator writeable and see the pro and con camps rise up.
10 years ago
deraadt
0110a70449
lynx has left the tree, and let's be honest noone will find these html
files in their installed system. this extended documentation experience
is available better on the net using a browser installed with pkg_add.
(also note that two of the subsystems involved in this issue are heading
to the bit bucket sometime soon)
10 years ago
deraadt
8841ad7d7c
more lynx bits
10 years ago
deraadt
761d542408
another piece of lynx hides here
10 years ago
deraadt
52e978a9d8
tidy up the script
10 years ago
miod
d1cf88ea26
Apparently people updating this no longer fix the DOW and the minute and
seconds values in the announcement timestamps. Damn youngsters.
10 years ago