[mod_python] Error testing installation of mod_python

Sandhya Uppada sandhya.samson at gmail.com
Fri Mar 27 16:39:32 EDT 2009


Hi,

I'm trying to install mod python on my Windows XP. I installed and
configured mod_python as per the installtion guide but when I test it using
the simple "hello world" program, I get HTTP 404 Error. I'm new to this and
need help in figuring this out. Following is the /mpinfo output. Pls give me
some pointers that can look at and correct this error.

Regards,
Sandhya

  Apache version Apache/2.2.11 (Win32) mod_python/3.3.1 Python/2.5.4 Apache
threaded MPM Yes, maximum 64 threads / process Apache forked MPM No (single
process MPM) Apache server root C:/Program Files/Apache Software
Foundation/Apache2.2 Apache document root C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs Apache error log C:/Program Files/Apache
Software Foundation/Apache2.2\logs/error.log (view last 100
lines<http://localhost/mpinfo?view_log=1>
) Python sys.version 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310
32 bit (Intel)] Python sys.path

C:\WINDOWS\system32\python25.zip
C:\Python25\Lib
C:\Python25\DLLs
C:\Python25\Lib\lib-tk
C:\Program Files\Apache Software Foundation\Apache2.2
C:\Program Files\Apache Software Foundation\Apache2.2\bin
C:\Python25
C:\Python25\lib\site-packages

 Python interpreter name BOB_SANDY.domain_not_set.invalid mod_python.publisher
available Yes mod_python.psp available Yes Request input headers  Key Value
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */* Accept-Language en-us
UA-CPU x86 Accept-Encoding gzip, deflate User-Agent Mozilla/4.0 (compatible;
MSIE 7.0; Windows NT 5.1; MSDigitalLocker; .NET CLR 1.1.4322; InfoPath.1)
Host localhost Connection Keep-Alive Request environment  Key Value
GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET
QUERY_STRING  REQUEST_URI /mpinfo SCRIPT_NAME /mpinfo HTTP_ACCEPT image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
*/* HTTP_ACCEPT_LANGUAGE en-us HTTP_UA_CPU x86 HTTP_ACCEPT_ENCODING gzip,
deflate HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
MSDigitalLocker; .NET CLR 1.1.4322; InfoPath.1) HTTP_HOST localhost
HTTP_CONNECTION Keep-Alive PATH
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\HPQ\IAM\bin;C:\Program Files\Java\jdk1.6.0_12\bin;C:\Program
Files\Sun\JavaDB\bin;C:\Python26;C:\Eclipse-SDK-3.4.1-win32\eclipse
SystemRoot C:\WINDOWS COMSPEC C:\WINDOWS\system32\cmd.exe PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH WINDIR C:\WINDOWS
SERVER_SIGNATURE  SERVER_SOFTWARE Apache/2.2.11 (Win32) mod_python/3.3.1
Python/2.5.4 SERVER_NAME localhost SERVER_ADDR 127.0.0.1 SERVER_PORT 80
REMOTE_ADDR 127.0.0.1 DOCUMENT_ROOT C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs SERVER_ADMIN name at somedomain.com
SCRIPT_FILENAME C:/Program
Files/Apache Software Foundation/Apache2.2/htdocs/mpinfo REMOTE_PORT 3354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20090327/0d834ef4/attachment.html


More information about the Mod_python mailing list