Hello,
I have an app that is sitting on a subdir called "v3". As it is, I can 
access the app by going to:
www.foo.com/v3

Everything works as expected, except for the fact that I would like to hide 
the "/v3" out of the URL.
I believe that this is done by some .htaccess trick and I was able to do it 
by placing this .htaccess at "/":

*RewriteEngine On*
*RewriteCond %{REQUEST_URI} !v3/*
*RewriteRule (.*) /v3/$1 [L]*


Apparently it works as expected. When I go to www.foo.com, the website 
loads correctly and the /v3 is not needed, but every single link in the 
website has the /v3 in them.
If i click the "contact" link, it points to: www.foo.com/v3/contact, 
although if I manually type: www.foo.com/contact it also works (and this is 
what I would like).
I suppose I have to change something at cake's default .htaccess, but I 
have tried many things and wasn't able to do so.

Any help is greatly appreciated.
Cheers,

Burningfuses
 


-- 
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