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


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] Umleiten von /webmail etc. auf :443
Author Message
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #1
Question [ERLEDIGT] Umleiten von /webmail etc. auf :443
Ich möchte die Dienste wie Webmail und Filemanager alle automatisch auf https://www.meinedomain.de/webmail weiterleiten lassen, da mein SSL-Zertifikat nur für die Rootdomain gültig ist.
Nicht für alle Domains des Servers sondern nur für eine (Hauptdomain).
Wie sieht der dazu passende VHost Eintrag für Apache aus?
Danke.

Bisher sieht es so aus:

Code:
<VirtualHost 12.34.56.78:443>

    #
    # SSL Start
    #
     SSLEngine On
     SSLCertificateFile /etc/apache2/ssl/domain.crt
     SSLCertificateKeyFile /etc/apache2/ssl/domain.key
    #
    # SSL End
    #

    ServerAdmin     support@meinedomain.de
    DocumentRoot    /var/www/ispcp/gui
    ServerName      meinedomain.de
    ErrorLog        /var/log/apache2/users/ssl.meinedomain.de-error.log
    TransferLog     /var/log/apache2/users/ssl.meinedomain.de-access.log
    CustomLog       /var/log/apache2/ssl.meinedomain.de-traf.log traff
    CustomLog       /var/log/apache2/ssl.meinedomain.de-combined.log combined
    Alias /errors   /var/www/ispcp/gui/errordocs/

    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

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/
    Alias /antispam /var/www/ispcp/gui/tools/antispam/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>

#
# Master End
#
(This post was last modified: 01-19-2009 05:26 AM by BeNe.)
12-29-2008 02:20 AM
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
[ERLEDIGT] Umleiten von /webmail etc. auf :443 - DaSilva - 12-29-2008 02:20 AM

Forum Jump:


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