In Message <10926.1493743...@secondfloor.xyz>,
   Christopher Pinon <cjpi...@secondfloor.xyz>wrote:

=>J. Lewis Muir <jlm...@imca-cat.org> wrote:
=>
=>> On 05/02, Christopher Pinon wrote:
=>> > By the way, another (easier) question about httpd: is there a way for
=>> > httpd to listen to both plain http (port 80) requests and https (port
=>> > 443) requests? (Like apache.) At the moment, as far as I can tell, it's
=>> > either or, depending on whether or not '-Z ...' is set.
=>> 
=>> I've not tried, but can't you just run two instances of it: one
=>> listening on port 80 and the other listening on port 443?
=>
=>Thanks, Lewis: indeed, this works. :-) I guess that I was focused on
=>doing this from /etc/rc.conf, but for no good reason, really. Am
=>beginning to warm up to httpd after a long time with apache!

   You still can use rc.conf, if you'd like. Copy /etc/rc.d/httpd
to /etc/rc.d/httpsd (or something like that), and tweak the copy
to have a different name, rcvar, and command_args. Then you can
specify httpsd=YES in /etc/rc.conf, along with other variables you
need for command_args.

                                Gary Duzan



Reply via email to