Re: Using a page outside of CakePHP
On Sat, Oct 3, 2009 at 2:54 AM, Josh K <joshkraemer@gmail.com> wrote:
>
> Thanks for the reply. I would actually like to use the two pages
> outside of the Cake document root since I have Cake and its app files
> on a subdirectory. For example:
>
> I would like to copy:
>
> /home/public_html/cake/app/views/forms/form1
>
> to
>
> /home/public_html/form1.php
>
> What type of php includes would I need to do this?
>
I don't follow your reasoning but, anyway, you'd need to have add some
conditions to your .htaccess file in public_html. Something like:
RewriteCond %{REQUEST_URI} !^your_form
RewriteCond %{REQUEST_URI} !^your_other_form
But I don't have much experience using Cake in a subdirectory so
someone else might know better.
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home