I moved the non-cake PHP app into the cake webroot folder and now it seems to be working. The bit about .htaccess is interesting. I didn't think about that.
On Monday, September 10, 2012 4:08:47 AM UTC-4, Mike Griffin wrote: > > On Sun, Sep 9, 2012 at 11:50 PM, d6games <[email protected]<javascript:>> > wrote: > > I need to do this too. Sadly, this doesn't work in version 2.2. In my > > index.ctp view I have a standard hyperlink like... > > > > <?php echo "<a href='joingame.html'>Join</a>" ?> > > > > Which renders the correct link, but when I click it I get... > > > > Error: Joingame.htmlController could not be found. > > > > Error: Create the class Joingame.htmlController below in file: > > app/Controller/Joingame.htmlController.php > > > > > > How can I link to a non-CakePHP app? > > Use the correct link. Where is the "joingame.html" located? If it's in > the cakePHP folder, you will have to mess with the .htaccess file so > that cake doesn't try to intercept it. If it's outside the cakePHP > folder, either use the absolute path or a relative path to get to it. > > Can you view the file on its own? > > Mike. > -- 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]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
