Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » php execution in webserver part of KC 9.x (php no longer executed?)
  •  
Philipp14

Messages: 39
Karma: 0
Send a private message to this user
For users coming via our corporate firewall login, we have used a nasty little trick to log them in easily: I have placed a custom php script in a new subfolder in the web server part of KerioConnect. This little php script showed a custom login form and submitted to the URL of the standard KC form.
Worked like a charm, and I did not need to run a separate web server.

However, after upgrading to KC 9.x, the php script is no longer executed. Instead, it is transferred to the browser as-is (like it would be a txt file).

Hm. I know this was not supported, but it used to work so nicely. The new webmail seems to be all js (no php files around at all). Does anyone have a hint for me? (Other than running and maintaining a separate web server just for this one little script...)

(Yes, I do admit it is a good idea to disable old functionality that is no longer needed. But still...)
  •  
Brian Carmichael (Kerio)

Messages: 645
Karma: 65
Send a private message to this user
There is no more PHP in Kerio Connect. Based on what your script was doing it sounds like you don't need to use PHP. Was there some server side processing in your script?

Brian Carmichael
Senior Technical Marketing Engineer | Kerio
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
Philipp14

Messages: 39
Karma: 0
Send a private message to this user
Ah, I see. Probably good for security.

Yes, there was.
The script created username/password based on data it gets from the firewall where users have logged into (it is a kind of hand-crafted Single Sign-On).

Since the script manipulates passwords, I do not want to do this in js on the client side.

Well, it is not a fault of Kerio; it was just me abusing KC Smile
Previous Topic: Weekly full backup alternatives
Next Topic: Kerio Calendar Invites are returned as cancelled
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: Mon May 01 08:05:14 CEST 2017

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