Re: htacces and other page

2012-07-11 Thread gloop
the file is:

/shop
/app
/.htaccess

When i try to access the shop via. www.domain.de/shop i get an error that 
the controller doesnt exist.

Kind Regards
gloop

On Wednesday, July 11, 2012 1:53:32 AM UTC+2, cricket wrote:

 If the file is under webroot then Cake should ignore it and let Apache 
 serve it. 

 On Tue, Jul 10, 2012 at 4:59 PM, gloop gl...@web.de wrote: 
  Hello, 
  
  i need to access a other page on the main root /page 
  
  but the htaccess root all request to cakephp 
  
  how can i add e.g. /shop to the htaccess? 
  
  Kind Regards 
  gloop 
  
  -- 
  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 
  cake-php+unsubscr...@googlegroups.com For more options, visit this 
 group at 
  http://groups.google.com/group/cake-php 


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: htacces and other page

2012-07-11 Thread gloop
I get it:

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

Thanks :)

On Tuesday, July 10, 2012 10:59:12 PM UTC+2, gloop wrote:

 Hello,

 i need to access a other page on the main root /page

 but the htaccess root all request to cakephp

 how can i add e.g. /shop to the htaccess?

 Kind Regards
 gloop


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: htacces and other page

2012-07-11 Thread lowpass
No, the way it works is that the first 2 htaccess files direct
requests to app/webroot directory. This is because people on shared
hosting and the like will most likely have to put app inside the
server's document_root. Then, inside app/webroot a 3rd htaccess then
checks the request to see if it matches any of the files or folders in
app/webroot itself.

So, just place your shop folder in there and Cake will let the web
server deal with it.

On Wed, Jul 11, 2012 at 2:18 AM, gloop gl...@web.de wrote:
 I get it:

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

 Thanks :)


 On Tuesday, July 10, 2012 10:59:12 PM UTC+2, gloop wrote:

 Hello,

 i need to access a other page on the main root /page

 but the htaccess root all request to cakephp

 how can i add e.g. /shop to the htaccess?

 Kind Regards
 gloop

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at
 http://groups.google.com/group/cake-php

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


htacces and other page

2012-07-10 Thread gloop
Hello,

i need to access a other page on the main root /page

but the htaccess root all request to cakephp

how can i add e.g. /shop to the htaccess?

Kind Regards
gloop

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: htacces and other page

2012-07-10 Thread lowpass
If the file is under webroot then Cake should ignore it and let Apache serve it.

On Tue, Jul 10, 2012 at 4:59 PM, gloop gl...@web.de wrote:
 Hello,

 i need to access a other page on the main root /page

 but the htaccess root all request to cakephp

 how can i add e.g. /shop to the htaccess?

 Kind Regards
 gloop

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at
 http://groups.google.com/group/cake-php

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php