redirect HTTP to HTTPS and reverse zone

Discussion in 'Installation/Configuration' started by todvard, Mar 10, 2006.

  1. todvard

    todvard ISPConfig Developer ISPConfig Developer

    Hi,

    I have created a site with SSL enabled for webmail. Now i would like to forward all connection attempts from http to https. On my other systems im using "Redirect permanent / https://webmail.xyz.com" In this case this is not working, when i include it in Apache Directives it will included both to SSLenabled and SSLdisabled virtualhosts doing infinity loops. Is there an elegant solution to this problem?
    Another question, ISPConfig includes all hostnames bind's reverse zone file. Why is it needed, i mean when im pinging the server it is answering with different names in every ping reply. How can i disable this feature or is it essential for ISPconfig?

    Thank you.
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Have a look here: http://www.howtoforge.com/forums/showthread.php?t=1969

    You can comment out this block in /root/ispconfig/isp/conf/named.conf.master:

    Code:
    //zone "{ZONE}.in-addr.arpa" {
    //        type master;
    //        file "pri.{ZONE}.in-addr.arpa";
    //};
    Also comment out the reverse zones in your current named.conf and restart Bind.
     

Share This Page