[mod_python] SUCCESS-- mod_python as DSO

Gregory Trubetskoy grisha at modpython.org
Mon May 29 20:55:32 EST 2000

Curious.... I do most of my development and testing on FreeBSD 4.0 and
occasional testing on a Debian Linux (Potato) and a Sun Sparc (Sol 2.7).
On one FreeBSD system I have a very similar ClearModuleList set up (the
default FreeBSD Apache port install). I have LoadModule python_module dead
last and it works great...

I guess I'm going to have to install Red Hat somewhere, since it seems to
be the most popular thing out there....

  Gregory (Grisha) Trubetskoy
       grisha at modpython.org~

On Mon, 29 May 2000, Jeff wrote:

> On Sun, May 28, 2000 at 02:10:32PM -0400, Gregory Trubetskoy wrote:
> > 
> > Could you send a list of all LoadModules you had and the sequence that
> > works and the one that doesn't?
> > 
> The following sequence works. This list is a piece of the most stripped down
> config I could make and still have a useful webserver. It could probably be
> trimmed even more.
> LoadModule python_module      modules/mod_python.so
> LoadModule env_module         modules/mod_env.so
> LoadModule config_log_module  modules/mod_log_config.so
> LoadModule agent_log_module   modules/mod_log_agent.so
> LoadModule referer_log_module modules/mod_log_referer.so
> LoadModule mime_module        modules/mod_mime.so
> LoadModule negotiation_module modules/mod_negotiation.so
> LoadModule status_module      modules/mod_status.so
> LoadModule autoindex_module   modules/mod_autoindex.so
> LoadModule dir_module         modules/mod_dir.so
> LoadModule userdir_module     modules/mod_userdir.so
> LoadModule alias_module       modules/mod_alias.so
> LoadModule rewrite_module     modules/mod_rewrite.so
> LoadModule access_module      modules/mod_access.so
> LoadModule setenvif_module    modules/mod_setenvif.so
> ClearModuleList
> AddModule mod_env.c
> AddModule mod_log_config.c
> AddModule mod_log_agent.c
> AddModule mod_log_referer.c
> AddModule mod_mime.c
> AddModule mod_negotiation.c
> AddModule mod_status.c
> AddModule mod_autoindex.c
> AddModule mod_dir.c
> AddModule mod_userdir.c
> AddModule mod_alias.c
> AddModule mod_rewrite.c
> AddModule mod_access.c
> AddModule mod_so.c
> AddModule mod_setenvif.c
> AddModule mod_python.c
> If I change the list so that mod_python is loaded *last* (or, apparently,
> anything other than first), Apache will core dump. I haven't tried changing
> the sequence of the 'AddModule' directives to see if it changes the
> situation. Please let me know if that would be a useful test, or if there
> are any more questions or concerns.
> Regards,
> J
> -- 
> || visit gfd <http://quark.emich.edu/>
> || psa member -- <http://www.python.org/psa/> 

More information about the Mod_python mailing list