[mod_python] migrating from mod_python to mod_wsgi - URL changes

Graham Dumpleton graham.dumpleton at gmail.com
Tue Sep 29 21:36:21 EDT 2009


2009/9/29 Jeff Dyke <jeff.dyke at gmail.com>:
> On Tue, Sep 29, 2009 at 9:21 AM, Geert Dekkers <geert at nznl.com> wrote:
>>
>> Why not move to django? Django does url rewriting and much, much more
>> Geert
>
> I don't want the more, i'm actually looking to simplify things and django
> adds overhead i don't currently need.  This server provides webservices,
> mainly XML, and is not a web site.  I know django can handle that but its
> another framework i don't need.

For simplicity, I would suggest having a look at 'bobo'.

http://blog.dscpl.com.au/2009/08/using-bobo-on-top-of-modwsgi.html
http://bobo.digicool.com/

Graham

>> On 29/09/2009, at 3:08 PM, Jeff Dyke wrote:
>>
>> I've been using mod_python for a while, I don't have a ton of code running
>> on it, but am about to write a lot more and would like to switch to
>> mod_wsgi.
>>
>> Rewriting the underlying callables to be WSGI compliant should be fairly
>> simple, but i have also been using vampire to give me URLs like
>> https://example.com/widget/5 (grabs data for widget with id 5).
>>
>> I'm wondering what the best way is to support these existing URL's but use
>> mod_wsgi for everything.  There are only about 10 base pages now, One
>> thought was to use mod_rewrite to turn that into
>> Mod_python at modpython.org
>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>
>>
>> _______________________________________________
>> Mod_python mailing list
>> Mod_python at modpython.org
>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>



More information about the Mod_python mailing list