I have finally finished my first major Yii application and decided to deploy to the server to test.
I deployed to shared hosting which is usually linux servers. When trying to test the server tells me "Unable to resolve the request".
I developed on windows using controllers named as:
MyLogonController
My URL’s would be something like:
mylogoncontroller/login
Turns out linux is case sensitive when it comes to this. When changing my URL’s to: MyLogonController/login, it works.
Is there a solution to this problem within the Yii framework? If not what can I do to overcome this? It is a Yii naming standard to name controllers as such, but then it does not work on linux which is what all hostings companies use?
public $caseSensitive=true;
/**
* @var boolean whether the GET parameter values should match the corresponding
* sub-patterns in a rule before using it to create a URL. Defaults to false, meaning
* a rule will be used for creating a URL only if its route and parameter names match the given ones.
* If this property is set true, then the given parameter values must also match the corresponding
* parameter sub-patterns. Note that setting this property to true will degrade performance.
* @since 1.1.0
*/