# |
Aug 9th 2008, 14:43 |
DrBacchus |
Glad to help in what small ways I can. |
# |
Aug 9th 2008, 14:43 |
DrBacchus |
Better now? |
# |
Aug 9th 2008, 14:40 |
klaasjan |
man you are a legend |
# |
Aug 9th 2008, 14:38 |
klaasjan |
i 'll try |
# |
Aug 9th 2008, 14:34 |
DrBacchus |
Now your .htaccess files should work fine. |
# |
Aug 9th 2008, 14:34 |
klaasjan |
Ok i'v changed that to all |
# |
Aug 9th 2008, 14:34 |
DrBacchus |
AllowOverride is set per directory. |
# |
Aug 9th 2008, 14:34 |
DrBacchus |
And then inside that block, you'll see another AllowOverride directive |
# |
Aug 9th 2008, 14:34 |
DrBacchus |
so you should see <Directory "C:/Program Files/php/apache2/htdocs"> |
# |
Aug 9th 2008, 14:33 |
DrBacchus |
ok good |
# |
Aug 9th 2008, 14:33 |
klaasjan |
i guess |
# |
Aug 9th 2008, 14:33 |
klaasjan |
C:/Program Files/php/apache2/htdocs"> |
# |
Aug 9th 2008, 14:33 |
markstory |
Anon323: its controller wide. |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
What directory contains your cake files? |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
It'll refer to your document root. |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
You'll see <Directory /var/www/html> or something like that |
# |
Aug 9th 2008, 14:32 |
klaasjan |
ok |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
Then look a little further down in the configuration file. |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
klaasjan: Change that back to allowoverride none. |
# |
Aug 9th 2008, 14:32 |
klaasjan |
Deny from |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
klaasjan: Ok, that's the wrong place. |
# |
Aug 9th 2008, 14:32 |
klaasjan |
Order deny,allow |
# |
Aug 9th 2008, 14:32 |
klaasjan |
AllowOverride All |
# |
Aug 9th 2008, 14:32 |
klaasjan |
Options FollowSymLinks |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
So it's not technically incorrect, but should mention that AddModule dosn't exist in 2.x |
# |
Aug 9th 2008, 14:32 |
klaasjan |
Header append Vary User-Agent |
# |
Aug 9th 2008, 14:32 |
klaasjan |
AddOutputFilterByType DEFLATE text/html text/plain text/css |
# |
Aug 9th 2008, 14:32 |
klaasjan |
<Directory /> |
# |
Aug 9th 2008, 14:32 |
DrBacchus |
Well, you'd need AddModule if you're still running Apache 1.3, but one hopes that hardly anybody still is. |
# |
Aug 9th 2008, 14:31 |
Anon323 |
markstory: thanks. works now. ... is that restriction (disabledFields) controller wide? if I need for the action "edit" some other fields already disabled it wouldnt work, would it? |
# |
Aug 9th 2008, 14:31 |
jaredhoyt |
"amistake"... that's funny |
# |
Aug 9th 2008, 14:31 |
DrBacchus |
You need to set it to all in the other <Directory> block - the one that refers to your docroot. |
# |
Aug 9th 2008, 14:31 |
AD7six |
DrBacchus: i.e. don't worry |
# |
Aug 9th 2008, 14:31 |
DrBacchus |
klaasjan: 'cause if you set it to all in <Directory />, then that's wrong, and you should change it back to 'none'. |
# |
Aug 9th 2008, 14:31 |
klaasjan |
hold on.. |
# |
Aug 9th 2008, 14:31 |
AD7six |
DrBacchus: if you make amistake, it'll get corrected/rejected |
# |
Aug 9th 2008, 14:31 |
DrBacchus |
klaasjan: You set it to all in what scope? |
# |
Aug 9th 2008, 14:31 |
klaasjan |
I also set the AlloOverride To all |
# |
Aug 9th 2008, 14:30 |
DrBacchus |
Well, I just started using Cake last week. I'm an Apache expert, but a little reluctant to tinker with the Cake docs just yet. |
# |
Aug 9th 2008, 14:30 |
ADmad |
DrBacchus: anyone can make updates to the manual including you :) |
# |
Aug 9th 2008, 14:30 |
DrBacchus |
klaasjan: You need to also ensure that AllowOverride is set appropriately, otherwise .htaccess files are ignored. |