cake_install_directory.
My current web server only allows the /html directory as a HTML root.
To reduce complexity, I thought it would be good to start with
untaring the CakePHP in that directory.
so my directory appears something like this
/html
/cake1.2
/app
/cake
/docs
/vendors
/foobar
I've noticed in the past if I wanted to look at an html file in foobar
I had to use http://www.example.com/foobar
So I'm at step 4 in the documentation. I've confirmed with the web
server that has AllowOverride is set to All.
It seems that I can't do
http://www.example.com/cake1.2
http://www.example.com/cake1.2/index.php
or even
http://www.example.com/cake1.2/foo.html
The foo.html is just a hello world html file.
What I found is if I remove the .htaccess file I get a nice CakePHP
link telling my salt needs to be updated and that theres no connection
to DB.
So I went farther in the tutorial, I successfully linked DB & changed
salt word. Checked the http://www.example.com/cake1.2 and everything
looks fine, including DB is connected and no salt warning.
I did do a google search both here and the internet. I did find
something about adding a Rewritebase line to all 3 .htaccess, but not
sure if I did that correctly. When I changed that, it seemed to just
go to a blank webpage. No errors or anything.
So my questions are if the .htaccess is necessary? good practice?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment