public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Apache with SSL
@ 2005-09-26  4:30 Arkady Grudzinsky
  2005-09-26  4:41 ` Heinz Sporn
  2005-09-26  4:46 ` [gentoo-user] " Arkady Grudzinsky
  0 siblings, 2 replies; 4+ messages in thread
From: Arkady Grudzinsky @ 2005-09-26  4:30 UTC (permalink / raw
  To: gentoo-user

Hi,

I have recently emerged Apache-2.0.54.  Unencrypted connection on port
80 works fine.  Then I tried to configure port 443.  I added a virtual
host in /etc/apache2/conf/vhosts/vhosts.conf which contains statement
"SSLEngine on".   I started to get the following:

> /etc/init.d/apache2 restart
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 59 of /usr/lib/apache2/conf/vhosts/vhosts.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a
module not  included in the server configuration

Then I noticed that /etc/apache2/conf/apache2.conf never mentions
mod_ssl.so in any LoadModule statements.  Besides, mod_ssl.so file
does not exist in /usr/lib/apache2/modules.

It seems that SSL support should have been compiled with Apache:

> emerge -vp apache

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-www/apache-2.0.54-r9  +berkdb -doc +gdbm +ipv6
-ldap (-selinux) +ssl -static -threads 0 kB

Total size of downloads: 0 kB

What should I do to get mod_ssl.so in modules directory?
This is my first attempt to configure Apache with SSL, so, I may be
missing something basic.  Your help will be highly appreciated.

Thanks.

Arkady.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Apache with SSL
  2005-09-26  4:30 [gentoo-user] Apache with SSL Arkady Grudzinsky
@ 2005-09-26  4:41 ` Heinz Sporn
  2005-09-26  4:46 ` [gentoo-user] " Arkady Grudzinsky
  1 sibling, 0 replies; 4+ messages in thread
From: Heinz Sporn @ 2005-09-26  4:41 UTC (permalink / raw
  To: gentoo-user

Am Sonntag, den 25.09.2005, 21:30 -0700 schrieb Arkady Grudzinsky:
> Hi,
> 
> I have recently emerged Apache-2.0.54.  Unencrypted connection on port
> 80 works fine.  Then I tried to configure port 443.  I added a virtual
> host in /etc/apache2/conf/vhosts/vhosts.conf which contains statement
> "SSLEngine on".   I started to get the following:
> 
> > /etc/init.d/apache2 restart
>  * Apache2 has detected a syntax error in your configuration files:
> Syntax error on line 59 of /usr/lib/apache2/conf/vhosts/vhosts.conf:
> Invalid command 'SSLEngine', perhaps mis-spelled or defined by a
> module not  included in the server configuration
> 
> Then I noticed that /etc/apache2/conf/apache2.conf never mentions
> mod_ssl.so in any LoadModule statements.  Besides, mod_ssl.so file
> does not exist in /usr/lib/apache2/modules.
> 
> It seems that SSL support should have been compiled with Apache:
> 
> > emerge -vp apache
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] net-www/apache-2.0.54-r9  +berkdb -doc +gdbm +ipv6
> -ldap (-selinux) +ssl -static -threads 0 kB
> 
> Total size of downloads: 0 kB
> 
> What should I do to get mod_ssl.so in modules directory?

AFAIK there's no mod_ssl (or mod_dav btw) module for Apache 2 anymore.
Compiling it with USE="ssl" should satisfy your needs. The error you got
propably has something to do with the changed layout. I recommend
looking at

http://www.gentoo.org/doc/en/apache-troubleshooting.xml and
http://www.gentoo.org/doc/en/apache-upgrading.xml

> This is my first attempt to configure Apache with SSL, so, I may be
> missing something basic.  Your help will be highly appreciated.
> 
> Thanks.
> 
> Arkady.
> 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   heinz.sporn@sporn-it.com
         heinz.sporn@utanet.at
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
         A-4540 Bad Hall
         Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: Apache with SSL
  2005-09-26  4:30 [gentoo-user] Apache with SSL Arkady Grudzinsky
  2005-09-26  4:41 ` Heinz Sporn
@ 2005-09-26  4:46 ` Arkady Grudzinsky
  2005-09-28 10:00   ` Steffen Zieger
  1 sibling, 1 reply; 4+ messages in thread
From: Arkady Grudzinsky @ 2005-09-26  4:46 UTC (permalink / raw
  To: gentoo-user

Never mind.  Right after sending out the email I found mod_ssl.so in
extramodules/ and everything started to work after I uncommented
<IfDefine SSL> in conf/modules.d/40_mod_ssl.conf.

I'm still new to Gentoo and it works like magic so far.  Just need to
know the magic word :).

Arkady.

On 9/25/05, Arkady Grudzinsky <grudziar.gentoo@gmail.com> wrote:
> Hi,
>
> I have recently emerged Apache-2.0.54.  Unencrypted connection on port
> 80 works fine.  Then I tried to configure port 443.  I added a virtual
> host in /etc/apache2/conf/vhosts/vhosts.conf which contains statement
> "SSLEngine on".   I started to get the following:
>
> > /etc/init.d/apache2 restart
>  * Apache2 has detected a syntax error in your configuration files:
> Syntax error on line 59 of /usr/lib/apache2/conf/vhosts/vhosts.conf:
> Invalid command 'SSLEngine', perhaps mis-spelled or defined by a
> module not  included in the server configuration
>
> Then I noticed that /etc/apache2/conf/apache2.conf never mentions
> mod_ssl.so in any LoadModule statements.  Besides, mod_ssl.so file
> does not exist in /usr/lib/apache2/modules.
>
> It seems that SSL support should have been compiled with Apache:
>
> > emerge -vp apache
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild   R   ] net-www/apache-2.0.54-r9  +berkdb -doc +gdbm +ipv6
> -ldap (-selinux) +ssl -static -threads 0 kB
>
> Total size of downloads: 0 kB
>
> What should I do to get mod_ssl.so in modules directory?
> This is my first attempt to configure Apache with SSL, so, I may be
> missing something basic.  Your help will be highly appreciated.
>
> Thanks.
>
> Arkady.
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: Apache with SSL
  2005-09-26  4:46 ` [gentoo-user] " Arkady Grudzinsky
@ 2005-09-28 10:00   ` Steffen Zieger
  0 siblings, 0 replies; 4+ messages in thread
From: Steffen Zieger @ 2005-09-28 10:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

Am Montag, 26. September 2005 06:46 schrieb Arkady Grudzinsky:
> Never mind.  Right after sending out the email I found mod_ssl.so in
> extramodules/ and everything started to work after I uncommented
> <IfDefine SSL> in conf/modules.d/40_mod_ssl.conf.
Just add -D SSL to APACHE2_OPTS in /etc/conf.d/apache2.

If you're using a recent version of Apache, have a closer look 
at /etc/conf.d/apache2. There are more useful options.

>
> Arkady.
HTH & HAND,
Steffen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-28 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-26  4:30 [gentoo-user] Apache with SSL Arkady Grudzinsky
2005-09-26  4:41 ` Heinz Sporn
2005-09-26  4:46 ` [gentoo-user] " Arkady Grudzinsky
2005-09-28 10:00   ` Steffen Zieger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox