HI Sam,
Thanks for your response.. As per your suggestion i tried
adding rewrite base to all three .htaccess file under cake_install_dir,
cake_install_dir/app and cake_install_dir/app/webroot. BUt it doesnt seems
to work. BUt putting this .htaccess file in root of server, it directs me
directly to my subdir and everything works fine.
RewriteEngine on
RewriteRule ^$ subdir/app/webroot/ [L]
RewriteRule (.*)$ subdir/app/webroot/$1 [L]
But what I wanted is a link from my index page which diverts to my cake
application.
Please suggest.
Thanks
John M
On Tue, Apr 6, 2010 at 9:46 AM, Sam Sherlock <[email protected]> wrote:
> have you tried adding rewritebase to each successive .htaccess or just the
> base one. On some hosts I found found it needs to be added to each one.
>
> - S
>
> On 6 April 2010 04:47, John Mehul <[email protected]> wrote:
>
>> /subdir
>
>
> 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
To unsubscribe, reply using "remove me" as the subject.