On 7/28/06, AD7six <[EMAIL PROTECTED]> wrote:
> Not entirely sure what you mean but why not put your html files in a
> folder under pages, and follow a similar approach to this:
I'm hoping to allow a user of mine to put a HTML file in webroot/.
When the file is requested, i want my cake app's controller to wrap it
in my layout and spit it out to the browser. This will allow the
users to create just the content portion and let me (as the app
"admin") to control the final appearance. Sort of a poor man's CMS.
Does that make sense?
> Re excluding stats,
> one solution is to just create a .htaccess file in that folder to turn
> off mod rewrite, this should be pretty close:
Well, stats/ is, for lack of a better word, a "virtual" URI provided
by by provider. The static didn't work, but this did:
RewriteCond %{REQUEST_URI} !^/stats*
But only under Apache 2. Apache 1.3 doesn't like that, so I'll just
have to wait for all my hosts to be updated...
--
jason lee
http://www.steeplesoft.com
http://blogs.steeplesoft.com
http://littlezoper.livejournal.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---