Re: [users@httpd] problem integrating apache,linux,python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/19/05, neha gupta <nehagupta29_2005@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux