proxy redirection

Discussion in 'Installation/Configuration' started by QuetzalFirst, May 29, 2015.

  1. QuetzalFirst

    QuetzalFirst Member

    Hi
    Sorry if duplicate....

    I need a config to have the following behaviour...
    http://admin.MyDomain redirect to https://admin.MyDomain:port#
    for all website hosting...
    admin.web#Domain redirect to https://adminMyDomain:port#
    and preserve original http url (or https)...
    I try with proxy and reverse proxy but internal server error
    I put a general adm.conf with
    NameVirtualHsot *:80
    <virtualhost *.80>
    ServerAdmin email
    ServerName admin.MyDomain
    ServerAlias admin.*
    ProxyPass / https://admin.MyDomain:Port#
    ProxyPassReverse / https://admin.MyDomain:Port#
    </virtualHost>

    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the exact errors from apache error.log file. Maybe the proxy module is not loaded in apache?
     
  3. QuetzalFirst

    QuetzalFirst Member

    Sorry for delay
    I add
    SSLProxyEngine On
    Now i have
    Proxy Error
    The proxy server could not handle the request get
    Reason : Error during SSL handshake with remote server
     
  4. QuetzalFirst

    QuetzalFirst Member

    Add
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off

    Now... server return page but no CSS formating
     

Share This Page