Browsed by
Category: Rewrite Rules

How to Setup CakePHP on CyberPanel/OpenLiteSpeed!

How to Setup CakePHP on CyberPanel/OpenLiteSpeed!

As we’ve already discussed that many people are now using CyberPanel for development/testing, and CakePHP is another popular and stable PHP frameworks that people love to develop their applications in.  Earlier we saw how we can setup CodeIgniter, Laravel and Symfony application on CyberPanel. In this article we will see on how to setup CakePHP environment for either development or production use. With CodeIgniter we didn’t have to use Composer, but unfortunately we will have to use Composer to create…

Read More Read More

How to write Rewrite rules for OpenLiteSpeed!

How to write Rewrite rules for OpenLiteSpeed!

Notice: If you are running version v1.7.0 or above please read this thread as well. OpenLiteSpeed follows apache style rewrite rules but with a slight difference. However to add rewrite rules you have to go to Webadmin console which ships with OpenLiteSpeed. Inside Webadmin console you can also specify a file from where OpenLiteSpeed can pick rewrite rules for that specific virtual host (domain name). To specify the file you can use this syntax:

Here rewriteFile defines the path…

Read More Read More