Page 1 of 1

built-in URL rewriting

PostPosted: June 29th, 2017, 1:08 pm
by beater
Can the Built-In Web Server be configured for URL rewriting for a project?

I am trying to get a CakePHP project going and I get the message "URL rewriting is not properly configured on your server" when I run.

Re: built-in URL rewriting

PostPosted: July 4th, 2017, 1:26 pm
by Miloslav Beno
Hello!

Yes! Take a look at here http://blog.seljebu.no/2014/01/26/php-built-in-web-server-and-cakephp-rewrite-rules/

You will just need to setup rewrite.php in the Project Properties, Server tab, when PHP Built-in Web Server is selected, fill path to routing script (relative to webroot - which is usually project root if not set differently)

Please let me know if that helped.

Cheers!