How does your routing like like?
Did you read
http://projects.stoneship.org/trac/nanoc/wiki/Tips/CreatingDynamicPages
?
Guido
Thanks for the link. I didn't see that, but my route is the same. Even
still, the auto-compiler gives a File not found. When I type in the
full page, for example, localhost:3000/page/index.php the file gets
downloaded, not displayed.
Brian
> --
> You received this message because you are subscribed to the nanoc
> discusssion group.
>
> To post to this group, send email to na...@googlegroups.com
> To unsubscribe from this group, send email to nanoc+un...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/nanoc
> Thanks for the link. I didn't see that, but my route is the same. Even
> still, the auto-compiler gives a File not found. When I type in the
> full page, for example, localhost:3000/page/index.php the file gets
> downloaded, not displayed.
Hi,
The autocompiler does not have support for PHP files. If a directory is requested, the autocompiler looks for an index.html file in it, but it will ignore an index.php file. The autocompiler can’t find a MIME type for it, so it sends the file as application/octet-stream back to the browser.
If you want a web server that supports PHP, you should consider using one of the big web servers (apache httpd, lighttpd, nginx) instead. No offense, but I really don’t feel like bloating the autocompiler with a PHP interpreter… :)
Regards,
Denis
--
Denis Defreyne
denis.d...@stoneship.org
On Jan 28, 1:57 pm, Denis Defreyne <denis.defre...@stoneship.org>
wrote: