[mod_python] use publisher without .py file extension

edgar mortiz pfunix at gmail.com
Thu Oct 12 14:51:05 EDT 2006



read section 2.17

On 10/12/06, Sells, Fred <fred at adventistcare.org> wrote:
> I would like to be able to use the mod_python.publisher without requiring
> using the .py suffix in my file.  The idea is to not disclose to the user
> that python is being used as one more bit of security.
> I tried it but it seems as if the mod_python import is expecting standard
> python modules.
> While I would like a generic solution, each "application" is in it's own
> subdirectory and would have very few (hopefully 1) file that is the single
> point of access to all backend logic.  Thus I could revise the apache .conf
> file whenever a new application is added if I must.
> ---------------------------------------------------------------------------
> The information contained in this message may be privileged and / or
> confidential and protected from disclosure. If the reader of this message is
> not the intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this communication in error, please notify the sender
> immediately by replying to this message and deleting the material from any
> computer.
> ---------------------------------------------------------------------------
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list