Re: migrating to mod_wsg

Martijn Moeling <[email protected]> Mon, 1 Mar 2010 00:29:24 +0100
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
--===============1021643034==
Content-Type: multipart/alternative; boundary=Apple-Mail-2--817727496


--Apple-Mail-2--817727496
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Please give me some time to build instructions and a zip file, I'm =
extremely busy until next wednesday, I hope i can find the time to get =
it done in between!

On Feb 25, 2010, at 12:08 PM, Lu wrote:

> I have written an adapter for mod_wsgi which is code compatible for =
Mod_python programs.
> My mod_python CMS runs now on top of mod_wsgi without any changes to =
the code.
>=20
> It is really small and consists of one index.wsgi to created the req =
object and call the handler and a "fake" python package for the =
apache.py, Session.Py, Cookie.py etc. (I did need to change some stuff =
in there)
> I did this for my own use since I like the Req object and to pass it =
around, so my code is very dependent on MP. I have completely turned =
over Session.Py for my own session management which stores in MySQL and =
has License stuff etc.
>=20
> I consider it Beta since I am the only one running it and do not touch =
all the code.
>=20
> This code is free to use by anybody (Be aware it should be GPL or so). =
At the moment there is no CVS or License simply because I do not have =
the time to set stuff like that up (never did that before). I just =
started coding Python with Eclipse and Pydev as preparation on starting =
CVS use.
>=20
> Drop me an email if u r interested I'll help you out using email/MSN =
Messenger/Skype etc
>=20
> Hi Martijn,
> I'm interested in your code, can you please sent to me a copy ?
> thanks,
> luca


--Apple-Mail-2--817727496
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Please give me some time to build instructions and a zip file, I'm extremely busy until next wednesday, I hope i can find the time to get it done in between!<div><br><div><div>On Feb 25, 2010, at 12:08 PM, Lu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I have written an adapter for mod_wsgi which is code compatible for Mod_python programs.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
My mod_python CMS runs now on top of mod_wsgi without any changes to the code.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
It is really small and consists of one index.wsgi to created the req object and call the handler and a "fake" python package for the apache.py, Session.Py, Cookie.py etc. (I did need to change some stuff in there)</blockquote>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I did this for my own use since I like the Req object and to pass it around, so my code is very dependent on MP. I have completely turned over Session.Py for my own session management which stores in MySQL and has License stuff etc.</blockquote>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I consider it Beta since I am the only one running it and do not touch all the code.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
This code is free to use by anybody (Be aware it should be GPL or so). At the moment there is no CVS or License simply because I do not have the time to set stuff like that up (never did that before). I just started coding Python with Eclipse and Pydev as preparation on starting CVS use.</blockquote>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0,8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Drop me an email if u r interested I'll help you out using email/MSN Messenger/Skype etc</blockquote><div><br></div><div>Hi Martijn,</div><div>I'm interested in your code, can you please sent to me a copy ?</div><div>
thanks,</div><div>luca</div>
</blockquote></div><br></div></body></html>
--Apple-Mail-2--817727496--

--===============1021643034==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mod_python mailing list
[email protected]
http://mailman.modpython.org/mailman/listinfo/mod_python

--===============1021643034==--