On 10/19/05, neha gupta <[EMAIL PROTECTED]> wrote:
> The problem is,when i m running my python script,after
> starting apache ,it is showing me the code it has.
> LoadModule python_module
> /home/ngupta/Apache2/modules/mod_python.so
>
>
> DocumentRoot "/home/ngupta/Apache2/htdocs"
>
> <Directory />
>     AllowOverride FileInfo
> </Directory>
>
> ***
> I m using a .htaccess file placed under
> Apache2/htdocs/test/
> The .htaccess file has the following code
> **
> AddHandler mod_python .py
>       PythonHandler mptest
>       PythonDebug On

Are you sure the .htaccess file is being read?  Put an obvious syntax
error in it ("foobar"), then check to make sure you get a 500 error
when you access the directory.  More likely, you have AllowOverride
set incorrectly someplace else in the config file so the file is never
read.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to