Hi,
I'm a developer working with cPanel for more than 10 years.
I create cPanel plugins on a regular basis, using the PHP Live API for instance. I created multiple tools for the web hosting company I'm working for, tools that appear as extra on the cPanel interface for our customers. Furthermore, I'm pretty familiar with cPanel, even to a development point of view.
However, creating a cPanel plugin is a real pain, for multiple reasons, but one of them is that the cPanel daemon does not support any kind of URL Rewriting, at all.
This mean that if I want to use a Framework like Symfony to create a cPanel plugin, I'm fucked, because I can't use the URL Rewriting system and have some nice URL like /something.
To be more precise, this mean that I'm force to work with query string. To give you an example, I'm forced to use / work with URL like this :
I can't use something like this :
Or event something like this as a backup :
I would for cPanel to add some basic URL Rewriting. I'm aware that it's not apache that respond for those URLs, that it's the cPanel daemon, so I'm not requesting a full .htaccess support.
But adding a feature I can activate like "when something does not exist / 404, pass it thought the index.live.php" will be a huge win. It will allow me to use a Framework like Symfony on my project. Right now, I'm force to work with query string, or create a vanilla PHP project the old way.
I'm a developer working with cPanel for more than 10 years.
I create cPanel plugins on a regular basis, using the PHP Live API for instance. I created multiple tools for the web hosting company I'm working for, tools that appear as extra on the cPanel interface for our customers. Furthermore, I'm pretty familiar with cPanel, even to a development point of view.
However, creating a cPanel plugin is a real pain, for multiple reasons, but one of them is that the cPanel daemon does not support any kind of URL Rewriting, at all.
This mean that if I want to use a Framework like Symfony to create a cPanel plugin, I'm fucked, because I can't use the URL Rewriting system and have some nice URL like /something.
To be more precise, this mean that I'm force to work with query string. To give you an example, I'm forced to use / work with URL like this :
Code:
https://cpanel.server.com:2083/cpsess0123456789/frontend/jupiter/my-custom-tool/index.live.php?controller=custom-endpoint&arg=1234
Code:
https://cpanel.server.com:2083/cpsess0123456789/frontend/jupiter/my-custom-tool/custom-endpoint/1234
Code:
https://cpanel.server.com:2083/cpsess0123456789/frontend/jupiter/my-custom-tool/index.live.php/custom-endpoint/1234
But adding a feature I can activate like "when something does not exist / 404, pass it thought the index.live.php" will be a huge win. It will allow me to use a Framework like Symfony on my project. Right now, I'm force to work with query string, or create a vanilla PHP project the old way.