cPanel® Blog

Spotlight On: The cPanel Interface – Icons, Groups and Variables

This past week we have been working on documenting how to add icons and groups to cPanel without using our plugin generator.  Writing DynamicUI files is a direct and flexible approach to adding custom groups, icons and extra logic not available through the plugin generator (boolean ExpVar checks, etc).  During the course of documenting this, we realized that we also needed to document the variables available within the cPanel interface.  These are referred to as ExpVar variables.  These variable expressions internally parse the given reference and return the appropriate module output or dataset value. Example returns from ExpVar variables include information like configuration information, account limits and language tags.  Very handy for creating your own cPanel interface.

Adding Icons and Groups to the cPanel Interface – This document is used for learning how to customize icons & groups within cPanel.  Icons and Groups can be customized on a per-reseller or per-branding package basis.

DynamicUI Reference – This table explains all of the variables available within the DynamicUI system in a handy small reference-chart format.

ExpVar Reference – This table explains all of the variables available within the cPanel interface.  These can be used in DynamicUI keys, inside of &gt;cpanelif&lt; tags and inside of <cpanel print=””> tags.

cPanel

The web hosting industry’s most reliable, intuitive control panel since 1997. With our first-class support and rich feature set, it’s easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.com.

  • I have configured varnish myself before, and it was not fun. This addon not only works perfectly, but saves a ton of time. I was not looking forward to configuring varnish for multiple sites running on WHM/cPanel, and now I don’t have to. The default VCL is very well done, and even takes care of things like Google Analytics cookies (varnish will not cache requests if the end user sends a cookie back with their request). You will want to visit their help pages and make sure your config is optimal, but it’s all explained on their site. For example, I had to add a few “don’t cache these pages” rules for certain login pages on some sites running on our server. But for the most part, it just works. Highly recommended!!

  • The support is horrible. If they can not help they even do not answer anymore. I have booked their support addon (a paid service) and asked for help but even after 3 weeks and a lot of reminders unixy is not responding anymore and they did not solve the problem yet. Beware of this extension if you have Magento webshops on your server, the varnish plugin is responsible for empty shopping carts. In general this plugin would be awesome if the provider would help with a better support and I even would pay more for a support service but now I am just angry and upset about this company!

  • مصطفى دويدار

    With Unixy varnish plugin, Forget any zigzag response time and tell welcome to Very smooth response time chart, Varnish plugin really amazing,The response time has decreased from 80ms
    to only 2ms “wordpress”,Server has become a fast and light.

    • Om Sharma

      How can i install varnish plugin in whm server (Apache)? i cannot find any link.

  • Vinny Munich

    I can’t find the download link.

  • Joe H

    Release v1.8.0 of the plugin has functionality for cPanel (not just WHM) so your cPanel users can adjust caching for their individual domain, cache purge, and cache disable. More info and screen shots: http://blog.unixy.net/2013/05/cpanel-varnish-plugin-v1-8-0-introducing-the-cpanel-end-user-features/

    Not to mention now the plugin packs even more performance!

  • TND.VN

    Mod security atomic rule will work with this plugins?

    • UNIXy

      Do you mean if you were to add them to Apache’s mod security? Then yes, they should work OK. Keep in mind that the VCL we ship comes with native modsecurity rules (in VCL)

  • Nick

    We installed this back in release candidate on a production server – after some initial issues getting it running this ran like a dream. Make sure you allocate enough memory to Varnish.

  • once I figured out some rewrite rules for software I use (IPBoard) this worked extremely well.
    works well with logged in users too.