View previous topic :: View next topic |
Author |
Message |
MaGuS Guru


Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Fri Jul 05, 2002 7:48 am Post subject: apache and mod_ssl (again :) |
|
|
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 |
|
 |
RebelYell n00b


Joined: 28 Jun 2002 Posts: 41
|
Posted: Fri Jul 05, 2002 7:56 am Post subject: Re: apache and mod_ssl (again :) |
|
|
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 |
|
 |
MaGuS Guru


Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Fri Jul 05, 2002 8:04 am Post subject: |
|
|
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 |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jul 05, 2002 8:14 am Post subject: |
|
|
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 |
|
 |
MaGuS Guru


Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Fri Jul 05, 2002 8:44 am Post subject: |
|
|
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 |
|
 |
mattivirtanen n00b

Joined: 05 Jul 2002 Posts: 1
|
Posted: Fri Jul 05, 2002 12:36 pm Post subject: |
|
|
lynx dosent suport ssl afaik... so you should probably test your page whit mozilla... |
|
Back to top |
|
 |
MaGuS Guru


Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Fri Jul 05, 2002 1:30 pm Post subject: |
|
|
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 |
|
 |
|