Current time: 09-26-2024, 01:22 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
Post Reply 


Messages In This Thread
Problem mit Multi-SSL config - wirtzor - 05-24-2011 09:02 AM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 10:13 AM
RE: Problem mit Multi-SSL config - fluser - 05-24-2011, 04:27 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 08:01 PM
RE: Problem mit Multi-SSL config - fluser - 05-24-2011, 08:35 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 08:56 PM
RE: Problem mit Multi-SSL config - fluser - 05-24-2011, 09:01 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 09:09 PM
RE: Problem mit Multi-SSL config - fluser - 05-24-2011, 09:12 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 09:15 PM
RE: Problem mit Multi-SSL config - fluser - 05-24-2011, 09:59 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 10:07 PM
RE: Problem mit Multi-SSL config - fluser - 05-24-2011, 10:43 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-24-2011, 10:52 PM
RE: Problem mit Multi-SSL config - wirtzor - 05-25-2011, 01:00 AM

Forum Jump:


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