Alternatively you could use the QUERY_STRING in reqriteCond:

RewriteCond %(QUERY_STRING) !^/report/.*$  should work..
hth

On Apr 28, 2:35 pm, holodigm <[EMAIL PROTECTED]> wrote:
> After hitting IRC kuja indicated a point that I have not seen
> elsewhere:
>
> Once you have the RewriteCond entered in the .htaccess file you need
> to place the excluded folder under /app/webroot.
> So in the above example /report is now under  /app/webroot/report
> and the rewritecond is
> RewriteCond    %{REQUEST_URI} !^/report/.*$
>
> On Apr 28, 9:41 pm, holodigm <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > I have an app athttp://orders.local/
> > and use URLs such ashttp://orders.local/ordershttp://orders.local/invoicing
> > etc
>
> > I have php soap calls underhttp://orders.local/report/andwish to exclude 
> > /report from the
> > CakePHP rewrites.
>
> > Inhttp://orders.local/.htaccessIhave tried:
> > <IfModule mod_rewrite.c>
> >    RewriteEngine on
> >    RewriteRule ^(report) - [L]
> >    RewriteRule    ^$ app/webroot/    [L]
> >    RewriteRule    (.*) app/webroot/$1 [L]
> > </IfModule>
>
> > and
>
> > <IfModule mod_rewrite.c>
> >    RewriteEngine on
> >    RewriteCond    %{REQUEST_URI} !^/report/.*$
> >    RewriteRule    ^$ app/webroot/    [L]
> >    RewriteRule    (.*) app/webroot/$1 [L]
> > </IfModule>
>
> > But I am still getting passed through to the app.
>
> > Can anyone see where I am going wrong?
>
> > Many thanks,
> > Kym
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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