[mod_python] How to handle multiple .py files using Apache 1.3.x and mod_python 2.7

Eustaquio Rangel de Oliveira Jr. eustaquiorangel at yahoo.com
Thu Apr 15 11:03:22 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

I swear I googled for it for some days but didn't find a good answer to
it (I found this
http://www.modpython.org/FAQ/faqw.py?req=show&file=faq01.002.htp but
only works with Apache2 and mod_python3), so I need to ask you: how can
I make a config on the httpd.conf to handle all the .py files I could
have on a directory?

Maybe I'm missing something on the concept, but let me explain.
I actually use PHP for web stuff, and have a lot of PHP scripts on some
dirs.

Let's suppose I have 100 .php, if I have 100 .py and need to configure
httpd.conf to handle it and restart Apache everytime I make a .py will
be very hard to deal with this, so I just need something like "hey,
execute that .py there" stuff.

Is there a way to do that? I didn't find a clear answer to this yet. Or
as I said, maybe I'm missing the concept of how things works with
mod_python.

Thanks.

- --
~    .--.     TaQ (Eustáquio Rangel)                  ((__-^^-,-^^-__))
~   |o_o |    Usuário registrado GNU/Linux no. 224050  `-_---' `---_-'
~   |:_/ |    email  : eustaquiorangel at yahoo.com        `--|o` 'o|--'
~  //   \ \   URL    : http://beam.to/taq                  \  `  /
~ (|     | )  ICQ    : 110103942                            ): :(
/'\_   _/`\  PGP key: 0x784988BB                           :o_o:
\___)=(___/  Eu gosto de GNU/Linux, e vc ? ;)               "-"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAfpYpb6UiZnhJiLsRAl95AKCbessZEKXJbDUp/6htgx89h8j+jACfYeeK
bWxCtVOoA/MsnTboSfeCfC4=
=VgqB
-----END PGP SIGNATURE-----


More information about the Mod_python mailing list