Assuming that your DocumentRoot is above /app, in the *top-
level* .htaccess (ie. outside the app dir), add a condition to not
rewrite the URL if the request is for the /dev dir:

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

On Mar 17, 5:10 pm, "Dave" <[email protected]> wrote:
> I have my app in the folder root.
>
> Now i need to make a dev folder in the root also so it i type in site/dev i
> go to my dev folder not the cake
>
> /root
>     /app
>     /cake
>
> and
>     /dev
>
> How can i do this?
>
> Thanks
>
> Dave

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

Reply via email to