Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Customizing webmail login (Webmail in a frame)
  •  
mountaindogs

Messages: 34
Karma: 0
Send a private message to this user
Since I can't have webmail in a frame, I found your knowledgebase article about a custom login page.

http://support.kerio.com/index.php?loginresult=0&group=d efault&_m=knowledgebase&_a=viewarticle&kbarticle id=356#

Of interest to me is how to get this working.

"Kerio MailServer can be used to host the login page, if external location like company's web portal is not desirable. In this case the file should be placed in <install path>/webmail/custom/."

I want the mail server to host this custom page. I created the directory /usr/local/kerio/mailserver/web/webmail/custom and created index.html file with the sample code. I stopped and started the webmail service. No luck. I stopped and started the entire service. No luck.
  •  
evsmetal

Messages: 42
Karma: 0
Send a private message to this user
I'd like to get this working too. I've customized the default login page and it gets clobbered with every update.

I couldn't make it work from the /custom folder, so I've been manually editing the live version..

For one, there are multiple custom folders (I think added when the new (admin?) web interface was added), so which one do I use?

Actually, is there a doc on this someplace? That should point me in the right direction...
  •  
freakinvibe

Messages: 1554
Karma: 62
Send a private message to this user
Quote:

I created the directory /usr/local/kerio/mailserver/web/webmail/custom and created index.html file with the sample code. I stopped and started the webmail service. No luck. I stopped and started the entire service. No luck.

This is because the index.php in the web root directory redirects to /default/login.php.

You should create your custom login page and save it as index.php in the custom folder. You can then point your users to

http://my.mailserver.com/custom

or you amend the index.php in the root directory to

<?php
header("Location: custom/index.php");
?>

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
mountaindogs

Messages: 34
Karma: 0
Send a private message to this user
freakinvibe wrote on Wed, 04 February 2009 04:10

or you amend the index.php in the root directory to

<?php
header("Location: custom/index.php");
?>

Do you mean edit the index.php file in the root directory so that it only includes the three lines? I tried just to edit the Location line, leaving everything else alone. Still not getting the custom page. I can however, browse directly to https://www.example.com/webmail/custom/ .

  •  
freakinvibe

Messages: 1554
Karma: 62
Send a private message to this user
I mean the

/index.php

not the

/default/index.php

and for me, it only contains those three lines.

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
mountaindogs

Messages: 34
Karma: 0
Send a private message to this user
That got it working.

I was trying to edit
/usr/local/kerio/mailserver/web/webmail/index.php

instead of editing
/usr/local/kerio/mailserver/web/index.php
  •  
freakinvibe

Messages: 1554
Karma: 62
Send a private message to this user
The Unix folder structure seems to be a bit different. I was talking Windows so that explains the mismatch. In Windows the root is:

C:\Program Files\Kerio\MailServer\webmail

The custom path is

C:\Program Files\Kerio\MailServer\webmail\custom

The path of the default login.php is

C:\Program Files\Kerio\MailServer\webmail\default

In Windows you don't have the "web" folder inbetween.

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
The directory structure has changed in KMS 6.6.x.
  •  
freakinvibe

Messages: 1554
Karma: 62
Send a private message to this user
Aah, that explains it...

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
Previous Topic: Kerio in a IP Failover configuration
Next Topic: Certified mail (pec)
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 23 10:38:21 CET 2017

Total time taken to generate the page: 0.00440 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.