Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache and mod_ssl (again :)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Fri Jul 05, 2002 7:48 am    Post subject: apache and mod_ssl (again :) Reply with quote

Hi all,

apache worsk fine, also php with mysql etc. but I cannot get mod_ssl to work. If I point lynx to https://localhost I alway get alert!: Unable to connect to remote host.

/etc/conf.d/apache:
Code:

APACHE_OPTS="-D SSL -D PHP4"


/etc/apache/conf/apache.conf:
Code:

<IfDefine SSL>
LoadModule ssl_module    extramodules/libssl.so
</IfDefine>


Does anyone got a hint for me?

Magnus

P.S.: I searched the forum but all I found was probs with php. ;(
Back to top
View user's profile Send private message
RebelYell
n00b
n00b


Joined: 28 Jun 2002
Posts: 41

PostPosted: Fri Jul 05, 2002 7:56 am    Post subject: Re: apache and mod_ssl (again :) Reply with quote

MaGuS wrote:
Hi all,

apache worsk fine, also php with mysql etc. but I cannot get mod_ssl to work. If I point lynx to https://localhost I alway get alert!: Unable to connect to remote host.

/etc/conf.d/apache:
Code:

APACHE_OPTS="-D SSL -D PHP4"


/etc/apache/conf/apache.conf:
Code:

<IfDefine SSL>
LoadModule ssl_module    extramodules/libssl.so
</IfDefine>


Does anyone got a hint for me?

Magnus

P.S.: I searched the forum but all I found was probs with php. ;(


You should check out the apache logs...
This should give you a hint about what's going on...
(if mod_ssl is loaded or not, etc)

Regards,
Rebel Yell
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Fri Jul 05, 2002 8:04 am    Post subject: Reply with quote

error_log:
Code:

[Fri Jul  5 09:33:08 2002] [notice] Apache/1.3.26 (Unix) PHP/4.2.1 configured -- resuming normal operations
[Fri Jul  5 09:33:08 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jul  5 09:33:08 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Jul  5 09:34:13 2002] [notice] caught SIGTERM, shutting down
[Fri Jul  5 09:34:13 2002] [error] Cannot remove module mod_ssl.c: not found in module list
[Fri Jul  5 09:34:15 2002] [error] Cannot remove module mod_ssl.c: not found in module list
[Fri Jul  5 09:34:16 2002] [notice] Apache/1.3.26 (Unix) PHP/4.2.1 configured -- resuming normal operations
[Fri Jul  5 09:34:16 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jul  5 09:34:16 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jul 05, 2002 8:14 am    Post subject: Reply with quote

MaGuS wrote:
error_log:
Code:

[Fri Jul  5 09:33:08 2002] [notice] Apache/1.3.26 (Unix) PHP/4.2.1 configured -- resuming normal operations


Doesn't look like mod_ssl is loaded at all. I have:

Code:

[Thu Jun 27 14:51:10 2002] [notice] Apache/1.3.26 (Unix) mod_ssl/2.8.10 OpenSSL/0.9.6d configured -- resuming normal operations


Do you have any files in /var/log/apache whose names start with 'ssl' that might shed any light on the subject? Maybe starting httpd manually with the -X option will give useful debugging output?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Fri Jul 05, 2002 8:44 am    Post subject: Reply with quote

In /var/log/apache are only two files (error and access).

on gentoo the httpd bin file is called apache and it doesn't have a "-X" flag?

Code:

gentoo conf # apache -h
Usage: apache [-D name] [-d directory] [-f file]
              [-C "directive"] [-c "directive"]
              [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F]
Options:
  -D name          : define a name for use in <IfDefine name> directives
  -d directory     : specify an alternate initial ServerRoot
  -f file          : specify an alternate ServerConfigFile
  -C "directive"   : process directive before reading config files
  -c "directive"   : process directive after  reading config files
  -v               : show version number
  -V               : show compile settings
  -h               : list available command line options (this page)
  -l               : list compiled-in modules
  -L               : list available configuration directives
  -S               : show parsed settings (currently only vhost settings)
  -t               : run syntax check for config files (with docroot check)
  -T               : run syntax check for config files (without docroot check)
  -F               : run main process in foreground, for process supervisors


I don't know what to do now, so please help! :?
Back to top
View user's profile Send private message
mattivirtanen
n00b
n00b


Joined: 05 Jul 2002
Posts: 1

PostPosted: Fri Jul 05, 2002 12:36 pm    Post subject: Reply with quote

lynx dosent suport ssl afaik... so you should probably test your page whit mozilla...
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Fri Jul 05, 2002 1:30 pm    Post subject: Reply with quote

Thats new te me, in access_log I can see lynx got ssl
Code:
(192.168.2.4 - - [05/Jul/2002:10:32:57 +0200] "GET / HTTP/1.0" 200 1456 "-" "Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6d")
and in the desktop how-to it used to connect to https also. ;)

Regards,
Magnus

P.S.: In access_log for http (client name) https still don't work!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum