built-in URL rewriting

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

built-in URL rewriting

Postby beater » June 29th, 2017, 1:08 pm

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.
beater
 
Posts: 1
Joined: June 29th, 2017, 12:52 pm

Re: built-in URL rewriting

Postby Miloslav Beno » July 4th, 2017, 1:26 pm

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!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1039
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger