I installed WordPress into /blog folder (root of domain, along with my
main CakePHP folders)

Changed /.htaccess (root) from:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

To:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{REQUEST_URI} !^/blog
   RewriteRule    ^$ app/webroot/    [L]
   RewriteCond %{REQUEST_URI} !^/blog
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

So you should be able to drop your open source forum into /forum and
edit /.htaccess to:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{REQUEST_URI} !^/forum
   RewriteRule    ^$ app/webroot/    [L]
   RewriteCond %{REQUEST_URI} !^/forum
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

HTH, Paul

On Aug 15, 6:25 pm, leafchild <[email protected]> wrote:
> I have 2 subdomain for my sites:
> -mysite.mydomain.com       <- cakePHP
> -myforum.mydomain.com   <- open source forum
>
> I want to make it forum URL like this:
> mysite.mydomain.com/forum
>
> so basically my cliant want to llok like form is under mysite.
>
> I tried to use .htaccess to make URL look like "mysite.mydomain.com/
> forum"
>
> but when I do that "mysite.mydomain.com" site which I have cakephp
> site complaines that I don't have controller for that or something
> like that so mod_wririte is not working.
>
> Is there any way I can make URL looks like the way I want to??
>
> Thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to