Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In speaking to the providers of wfastcgi.py they told me it may be an issue with wfastcgi.py that is causing this problem. While they look into it they gave me a work around that fixes the issue.</p> <p>Download the latest copy of wfastcgi.py from <a href="http://pytools.codeplex.com/releases" rel="nofollow">http://pytools.codeplex.com/releases</a></p> <p>In that file find this part of the code:</p> <pre><code>if 'HTTP_X_ORIGINAL_URL' in record.params: # We've been re-written for shared FastCGI hosting, send the original URL as the PATH_INFO. record.params['PATH_INFO'] = record.params['HTTP_X_ORIGINAL_URL'] </code></pre> <p>And add right below it (still part of the if block):</p> <pre><code># PATH_INFO is not supposed to include the query parameters, so remove them record.params['PATH_INFO'] = record.params['PATH_INFO'].split('?')[0] </code></pre> <p>Then, upload/deploy this modified file to the Azure site (either use the ftp to put it somewhere or add it to your site deployment. I'm deploying it so that if I need to modify it further its versioned and backed up.</p> <p>In the Azure management page for the site, go to the site's configure page and change the handler mapping to point to the modified wfastcgi.py file and save the configuration.</p> <p>i.e. my handler used to be the default D:\python27\scripts\wfastcgi.py. Since I deployed my modified file, the handler path is now: D:\home\site\wwwroot\wfastcgi.py</p> <p>I also restarted the site, but you may not have to.</p> <p>This modified script should now strip the query string from PATH_INFO, and urls with query strings should work. I'll be using this until I hear from the wfastcgi.py devs that the default wfastcgi.py file in the Python27 install has been fixed/replaced.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload