We’re nearing the end of an amazing, and slightly crazy, conference. This final day is filled with more sessions and a pub crawl on Washington St. I left Roak last night by literally sneaking out at 11 (I’m old, and my room gave me a cold- 62 degrees wasn’t a great idea), and apparently missed all of the shenanigans. Despite not taking advantage of the open bar, I had a blast dancing inside to the Spazmatics with the people that make my work day awesome. Tonight’s our last event, I encourage everyone to pace themselves..make memories instead of mistakes…take home cPanel swag instead of a cast!
[livestream feedcount=10 streamid=100102012 charlimit=0]
We’re set up, chatting, eating, learning, and headed to the Keynotes!
[livestream feedcount=10 streamid=10092012 charlimit=0]
We’re setting up and getting it going. So excited for these next three days!
[livestream feedcount=10 streamid=10082012 charlimit=0]
Our last article brought you up to date on some aspects of our localization efforts. However the team working on integration with the translation service have not stood still. What have they accomplished since the last article? What are they currently working on? What do we intend in the future for localization in cPanel & WHM? Continue reading
You’re probably wondering what’s going on with Localization in cPanel & WHM. In cPanel & WHM 11.32 we introduced a new login system with enhanced localization capabilities. More on these capabilities later. One thing notable about the login system is every piece of text, every string, is localized.
So why are these localized strings of such poor quality?
The current state of quality is because all the strings (in the login system) are machine translated (except for English). This is not the desired end state, only a step in the process. Continue reading
In earlier versions of cPanel, developers included a script called LivePHP. This technology is essentially an internal window on the server to make API 1 and API 2 calls to the local machine via a socket to cpsrvd. Through LivePHP, you could use API functions through API tags and our Remote XML or JSON API. This is the suggested best practice for accessing cPanel functionality from your Plugins for reasons of simplification and also reducing network overhead.
Where previously the Live environment only included PHP, we have now expanded it to include multiple languages, Ruby, Python, Perl, as well as PHP; and have renamed it LiveAPI.
cPanel ships with example scripts for both PHP and Perl. Both scripts can be found in the x3 directory (/usr/local/cpanel/base/frontend/x3/) of your cPanel installation. The scripts are named test.live.php and test.live.pl.
For reading about specific module usage for LiveAPI, please see our documentation. Or if you have usage questions along the way, please feel free to post in our developer forums where we have dedicated cPanel development staff available to help.
Nearly all cPanel actions are governed by cPanel API1 and API2 functions.
For your application, instead of creating your own API from scratch, we’re created the ability to add your application’s logic to the cPanel XML/JSON API. Essentially speaking, your custom cPanel Perl Module can create a remote window of access to your application’s functions to be used through the XML/JSON APIs, LiveAPI, or cPanel tags.
The ability to build and use Custom cPanel Modules is available in all current versions of cPanel.
We’ve updated our documentation and have provided a complete, working example of a custom cPanel Perl module, available for download on our Github account. This example Perl module, it's inline comments and POD documentation, along with prior existing documentation, should provide a great resource for anyone wishing to leverage the cPanel API!
After spending time in the Developer section of the cPanel Community Forums, we’ve found a commonly asked question: “Why won’t my script work with XYZ function using the XML/JSON-API?”
Rewinding a bit, the purpose of the XML/JSON API is to allow usage of cPanel & WHM functions through applications or scripts. Naturally, the first question we often ask, when trying to figure out why a script isn’t working, is if the user is trying to do something that they couldn’t normally do through cPanel & WHM. Continue reading
Pointing two URLs to the same website is a good way to direct traffic to your site from several different domain names. You can accomplish this in two ways: either redirect one of the URLs to your primary domain, or park one of the URLs, which points that domain towards your primary domain.
Redirecting a website
A redirect occurs when typing a web address in the address bar sends a visitor to another website (or URL), different from the one typed in. For example, if you moved your website content to a new URL, you can direct your seasonal visitors (who may remember your old web address better than your new one) to your new location, using a redirect. Continue reading
Managing multiple domains from a single hosting account is relatively easy but will require you to correctly configure some DNS settings and create addon domains.
For this post, I’m going assume you’ve already registered a few domains and have access to your hosting interface via a main domain.
Before going any further, let’s specify some working examples: Continue reading