Hey, think you're on right, i think this is the best way, i'll try it now. Sebastian Fallert wrote:
On Thu, 6 Apr 2000, Francisco M. Marzoa Alonso wrote:
<IfDefine SSL> Listen 80 Listen 443 </IfDefine>
Well now, i can suppouse if i comment that line (Listen 443) the SSL server that's listen at this port will be out, but... it should be a better manner but i cant found were SSL is really *Defined*, should i recompile apache perhaps?
This works like C-Preprocessing in a way. Never used it, but looking at the apache command line it seems like the '-DSSL'-Parameter defines it and activates what's inside <IfDefine SSL> and </IfDefine SSL>.
Look at this:
/sbin/init.d/apache: ====================
[..] test -e /usr/lib/apache/libssl.so && MODULES="-D SSL $MODULES" [..] case "$1" in start) echo -n "Starting service httpd" startproc -t 7 /usr/sbin/httpd -f /etc/httpd/httpd.conf $MODULES || return=$rc_failed ^^^^^^^^ [..]
The script puts '-DSSL' on the command line in case /usr/lib/apache/libssl.so exists. Deleting it will result in 'SSL' not being defined any more, I guess.
I would prefer some boolean in /etc/rc.config to control this BTW.
Cheers, -Sebastian
-- Sebastian Fallert | Mobile(D2): +49-173-2985782 mailto: sf@kki.org | Fon: +49-551-7989126) http://www.kki.org/~sf | Fax: +49-551-7907351) ----------------------------------------------------------------- PGP Fingerprint 88 01 74 1D 3B 37 66 17 E6 8D 07 24 F8 56 20 8C
-- Francisco M. Marzoa Alonso Nuevo Mundo - Dpto. Informático ICQ#: 62850923 Henri Dunant, 19 - 28036 Madrid tfno: +34 91 343 18 40 ext. 207 España / Spain fax: +34 91 350 28 45
participants (1)
-
Francisco M. Marzoa Alonso