Thread Zertifikat für eigenen Webserver (80 answers)
Opened by bianca at 2014-03-11 10:25

GwenDragon
 2014-03-13 09:01
#174068 #174068
User since
2005-01-17
14709 articles
Admin1
[Homepage]
user image
Quote
Code: (dl )
1
2
3
4
5
C:\Apache\bin>httpd
(OS 10048)Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. :
make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
bedeutet doch, dass der Apache schon gestartet ist und an alle externen Adressen gebunden ist.
Und sich nicht nochmals an den Socket für Port 443 binden kann.

Entweder du startest den Apache mehrmals über Service oder httpd.exe (und beendest den auch nicht mehr mit ^C) oder deine Konfiguration hat mehrere Einstellungen/Konfigurationsdateien für mod_ssl.

Ich weiß nicht wo du deinen Apache her hast.

Es empfiehlt sich wie unter Linux auch Einstellungen in einzelne Dateien aufzusplitten. Alles in die httpd.conf zu donnern finde ich nicht sonderlich sinnvoll, auch wenn es unter Windows oft Unsitte ist.

Ich benutze folgende Struktur für die Konfigurationen.

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
X:> tree X:\usr\local\apache2\conf

X:\USR\LOCAL\APACHE2\CONF
| httpd.conf
|
+---extra
| httpd-autoindex.conf
| httpd-dav.conf
| httpd-default.conf
| httpd-info.conf
| httpd-languages.conf
| httpd-manual.conf
| httpd-mpm.conf
| httpd-multilang-errordoc.conf
| httpd-perl.conf
| httpd-php.conf
| httpd-ssl.conf
| httpd-userdir.conf
| httpd-vhosts.conf
| startup_modperl2.pl
|
\---HTML-Mason
httpd-cgi_htmlmason.conf
httpd-modperl_htmlmason.conf


In der httpd.conf stehen am Ende Includes, die aus dem Verzeichnis extra Konfigrurationen nachladen:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf

# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf

# Various default settings
Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

# Perl
Include conf/extra/httpd-perl.conf

# PHP
Include conf/extra/httpd-php.conf

View full thread Zertifikat für eigenen Webserver