IP ISPConfig web + Webmail - (Uebimiau) "url"

Discussion in 'Installation/Configuration' started by Felipe, Dec 10, 2005.

  1. Felipe

    Felipe New Member

    Hi

    Are an 2 questions per one thread :)

    1) When asked in install process about the IP of the ISPConfig I will put the external, like, 213.XXX.XXX.XXX -> (eht0) or 192.XXX.XXX.XXX ->(eth1)?

    2) Instead of access the webmail through https://www.mydomain.com:81/webmail ,I want to access using the url like http://www.mydomain.com/webmail, any one knows how I proceed and/or what I need to configure to use the url like that?

    Commentaries and suggestions are accepted.

    Grateful
    Felipe Rocha
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If your server has two network cards to two different networks, you will have to use the IP of the network where you want to use ISPConfig. In you case i guess its the external.

    You can use either a rewrite rule, that you put in the apache directives field of the website settings or you create a folder webmail in the website root directory and put a script inside that does a header redirect to the URL of the webmail interface.
     
  3. Felipe

    Felipe New Member

    Ok

    All right... till thanks for your tip and help ....


    Felipe
     
  4. clayg

    clayg New Member

    I don't know how to do the rewrite rule but the redirct can be done properly by:

    Code:
    Redirect 301 /example/test.html http://www.yoursite.com/newlocation/newpage.html
    Cut and paste this code into your .htaccess file. "Redirect 301" means that it is a permanent redirect. You can change it to "Redirect 302" for a temporary redirect. If you have no number, then it will default to a temporary (302) redirect. Change the "/example/test.html" to your old location. Then put your new location in where it says "http://www.yoursite.com/newlocation/newpage.html". You're done!

    This was taken from http://www.totalchoicehosting.com/forums/index.php?showtopic=3965

    Then it can also be done by the way suggested by the previous poster.
    I am not sure but I think can be done by making an index.html that contains:
    Code:
    <html>
    <head>
    <title>WebMail</title>
    <meta http-equiv="Refresh" content="1; URL=https://www.mydomain.com:81/webmail">
    </head>
    and putting it in mydomain.com/webmail/ (the indext.html file you just made)

    This above example uses a 1 second delay, mainly because I dont know if 0 would make it have no delay, or make it delay forever.

    Hope this helps.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    0 works, it will redirect you immediately.
     
  6. Felipe

    Felipe New Member

    Hi people.

    I adopted the second option meta refresh with content = 0.

    I will not discard the clayg's post. I will try in next time that I need.

    Tks 4 all
     
  7. jroberts

    jroberts New Member

    Sorry this is kind of off subject

    Does anyone know how to change the default theme that comes up in ISP config
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You can add new themes to UebiMiau by putting the theme to the themes folder and configure the UebiMiau config files. UebiMiua is located in /home/admispconfig/ispconfig/web/webmail
     

Share This Page