[LUNI] Any other ways to run Phython in Apache besides mod_python?

Joel Hacker qa6240 at email.mot.com
Tue Apr 25 17:09:30 CDT 2006


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?

Thanks!

John Quigley wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> 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/
>    </Directory>
> 
> Hope that helps.
> 
> Regards,
> John Quigley
> https://chicagolug.org/~jquigley/
> 
> Joel Hacker wrote:
> 
>>Hi,
>>
>>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
>>
>>Currently,
>>
>>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?
>>
>>Thanks!
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> 
> iQEVAwUBRE6YZM0R7J5rXALVAQi/Iwf/RQbR+qkmIjuoKfHGEWvjTbHHFBqIFFyF
> 0EiODsKBQ7NX9X+gYmPiKUBenyMFFqAATI4Ta0nhTmQ7XRWfxpixFrJEdM3F2t3C
> 1yToseHv13Tacl87xvzKhWshh2H2e3ZQo2nGyPha8pAMWyVHTiGKaors55Tfy0A2
> 3ch18WJVMpkF4/12Pw7VwnWF9C/AK7tkopTUiWwHvHxwOlwcow61YoTra4BAgPzt
> 5NwdSVs4Gw+tkEtF5x0ARgGbkGjLjSmyocQIDeEMw7JcibPTwGkYi3Wz/p9uVKaM
> kMq6as9CcTMPVfUFAq2RIbsNqLdYrlq9Xs5BntQgfKNxip/Xmg+xzA==
> =iOPw
> -----END PGP SIGNATURE-----


More information about the luni mailing list