Jump to content

Recommended Posts

Hello,

i want to run a .py file  just the way we run .php file with apache, i have downloaded the windows installer for Mod_python and the Mod_python was created inside the Apache Modules directory but Apache was unable to load it.

 

My Apache version is:  2.2.4

Python Version is: 2.5.1

mod_python: 3.3.1

 

After the installation this was the last message:-

 

Important Note for Windows users, PLEASE READ!!!

 

        1. This script does not attempt to modify Apache configuration,

          you must do it manually:

 

          Edit C:/Program Files/Apache Software Foundation/Apache2.2\conf\httpd.conf,

          find where other LoadModule lines are and add this:

                LoadModule python_module modules/mod_python.so

 

        2. Now test your installation using the instructions at this link:

          http://www.modpython.org/live/current/doc-html/inst-testing.html

I have added the LoadModule python_module modules/mod_python.so to my apache configuration file.

i configure PHP and is working perfect.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.