Current time: 05-08-2024, 11:49 PM Hello There, Guest! (LoginRegister)


Post Reply 
https Problem
Author Message
jodat Offline
Newbie
*

Posts: 7
Joined: May 2012
Reputation: 0
Post: #1
https Problem
Hallo Community ich bin neu hier also sage ich mal Hallo.

Leider habe ich ein Problem vieleicht kann mir einer helfen. Ich habe ein Zertifikat versucht auf einen Vhost zu legen.

Arbeits Schritte: (nach Anleitung http://wiki.xstable.de/)

1. 01_ssl.conf angelegt

PHP Code:
<VirtualHost 127.0.0.1:443>
        
ServerName admin.meineDomain.de
        DocumentRoot 
/var/www/virtual/meineDomain.de/htsdocs/

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


        
<IfModule mod_ssl.c>
                <
IfModule !mod_gnutls.c>
                        
SSLEngine On
                        SSLProtocol all
                        SSLCipherSuite HIGH
:MEDIUM
                        SSLCertificateFile    
/etc/ssl/public/example.localhost.crt
                        SSLCertificateKeyFile 
/etc/ssl/private/example.localhost.key
                
</IfModule>
        </
IfModule>

        <
IfModule mod_gnutls.c>
                
GnuTLSEnable on
                GnuTLSPriorities SECURE
:!MD5
                GnuTLSCertificateFile 
/etc/ssl/public/example.localhost.crt
                GnuTLSKeyFile 
/etc/ssl/private/example.localhost.key
        
</IfModule>
</
VirtualHost

dieses war fail wie ich festgestellt habe ip musste angepasst werden und das hinzugefügt.
PHP Code:
<IfModule mod_fcgid.c>
        Include /
etc/apache2/mods-available/fcgid_ispcp.conf<<<<Problemkind
        
<Directory /var/www/virtual/domain.de/htdocs>
            
FCGIWrapper /var/www/fcgi/domain.de/php5-fcgi-starter .php
            Options 
+ExecCGI
        
</Directory>
        <
Directory "/var/www/fcgi/domain.de">
            
AllowOverride None
            Options 
+ExecCGI MultiViews -Indexes
            Order allow
,deny
            Allow from all
        
</Directory>
    </
IfModule

Jetzt geht auch alles nur php nicht dann las ich das

Problem:
Eine Webseite ist via https: erreichbar, und html, xml und andere Dateien werden auch sauber angezeigt. Allerdings werden keine PHP-Dateien angezeigt. Stattdessen kommt ein Fehler „503 Service Unavailable“, oder ein „Internal Server Error“.

Ich habe 500 error

wenn ich das einbinde Include /etc/apache2/mods-available/fcgid_ispcp.conf sagt er mir bei apache2ctl restart

Syntax error on line 29 of /etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
Action 'configtest' failed.

kann mir einer sagen wie ich das fixe?

Version 1.7 Debian
(This post was last modified: 05-04-2012 09:21 AM by jodat.)
05-04-2012 07:42 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
https Problem - jodat - 05-04-2012 07:42 AM
RE: https Problem - ephigenie - 05-06-2012, 08:16 PM
RE: https Problem - jodat - 05-09-2012, 07:10 AM

Forum Jump:


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