durusmail: quixote-users: Any users of mod_python got configs they'll share??
Any users of mod_python got configs they'll share??
2003-01-23
Any users of mod_python got configs they'll share??
2003-01-23
2003-01-23
2003-01-23
Any users of mod_python got configs they'll share??
Ken Kennedy
2003-01-23
On Thu, Jan 23, 2003 at 09:32:18AM -0500, Greg Ward wrote:

> Does kenzoid/__init__.py have a _q_exports containing 'blog' and
> 'bookmark'?  (I'm sure it does, or you wouldn't have gotten very far
> with plain CGI.)

Yup...I at least got THAT far...*grin*

> Does your application config file set
>   SECURE_ERRORS = 0
>
> ?  Doing so should make this error message more useful.  (Although I
> don't remember how you setup an app config file with mod_python...)
>
> Also, make sure that you set DEBUG_LOG in the config file and enable
> logging.  Then sprinkle print statements at module-level in your various
> kenzoid/__init__.py, kenzoid/blog/__init__.py, etc. (or is it
> kenzoid/blog.py -- whatever) to see what's getting imported when.
>
> You might also add some print statements to Quixote's code --
> specifically Publisher in publish.py.  That way you'll really get to
> know the guts of Quixote, lucky boy.  ;-)
>
> (If you can't get logging to work, print to stderr -- should wind up in
> Apache's error log.)

Doh! Of course...I wasn't thinking. (I'm switching over from
AOLServer/Tcl for web stuff, so using my python experience for
webdev is still sinking in). Thanks, Greg...the light's going on
now. I'll muddle though at this point, hopefully...

Question, though. I AM considering backing off to apache1 and SCGI at
this point, at least until SCGI gets ported to apache2. I've seen you
comment before on some of the advantages of using SCGI...more
separation between web server and application process, etc. The
multiplicity of options is a bonus...but it seems like SCGI seems to
be a common way to go. (I imagine that's partially b/c MX wrote it
though. *wink*)

Is there any consensus on what config works best, or do people pretty
much use what they're comfortable with?

Thanks again for the nudge. I'm definitely looking forward to using
the toolkit...

--

Ken Kennedy     | http://www.kenzoid.com        | kenzoid@io.com

reply