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


Post Reply 
Subdomains mit SSL Unterstützung
Author Message
IncheZ Offline
Junior Member
*

Posts: 56
Joined: Oct 2007
Reputation: 0
Post: #3
RE: Subdomains mit SSL Unterstützung
Danke für die Informationen.
Also muss Ich für jede SUbdomain eine eigene IP verwenden?

Btw: Was für einen Record muss ich den anlegen damit die https auf eine andere IP zeigt?

Also damit SSL und nonSSL geht, zwei A-Records oder was?


Anhang:

Code:
<VirtualHost 70.*.*.*:443> <-andere ip als hauptip

    #
    #User vu2001
    #Group vu2001
    #

    <IfModule suexec_module>
           SuexecUserGroup vu2001 vu2001
    </IfModule>

    ServerAdmin     webmaster@**.de
    DocumentRoot    /var/www/virtual/**.de/board/htsdocs

    ServerName      board.**.de
    ServerAlias     www.board.**.de board.**.de *.board.**.de
    SSLEngine On
    SSLCertificateFile /etc/ssl/certs/usa.**.de.crt
    SSLCertificateKeyFile /etc/ssl/certs/usa.**.de.key

    Alias /errors /var/www/virtual/**.de/errors/

    RedirectMatch permanent ^/ftp([\/]?)        http://usa.**.de/ftp/
    RedirectMatch permanent ^/pma([\/]?)        http://usa.**.de/pma/
    RedirectMatch permanent ^/webmail([\/]?)    http://usa.**.de/webmail/
    RedirectMatch permanent ^/ispcp([\/]?)        http://usa.**.de/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser **.de
    </IfModule>

    # httpd sub entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/**.de/board/cgi-bin/
    <Directory /var/www/virtual/**.de/board/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd sub entry cgi support END.

    <Directory /var/www/virtual/**.de/board/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd sub entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/**.de/:/var/www/virtual/**.de/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/**.de/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/**.de/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2001 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/**.de/
        <Directory "/var/www/fcgi/**.de">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/**.de/board/htsdocs>
            FCGIWrapper /var/www/fcgi/**.de/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/**.de">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd sub entry PHP2 support END.

    Include /etc/apache2/ispcp/board.**.de.conf

</VirtualHost>

Das habe Ich jetzt in einer extra Datei eingebunden, er fragt auch wenn ich per https://ip drauf gehe nach dem cert, aber sobald ichs akzeptiert habe bin ich ungeschützt auf der seite.
(This post was last modified: 03-04-2010 11:05 PM by IncheZ.)
03-04-2010 10:48 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Subdomains mit SSL Unterstützung - IncheZ - 03-04-2010, 12:47 PM
RE: Subdomains mit SSL Unterstützung - IncheZ - 03-04-2010 10:48 PM

Forum Jump:


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