# |
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. |
# |
Aug 9th 2008, 14:30 |
AD7six |
DrBacchus: that's you |
# |
Aug 9th 2008, 14:30 |
DrBacchus |
klaasjan: There's a couple more things you need to do. |
# |
Aug 9th 2008, 14:29 |
DrBacchus |
For whatever it's worth, whoever manages that particular page (http://book.cakephp.org/view/219/blog) should update it to say LoadModule not AddModule. |
# |
Aug 9th 2008, 14:29 |
klaasjan |
in httpd.conf |
# |
Aug 9th 2008, 14:29 |
klaasjan |
LoadModule rewrite_module libexec/httpd/mod_rewrite.so |
# |
Aug 9th 2008, 14:29 |
DrBacchus |
That's a bit of an oversimplification. |
# |
Aug 9th 2008, 14:29 |
klaasjan |
and the tutorail says when you don't see the images mod_rewrite doesn't work |
# |
Aug 9th 2008, 14:28 |
DrBacchus |
Which lines did you uncomment? |
# |
Aug 9th 2008, 14:28 |
klaasjan |
And still i got the version without .css and images |
# |
Aug 9th 2008, 14:27 |
klaasjan |
And restartet apache |
# |
Aug 9th 2008, 14:27 |
DrBacchus |
Which lines, specifically? |
# |
Aug 9th 2008, 14:27 |
klaasjan |
I 'v uncommented the lines in http.conf |
# |
Aug 9th 2008, 14:27 |
DrBacchus |
Are you sure that AllowOverride is set appropriately on your server? |
# |
Aug 9th 2008, 14:27 |
DrBacchus |
Was it entirely ignoring the rules? |
# |
Aug 9th 2008, 14:27 |
DrBacchus |
what way, that is. |
# |
Aug 9th 2008, 14:26 |
DrBacchus |
In what was does mod_rewrite not work? |
# |
Aug 9th 2008, 14:26 |
klaasjan |
yes and because my mod_rewrite doesnt work.... |
# |
Aug 9th 2008, 14:26 |
markstory |
it says if you don't want or can't get mod_rewrite working delete the htaccess files. |
# |
Aug 9th 2008, 14:25 |
markstory |
if you don't want to use mod_rewrite. |
# |
Aug 9th 2008, 14:25 |
klaasjan |
.htaccess |
# |
Aug 9th 2008, 14:25 |
ADmad |
klaasjan: delete what ? |
# |
Aug 9th 2008, 14:25 |
klaasjan |
http://book.cakephp.org/view/219/blog |
# |
Aug 9th 2008, 14:25 |
klaasjan |
because cake says i had to delete them |
# |
Aug 9th 2008, 14:25 |
markstory |
what tutorial? |
# |
Aug 9th 2008, 14:24 |
klaasjan |
it didn't said that in the tutorail and i would never have guessed it |
# |
Aug 9th 2008, 14:24 |
ADmad |
klaasjan: if you say say :) but if your server has mod_rewrite why are you not using htaccess ? |
# |
Aug 9th 2008, 14:23 |
klaasjan |
Ad adman You are a hero |
# |
Aug 9th 2008, 14:23 |
ADmad |
klaasjan: as i said.. if you dont want to use url rewriting you have to use urls as i showed above |
# |
Aug 9th 2008, 14:22 |
markstory |
Anon323: are you disabling the fields in beforeFilter() |
# |
Aug 9th 2008, 14:22 |
klaasjan |
Ad admad Yes it has but when i uncommented it and restarted Apache rewrit still didn't work |
# |
Aug 9th 2008, 14:21 |
klaasjan |
in app\config\core.php i'v uncommented this line : Configure::write('App.baseUrl', env('SCRIPT_NAME')); |
# |
Aug 9th 2008, 14:21 |
ADmad |
klaasjan: doesn't your server have mod_rewrite ? |
# |
Aug 9th 2008, 14:21 |
Anon323 |
markstory: No error, but still doesn't work. if I disable all fields and submit my form the content will still be saved. |
# |
Aug 9th 2008, 14:20 |
ADmad |
klaasjan: then u have to use url like this http://boven:8080/app/webroot/index.php?url=/posts/index |
# |
Aug 9th 2008, 14:19 |
klaasjan |
i'm not using the .htacces files |
# |
Aug 9th 2008, 14:19 |
markstory |
again, cake -> nice looking page or apache -> white screen usually. |
# |
Aug 9th 2008, 14:19 |
Matt1 |
klaasjan: do you have your debug on and htaccess working ? |