Webmail HTTPS:81 Setup Change to HTTP:80

Discussion in 'Installation/Configuration' started by iratik, Aug 16, 2006.

  1. iratik

    iratik New Member

  2. Ben

    Ben Active Member Moderator

    You can geenrally run any webmail software on any "Web" you create with ISP.

    But don't forget if you have a Webmailclient needing PHP5 to enabkle php5 on your "normal" apache as well.

    Another method would be setting up mod_proxy as reverse for th webmail domain so that it interally connects to the port 81 URL.
     
  3. edge

    edge Active Member Moderator

    I have been playing with this a bit, and I got it to work! (not sure how secure it is)

    Lets say your website root is: /var/www/web1/web

    step 1: copy : /home/admispconfig/ispconfig/web/webmail to /var/www/web1/web

    step 2: open the /var/www/web1/web/webmail/msglist.php, and change
    include("/home/admispconfig/ispconfig/lib/config.inc.php");
    to
    include("config.inc.php);

    step 3: copy /home/admispconfig/ispconfig/lib/config.inc.php to /var/www/web1/web/webmail

    step 4: chmod the /var/www/web1/web/webmail/config.inc.php to 664 and chown it to the owner of the site.

    step 5: open the /var/www/web1/web/webmail/inc/config.php, and change
    /home/admispconfig/ispconfig/temp/webmail/
    to
    /tmp/uebimiau

    Now open your www.website.tld/webmail and login
     
    Last edited: Aug 16, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    Now anyone with shell access can read config.inc.php and the MySQL root password in it... The same can be done with a PHP script if PHP Safe Mode is off. :eek:
     
  5. edge

    edge Active Member Moderator

    Thats why I have the (not sure how secure it is) in my message at the top :)

    I've only done this on a test server (in VMware).. It's not open to the public.

    PS.. Falko could you have a look at my "small" problem?
     
    Last edited: Aug 17, 2006

Share This Page