sorry for not being clear.  My "myapp.wsgi" as shown below works.
import sys
def application(environ, start_response):
    status = '200 OK'
    output = 'Hello World! instant change test xxx from ' + __file__
    temp = environ.items()
    temp.sort()
    temp = ['%-20s\t%s' % x for x in temp]
    paths = '\n'.join(temp)
    output += '\n'+paths
   

    response_headers = [ ('Content-type', 'text/plain'),
                         ('Content-Length', str(len(output)))
                         ]
    start_response(status, response_headers)
    return [output]
----------------------------------------
The test3.wsgi I posted previously responds with nothing and no source (i.e. 
view->source) from Firefox 4.0 but
the access_log shows the hits on myapp.wsgi but shows nothing on test3.wsgi.

 If I go to I.E.  I get "Internet Explorer cannot display the webpage"and 
view source shows

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";> 

<html> 



<head> 

<link rel="stylesheet" type="text/css" href="ErrorPageTemplate.css" > 



<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 

<title>Internet Explorer cannot display the webpage</title> 



<script src="errorPageStrings.js" language="javascript" 
type="text/javascript"> 

</script> 

<script src="httpErrorPagesScripts.js" language="javascript" 
type="text/javascript"> 

</script> 

</head> 



<body onLoad="javascript:initMoreInfo('infoBlockID');"> 



<table width="730" cellpadding="0" cellspacing="0" border="0"> 



<!-- Error title --> 

<tr> 

<td id="infoIconAlign" width="60" align="left" valign="top" rowspan="2"> 

<img src="noConnect.png" id="infoIcon" alt="Info icon" width="48" 
height="48"> 

</td> 

<td id="mainTitleAlign" valign="middle" align="left" width="*"> 

<h1 id="mainTitle">Internet Explorer cannot display the webpage</h1> 

</td> 

</tr> 



<tr> 

<!-- This row is for HTTP status code, as well as the divider--> 

<td id="errorCodeAlign" class="errorCodeAndDivider" align="right">&nbsp; 

<div class="divider"></div> 

</td> 

</tr> 



<!-- What you can do --> 

<tr> 

<td> 

&nbsp; 

</td> 

<td id="whatToTryAlign" valign="top" align="left"> 

<h2 id="whatToTry">What you can try:</h2> 

</td> 

</tr> 



<!-- Check Connection --> 

<tr> 

<td > 

&nbsp; 

</td> 

<td id="checkConnectionAlign" align="left" valign="middle"> 

<h4> 

<table> 

<tr> 

<td valign="top"> 

</td> 

<td valign="middle"> 

<button onclick="javascript:diagnoseConnectionAndRefresh(); return false;" 
id="diagnose">Diagnose Connection Problems</button> 

</td> 

</tr> 

</table> 

</h4> 

</td> 

</tr> 





<!-- InfoBlock --> 

<tr> 

<td id="infoBlockAlign" align="right" valign="top"> 

&nbsp; 

</td> 

<td id="moreInformationAlign" align="left" valign="middle"> 

<h4> 

<table> 

<tr> 

<td valign="top"> 

<a href="#" onclick="javascript:expandCollapse('infoBlockID', true); return 
false;"><img src="down.png" id="infoBlockIDImage" border="0" 
class="actionIcon" alt="More information"></a> 

</td> 

<td valign="top"> 

<span id="moreInfoContainer"></span> 

<noscript><ID id="moreInformation">More information</ID></noscript> 

</td> 

</tr> 

</table> 

</h4> 

<div id="infoBlockID" class="infoBlock" style="display: none"> 

<p> 

<ID id="errorExpl1">This problem can be caused by a variety of issues, 
including:</ID> 

<ul> 

<li id="errorExpl2">Internet connectivity has been lost.</li> 

<li id="errorExpl3">The website is temporarily unavailable.</li> 

<li id="errorExpl4">The Domain Name Server (DNS) is not reachable.</li> 

<li id="errorExpl5">The Domain Name Server (DNS) does not have a listing for 
the website's domain.</li> 

<li id="errorExpl7">There might be a typing error in the address.</li> 

<li id="errorExpl6">If this is an HTTPS (secure) address, click Tools, click 
Internet Options, click Advanced, and check to be sure the SSL and TLS 
protocols are enabled under the security section.</li> 

</ul> 

</p> 

<p id="offlineUsers"><b>For offline users</b></p> 

<p id="viewSubscribedFeeds1"> 

You can still view subscribed feeds and some recently viewed webpages.<br/> 

To view subscribed feeds 

<ol> 

<li id="viewSubscribedFeeds2">Click the Favorites Center button <img 
src="favcenter.png" border="0">, click Feeds, and then click the feed you 
want to view.</li> 

</ol> 

</p> 

<p id="viewRecentWebpages1">To view recently visited webpages (might not 
work on all pages) 

<ol> 

<li id="viewRecentWebpages2">Click Tools <img src="tools.png" border="0">, 
and then click Work Offline.</li> 

<li id="viewRecentWebpages3">Click the Favorites Center button <img 
src="favcenter.png" border="0">, click History, and then click the page you 
want to view.</li> 

</ol> 

</p> 

</div> 

</td> 

</tr> 



</table> 



</body> 

</html> 



.Ù

the access_log shows the hits on myapp.wsgi but shows nothing on test3.wsgi.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to