In config/core.php near the top of the file you can find instructions for
making cake work using its own internal rewrite.
but its worth trying the ,htaccess again like this RewriteBase is used once
per .htaccess
Here are the blog/webroot/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/webroot
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
and blog/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /blog
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
give that a try - you may have to use internal rewrite - and investigate the
specifics of mod rewrite on your system (what is the setting of allowoveride
in you apache)
my vhost directives within virtual hosts are like so - if allowoverride is
none change that to all and it may make it work
<directory "/../example.com/html">
AllowOverride All
Options -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</directory>
hth - S
also if your message does not come through it may be because it is pending
moderation - soo much spam out there
On 22 April 2010 09:58, netpumber <[email protected]> wrote:
> Here is what i want to post and google doesnt let me.. and returnes me
> this error:
>
>
> We were unable to post your message
>
> If you believe this is an error, please contact Google Support.
>
>
> Anyway here is my answer..!
>
>
> http://pastebin.com/YbpLNvq1
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" 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