Open GoogleCodeExporter opened 9 years ago
Check that you do not have any mod_rewrite rules in your Apache configuration
as that can stuff things up.
So can check, suggest you supply the mod_wsgi configuration from Apache along
with any Alias or RewriteRule/RewriteCond directives that are in effect for
that host.
Original comment by Graham.Dumpleton@gmail.com
on 13 Feb 2013 at 9:26
no RewriteRule/RewriteCond directives, rewrite_module is not even loaded.
httpd.conf
----------
<VirtualHost *:80>
DocumentRoot "C:/DocumentRoot"
TimeOut 30
#KeepAliveTimeout On
LimitRequestFieldSize 16380
<Directory "C:/Programs/Apache/conf">
AllowOverride None
Options None
Require all granted
</Directory>
WSGIScriptAlias / "C:/Programs/Apache/conf/bic.wsgi"
</VirtualHost>
bic.wsgi
--------
def application(environ, start_response):
status = '200 OK'
output = str(environ)
response_headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]
Original comment by odedgo...@gmail.com
on 14 Feb 2013 at 8:26
Original issue reported on code.google.com by
odedgo...@gmail.com
on 13 Feb 2013 at 4:06