Current time: 09-26-2024, 01:19 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problem mit Multi-SSL config
Author Message
wirtzor Offline
Junior Member
*

Posts: 16
Joined: May 2011
Reputation: 0
Post: #1
Problem mit Multi-SSL config
Hab eure Anleitung genutzt: http://isp-control.net/documentation/de:...mod_gnutls

Code:
<VirtualHost xxx.xxx.xxx.xxx:443>
        ServerName xxxxxx.de
        DocumentRoot /var/www/virtual/xxxxxx.de/htsdocs/

        ErrorLog        /var/log/apache2/users/ssl.xxxxxx.de-error.log
        TransferLog     /var/log/apache2/users/ssl.xxxxxx.de-access.log


        <IfModule mod_ssl.c>
                <IfModule !mod_gnutls.c>
                        SSLEngine On
                        SSLProtocol all
                        SSLCipherSuite HIGH:MEDIUM
                        SSLCertificateFile    /etc/apache2/xxxxxx.crt
                        SSLCertificateKeyFile /etc/apache2/xxxxxx.key
                </IfModule>
        </IfModule>

        <IfModule mod_gnutls.c>
                GnuTLSEnable on
                GnuTLSPriorities SECURE:!MD5
                GnuTLSCertificateFile /etc/apache2/xxxxxx.crt
                GnuTLSKeyFile /etc/apache2/xxxxxx.key
        </IfModule>
        
        <IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/xxxxxx.de/htdocs>
            FCGIWrapper /var/www/fcgi/xxxxxx.de/php5-fcgi-starter.php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/xxxxxx.de">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    
</VirtualHost>

nach dem aktivieren der 01_ssl.conf hat er beim nach dem restart befehl das hier ausgespuckt.

Code:
root@p118:/etc/apache2# apache2ctl restart
Syntax error on line 29 of /etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
Action 'restart' failed.
The Apache error log may have more information.

Könnte mir bitte mal einer Helfen. Mach das erste mal was mit SSL.
So das Problem hab ich gelöst hab nun ein blöderes Problem:

Failed to start apache :

Starting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!

Ok war falscher Alarm. Der Apache Prozess war irgendwie noch da und auch irgendwie festgefahren naja hab ihn abgeschossen und neu gestartet und nun funzt ssl erst mal.
So letztes problem. Ich brauch das ganze ja für meine cgi datei. daher benötige ich die einstellungszeilen für cgi in der ssl conf.

Code:
<IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/xxxxxxx.de/htdocs>
            FCGIWrapper /var/www/fcgi/xxxxxxxx.de/php5-fcgi-starter.php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/xxxxxx.de">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
        </IfModule>

Problem ist nur mit dem Teil gibt es die Fehlermedlung:

Code:
Syntax error on line 29 of /etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
Action 'restart' failed.
The Apache error log may have more information.

Was mach ich den Falsch -_- Jetzt bin ich so weit gekommen. mist.
(This post was last modified: 05-24-2011 11:13 AM by wirtzor.)
05-24-2011 09:02 AM
Find all posts by this user Quote this message in a reply
wirtzor Offline
Junior Member
*

Posts: 16
Joined: May 2011
Reputation: 0
Post: #2
RE: Problem mit Multi-SSL config
So ich geh nun erst mal ins Bett ich finde keine Lösung im Inet.
(This post was last modified: 05-24-2011 11:11 AM by wirtzor.)
05-24-2011 10:13 AM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #3
RE: Problem mit Multi-SSL config
Schau mal nach, ob die Datei
Code:
FCGIWrapper /var/www/fcgi/xxxxxxxx.de/php5-fcgi-starter.php
wirklich existiert. Vielleicht hat es im Dateinamen einen Leerschlag oder etwas ähnliches?
Wenn ich mich recht erinnere müsste es einen Leerschlag am Ende des Dateinamens haben.

MlG Fluser
05-24-2011 04:27 PM
Find all posts by this user Quote this message in a reply
wirtzor Offline
Junior Member
*

Posts: 16
Joined: May 2011
Reputation: 0
Post: #4
RE: Problem mit Multi-SSL config
Existieren tut sie aber sie hat keine ändung. Also das die heißt nur php5-fcgi-starter.
wenn ich die Zeile so abändere:

FCGIWrapper /var/www/fcgi/blueyestin.de/php5-fcgi-starter

apache2ctl configtest

Syntax error on line 29 of /etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
Action 'configtest' failed.
The Apache error log may have more information.
Achso und was meinst du mit Leerschlag?
(This post was last modified: 05-24-2011 08:06 PM by wirtzor.)
05-24-2011 08:01 PM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #5
RE: Problem mit Multi-SSL config
Das hier steht bei dir in der Konfig:
Code:
FCGIWrapper /var/www/fcgi/xxxxxxxx.de/php5-fcgi-starter.php
Und das hier in der Anleitung:
Code:
FCGIWrapper /var/www/fcgi/oekorenta-portal.de/php5-fcgi-starter .php
05-24-2011 08:35 PM
Find all posts by this user Quote this message in a reply
wirtzor Offline
Junior Member
*

Posts: 16
Joined: May 2011
Reputation: 0
Post: #6
RE: Problem mit Multi-SSL config
Ne dann kommt immer noch der Fehler aber die datei php5-fcgi-starter hat doch keine Endung.

[Image: 1306234545110524.png]
(This post was last modified: 05-24-2011 08:58 PM by wirtzor.)
05-24-2011 08:56 PM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #7
RE: Problem mit Multi-SSL config
Knall mal dies hier in deine Konfig und probier es nochmals.
Code:
FCGIWrapper /var/www/fcgi/oekorenta-portal.de/php5-fcgi-starter .php

Würde sagen, dass dies der kleine, aber feine Unterschied ist, der deinen Indianer so störtWink
05-24-2011 09:01 PM
Find all posts by this user Quote this message in a reply
wirtzor Offline
Junior Member
*

Posts: 16
Joined: May 2011
Reputation: 0
Post: #8
RE: Problem mit Multi-SSL config
Code:
        <IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/meinedomain.de/htdocs>
        FCGIWrapper /var/www/fcgi/meinedomain.de/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/meinedomain.de">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
        </IfModule>

Wenn ich das so mache gibt es trotzdem noch die Fehlermeldung:

apache2ctl configtest

Syntax error on line 29 of /etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
Action 'configtest' failed.
The Apache error log may have more information.
05-24-2011 09:09 PM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #9
RE: Problem mit Multi-SSL config
Hmmm, Habe ich vorhin beim googlen entdeckt: http://blog.benny-baumann.de/?p=519
Mal ausprobieren und Feedback gebenWink
(This post was last modified: 05-24-2011 09:12 PM by fluser.)
05-24-2011 09:12 PM
Find all posts by this user Quote this message in a reply
wirtzor Offline
Junior Member
*

Posts: 16
Joined: May 2011
Reputation: 0
Post: #10
RE: Problem mit Multi-SSL config
Das kenn ich schon und hab ich auch schon durch geführt aber der Fehler bleibt.
Ich hab das hier noch gefunden. http://isp-control.net/forum/thread-12830.html

Aber ausser meinem webmin was ja einen eigenen Apache2 hat läuft nix anderes mit ssl.
Aber bei dem hat das mit dem grep auch nicht geholfen.
und hier ist irgendwie die reden von einem Update von fastcgi in kombi von debian 6 soll das problem sein.

http://isp-control.net/forum/thread-9675-page-3.html

Aber eine Lösung finde ich da auch nicht wirklich.
(This post was last modified: 05-24-2011 09:22 PM by wirtzor.)
05-24-2011 09:15 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)