Current time: 04-19-2024, 03:03 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
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: https Problem
ja das brauchst du ja auch nicht nochmal einbinden.

Schau dir doch einen "normalen" VirtualHost Eintrag einer Domain an.
Dann kopiere alles und ändere den <VirtualHost blabla:443> Eintrag (port 443 statt 80) sowie füge dann je nachdem ob du mod_gnut_tls oder mod_ssl nutzen willst den Abschnitt in die config mit ein.

das sollte an sich so reichen.
Wichtig wäre halt nur noch Verzeichnisrechte usw... aber wenn du eh auf eine Domain verweist, die du schon angelegt hast ... sollte das alles kein problem sein.
05-06-2012 08:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jodat Offline
Newbie
*

Posts: 7
Joined: May 2012
Reputation: 0
Post: #3
RE: https Problem
omg sag ich nur hat geklappt!! der fehler lag am Tracker und jQuery die extern waren deshalb hat die seite kein HTTPS angezeigt weil das Zertifikat ja nur für einen Domain ist. plz close
05-09-2012 07:10 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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