Hello, I'm having an issue with my installation, and I'm not sure if web.py is to blame or something else. I think it's Firefox, or something with HTTP headers.
I'm using WSGI on apache, and I know it works (tested with the .wsgi extension). I installed web.py, and it works, but only when I have the ".wsgi" extension handled by the wsgi-script. When I switch it to the '.py' extension, and run the script, I get NO errors in any log, and Firefox 3 asks me to download "wiki.py", like it's a genuine file (such as .avi, .odt, .txt). Once I download it, open it up in gedit, I get exactly what it was supposed to output in the browser, HTML. I was worried that the wiki.py I downloaded would contain the python code, but it doesn't. This tells me that WSGI is working, web.py is working... but why does it ask me to download the file? Is there some sort of a HTTP header that I need to send? Does anybody know what's wrong and how I can fix it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
