CakePHP and NearlyFreeSpeech.net -
how set allowoverride on nearlyfreespeech.net? i'm trying follow instructions @ within cakephp, in routes.php '/' (base path) works. other url 404 page not found resolve problems described therein.
so far, i've had following when moving out of wamp development environment:
- refer controller names correct case
- change name of server in configuration file
- add cakephp-related files web group
the solution follows:
- copy files on working environment (or export source control tool) new folder on nearlyfreespeech.net (nfs.net). let's call new folder "abc".
- import database nfs.net.
- configure database settings necessary on nfs.net version of site.
- add abc folder , in web group.
- go .htaccess file in /home/public/abc , add "rewritebase /abc" under "rewriteengine on".
- add "rewritebase /abc/app" .htaccess in /home/public/abc/app , add "rewritebase /abc/app/webroot" 1 in /home/public/abc/app/webroot.
Comments
Post a Comment