On 7/28/06, nate [EMAIL PROTECTED] wrote:
You could always allow people to upload files to webroot (say
'page.html'), then access them as '/page', so when the request gets
send to Cake, just have it read the file out of webroot. Otherwise,
upload to some external directory, and apply some
Jason Lee wrote:
Any pointers?
Change your /app/config/core.php DEBUG setting to 0 to see a more
useful error message.
Not sure about the route off the top of my head though ;)
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi Jason,
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:
http://groups.google.es/group/cake-php/browse_thread/thread/6e85b3aa89c7f57a/7f005960b93e2b93?lnk=gstq=AD7six+pages+voilarnum=1#7f005960b93e2b93
Re excluding
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
I think you don't need to mess with .htaccess
I'm also integrating html files on the fly in my little engine and the
method is just big like that :
function view($id = "")
{
$filecontent = "";
if ($id != ""){
$uploaddir = APP . WEBROOT_DIR . DS . 'files' . DS . 'categories'. DS .
You could always allow people to upload files to webroot (say
'page.html'), then access them as '/page', so when the request gets
send to Cake, just have it read the file out of webroot. Otherwise,
upload to some external directory, and apply some additional routing or
controller logic when
Slightly OT, but I'd like to be able to run .html files in webroot/
through the cake lifecycle, but the current .htaccess will let
existing files be handled directly via the server. Unfortunately, I'm
pretty horrible with .htaccess, so I can't figure out how to tell it
to alter the exisiting