Re: Detecting if https is used from within a .conf file

Phil Ehrens <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
Toomas Aas wrote:
> 
> I was thinking of putting this large block of directives into separate 
> file and Include it in both vhost sections, to tidy up my main config 
> file. But in order to do that, I would need to define some logic in this 
> file for those cases where http and https need to be handled separately. 
> I was certain that such possibility exists, but I'm starting to have 
> some doubts now. Any advice?

Very simple. Just add the logic to apachectl. It's a shell script.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.