Thank you guys!

In fact, the error was occured because the ".html" file did not exist!
So if the file exists, iframe with a source file stored in Webroot
works fine.
Otherwise, Cake is searching for a "FilesController"...



On 29 avr, 23:42, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> It sounds to me like you are running cakephp in your host's main
> directory, in which case you will have to edit your .htaccess to make
> an exception for the directories you want to access. Otherwise, cake
> will always look for the file as a controller. Aditionally, you may
> want to look into sticking it in /views/pages and using the pages
> controller to access it. Or, you could use a php include to include it
> from wherever it is on the file system inside a scrollable div.
>
> On Apr 29, 11:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > If the URL is valid, htaccess should return the page, and not hand off
> > the URL to Cake for processing; what you want to do should totally be
> > possible;
>
> > How do you access the site?http://localhost/projectorhttp://project.loc
> > or something?
>
> > On Apr 29, 12:25 pm, avairet <[EMAIL PROTECTED]> wrote:
>
> > > Hi everybody,
>
> > > Is it possible to call a file stored in webroot from an iframe?
>
> > > My iframe tag:
> > > <iframe src="/files/360/myfile.html">
>
> > > My webroot structure (partial):
>
> > > webroot
> > >  |- css
> > >  |- files
> > >     |- 360
> > >          |- myfile.html
> > >  |- img
> > >  |- js
>
> > > In my view render, Cake is looking for a "FilesController" and an
> > > "360" action??!
> > > I've tried to use an absolute url and the problem is always here...
>
> > > Thank's by advance if you have an idea to resolve this issue.
>
> > > BR
--~--~---------~--~----~------------~-------~--~----~
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