Gentoo Archives: gentoo-user

From: Heinz Sporn <heinz.sporn@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache with SSL
Date: Mon, 26 Sep 2005 04:45:53
Message-Id: 1127709687.10151.4.camel@spok.local.sporn-it.com
In Reply to: [gentoo-user] Apache with SSL by Arkady Grudzinsky
1 Am Sonntag, den 25.09.2005, 21:30 -0700 schrieb Arkady Grudzinsky:
2 > Hi,
3 >
4 > I have recently emerged Apache-2.0.54. Unencrypted connection on port
5 > 80 works fine. Then I tried to configure port 443. I added a virtual
6 > host in /etc/apache2/conf/vhosts/vhosts.conf which contains statement
7 > "SSLEngine on". I started to get the following:
8 >
9 > > /etc/init.d/apache2 restart
10 > * Apache2 has detected a syntax error in your configuration files:
11 > Syntax error on line 59 of /usr/lib/apache2/conf/vhosts/vhosts.conf:
12 > Invalid command 'SSLEngine', perhaps mis-spelled or defined by a
13 > module not included in the server configuration
14 >
15 > Then I noticed that /etc/apache2/conf/apache2.conf never mentions
16 > mod_ssl.so in any LoadModule statements. Besides, mod_ssl.so file
17 > does not exist in /usr/lib/apache2/modules.
18 >
19 > It seems that SSL support should have been compiled with Apache:
20 >
21 > > emerge -vp apache
22 >
23 > These are the packages that I would merge, in order:
24 >
25 > Calculating dependencies ...done!
26 > [ebuild R ] net-www/apache-2.0.54-r9 +berkdb -doc +gdbm +ipv6
27 > -ldap (-selinux) +ssl -static -threads 0 kB
28 >
29 > Total size of downloads: 0 kB
30 >
31 > What should I do to get mod_ssl.so in modules directory?
32
33 AFAIK there's no mod_ssl (or mod_dav btw) module for Apache 2 anymore.
34 Compiling it with USE="ssl" should satisfy your needs. The error you got
35 propably has something to do with the changed layout. I recommend
36 looking at
37
38 http://www.gentoo.org/doc/en/apache-troubleshooting.xml and
39 http://www.gentoo.org/doc/en/apache-upgrading.xml
40
41 > This is my first attempt to configure Apache with SSL, so, I may be
42 > missing something basic. Your help will be highly appreciated.
43 >
44 > Thanks.
45 >
46 > Arkady.
47 >
48 --
49 Mit freundlichen Grüßen
50
51 Heinz Sporn
52
53 SPORN it-freelancing
54
55 Mobile: ++43 (0)699 / 127 827 07
56 Email: heinz.sporn@××××××××.com
57 heinz.sporn@××××××.at
58 Website: http://www.sporn-it.com
59 Snail: Steyrer Str. 20
60 A-4540 Bad Hall
61 Austria / Europe
62
63 --
64 gentoo-user@g.o mailing list