Use cases with nginx?
jonobr1 opened this issue · 3 comments
Hey Chandler,
This looks super awesome! I was reading the documentation and noticed that it explains how to do mapping with apache. I'm sure it's possible but I was wondering if there's an example for nginx?
Hey Jono,
I haven't ever tried it with nginx, but it just uses the standard mod_rewrite jazz for apache. I imagine if you can do a similar thing to what is going on in the generated htaccess file you'd be good to go.
c
On Sep 29, 2011, at 8:17 AM, Jono Brandel wrote:
Hey Chandler,
This looks super awesome! I was reading the documentation and noticed that it explains how to do mapping with apache. I'm sure it's possible but I was wondering if there's an example for nginx?
Reply to this email directly or view it on GitHub:
#2
Chandler McWilliams
http://brysonian.com
http://repetitionrepetition.com/
http://formandcode.com
Ahhh, I see. In generator.php
. I don't get everything that's going on, but I do see and understand the htacess stuff written. I'll give this a go and keep you posted. This looks exceptionally handy for creating a RESTful interface so that I can run Backbone applications. As always a great inspiration :)
Backbone looks great! If you run the generator on the commandline it'll make the htaccess file for you. Basically it just redirects /WHATEVER to the routes.php file which includes vicious.php that takes care of the rest.
Let me know if you build something!
c
On Oct 4, 2011, at 8:06 PM, Jono Brandel wrote:
Ahhh, I see. In
generator.php
. I don't get everything that's going on, but I do see and understand the htacess stuff written. I'll give this a go and keep you posted. This looks exceptionally handy for creating a RESTful interface so that I can run Backbone applications. As always a great inspiration :)Reply to this email directly or view it on GitHub:
#2 (comment)
Chandler McWilliams
http://brysonian.com
http://repetitionrepetition.com/
http://formandcode.com