Thanks for the help but I think I am still doing something wrong.
I have LoadModule rewrite_module modules/mod_rewrite.so uncommented
now
an this is what I have for Allow Override All. Is that right? Because
it's still not working. I guess I will restart Apache and see if that
helps.
Thanks
#
# Each directory to which Apache has access can be configured with
respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
Deny from all
</Directory>
On Dec 30, 8:46 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
> First, you shouldn't request "/app/views/posts/index.thtml" - maybe
> that was a typo above? Ifhttp://localhost/cakeBlog/posts/index
> doesn't work, buthttp://localhost/cakeBlog/index.php/posts/index
> does, then you are correct it is a mod_rewrite issue.
>
> To enable mod_rewrite, all you should need to do is uncomment the
> LoadModule rewrite_module modules/mod_rewrite.so
>
> line in your httpd.conf. Don't add anything about mod_rewrite.c .
>
> Make sure you have "AllowOverride All" set for your document root
> folder, also in your httpd.conf.
>
> The .htaccess files should be where they were in the cake zip file.
> So you should have one in the cakeBlog folder, one in cakeBlog/app,
> and one in cakeBlog/app/webroot. These are different files - don't
> copy them over each other.
>
> On Dec 31, 10:46 am, matches <[EMAIL PROTECTED]> wrote:
>
> > Hello all,
>
> > I am new to CakePHP and only have a very basic knowledge of PHP. I am
> > trying to get up and running with 15 Blog tutorial. I keep getting an
> > "Object not found!" error when I check my progress on Section 8 /app/
> > views/posts/index.thtml I have determined that I have not set up my
> > httpd.conf properly because if I go
> > tohttp://localhost/cakeBlog/index.php/posts/index
> > everything looks fine. I have been going through the hints on Section
> > 5 "A Note On mod_rewrite" Here are some questions:
>
> > Where are the .htaccess files suppose to be located? I am not even
> > sure I have them.
>
> > One of the notes in Section 5 reads:
>
> > Make sure you are loading up mod_rewrite correctly! You should see
> > something like LoadModule rewrite_module libexec/httpd/mod_rewrite.so
> > and AddModule mod_rewrite.c in your httpd.conf.
>
> > Here is what I have in my httpd.conf. I uncommented out LoadModule
> > rewrite_module libexec/httpd/mod_rewrite.so and just added AddModule
> > mod_rewrite.c below it. Is that right? Should I comment out LoadModule
> > setenvif_module modules/mod_setenvif.so
>
> > LoadModule rewrite_module modules/mod_rewrite.so
> > AddModule mod_rewrite.c
> > LoadModule setenvif_module modules/mod_setenvif.so
> > #LoadModule speling_module modules/mod_speling.so
>
> > Thanks for any help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---