cakephp nginx code example
Example: setup cakephp
1. Add .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
2. Add Permission tmp, Vendor, Webroot
- Window Set permisson
- Linux Set chmod -R 777