[LUNI] Any other ways to run Phython in Apache besides mod_python?
lists-jquigley at jquigley.com
Tue Apr 25 18:02:52 CDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
To clarify, my mailman cgi scripts are located in:
$ pwd && ls
admin confirm edithtml options rmlist savannah
admindb create listinfo private roster subscribe
A someone strange location, I'll agree; it is the default location of
debian's mailman installation.
Joel Hacker wrote:
> Does that mean that you have mailman cgi's installed in:
> /usr/lib/cgi-bin/mailman ??
> Or, do you mean:
> /usr/local/mailman/cgi-bin ???
> I installed my mailman in /usr/local/mailman and am
> using /usr/local/mailman/cgi-bin as the binary dir.
> Can you please clarify?
> John Quigley wrote:
> This is how my customized Apache2 config looks like for my mailman
> lists.hostname.com VirtualHost:
> DocumentRoot /usr/lib/cgi-bin/mailman
> <Directory /usr/lib/cgi-bin/mailman>
> AllowOverride None
> Options +ExecCGI +FollowSymLinks
> Order allow,deny
> Allow from all
> SetHandler cgi-script
> RedirectMatch ^/$ /listinfo/
> RedirectMatch ^$ /listinfo/
> Hope that helps.
> John Quigley
> Joel Hacker wrote:
>>>> I just installed a mailman system and am having trouble
>>>> getting apache to recognize the scripts:
>>>> admin confirm edithtml options rmlist subscribe
>>>> admindb create listinfo private roster
>>>> When I go to the browser on that system and select
>>>> any of those files, mozilla gives me the option to
>>>> save the binary python file...
>>>> I have /usr/local/mailman/cgi-bin configured in
>>>> apache as the root dir, but I don't know how to
>>>> get apache to recognize those scripts as python
>>>> scripts, and I am having trouble getting mod_python
>>>> to successfully install...
>>>> Any ideas of other ways to get apache to recognize
>>>> those scripts as python scripts and execute them on
>>>> the server side?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the luni