Configuring .htaccess files for CakePHP and WordPress

I have already visited this link:
Configure .htaccess file for multiple environments
But it hasn’t resolved my problem.

I am unable to access CakePHP folder from WordPress directory. This is the .htaccess file of my root:

Read More
RedirectMatch 404 /\.svn(/|$)
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /myer
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /project/trunk/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /project/trunk/index.php [L]
</IfModule>
# END WordPress

This is the .htaccess file of “myer” directory:

RedirectMatch 404 /\.svn(/|$)
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteBase /myer
 RewriteRule ^$ app/webroot/ [L]
 RewriteRule (.*) app/webroot/$1 [L]
</IfModule>

This is the .htaccess file of “myer/app” directory:

RedirectMatch 404 /\.svn(/|$)
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteBase /myer
 RewriteRule ^$ webroot/ [L]
 RewriteRule (.*) webroot/$1 [L]
</IfModule>

This is the .htaccess file of “myer/app/webroot” directory:

RedirectMatch 404 /\.svn(/|$)
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteBase /myer
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

What I am getting out of these .htaccess files is “Object not found! – Error 404”. What am I doing wrong?

Related posts