Re: Detecting if https is used from within a .conf file
Toomas Aas wrote:[color=blue]
> 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?[/color]
Very simple. Just add the logic to apachectl. It's a shell script.
Apache Interface to OpenSSL (mod_ssl) [url]www.modssl.org[/url]
User Support Mailing List [email]firstname.lastname@example.org[/email]
Automated List Manager [email]email@example.com[/email]