Re: DIfferences between <IfDefine SLL> and <IfModule ssl_module>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks a lot for your information.
Now it's clear.

I suppose that if <IfModule ssl_module> is used before module loading, it has no effect, isn't it ?

Al.

On 5/6/07, Joshua Slive <joshua@xxxxxxxx> wrote:
On 5/6/07, Alain Roger <raf.news@xxxxxxxxx> wrote:
> Hi,
>
> Under Apache 2.0.x, i've seen quite huge use of <IfDefine SSL> to define
> something only if SSL is activated.
> However, it seems that under Apache 2.2.x, <IfModule ssl_module> is mostly
> use.
>
> From my point of view, both tell the same thing, so where is the difference
> ?
> thanks a lot

See: http://httpd.apache.org/docs/2.2/sections.html#types

Stuff in <IfDefine SSL> will only be applied if apache is passed the
-D SSL command line argument. This used to be done automatically as
part of "apachectl startssl", but many users found it confusing so it
was removed in 2.2.

Stuff in <IfModule ssl_module> will be applied if the ssl module is
included, regardless of the command-line agrguments.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.1.4
Apache 2.2.4
PHP 5.2.1
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux