|
I have been trying to host OSQA on IIS. http://meta.osqa.net/questions/121/installing-osqa-on-windows-2008-server-with-iis7 http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer http://wiki.osqa.net/display/docs/Setting+up+a+development+environment+on+Windows http://whelkaholism.blogspot.com/2010/10/django-on-iis.html I have: I am at the point where i can successfully call at command prompt I have installed PyISAPIe and linked it to IIS. I had it successful load a HelloWorld.py. When I switched this to display OSQA (after some work adding permissions to a LARGE list of files/folders) I get a textual representation of the home page where non of the links work. Clicking on the links simply returns. HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. There are no recent errors in the OSQA log file, and only 404 errors in the IIS error logs. Have i perhaps done something wrong in setting up the PyISAPIe handler? Thanks in advance |
|
I know it's not really the answer you want but: I gave up and due to some weird situation was unable to install apache and so had to use a cherrypy based webserver that made it pretty straight forward e.g. manage.py runcpserver host=ip address port=80 http://lincolnloop.com/blog/2008/mar/25/serving-django-cherrypy/ You can also download it via easy install. One problem I found was the lack of logging options (could you google analytics or your choice of webanalytics to track) and that I had to log in via console to get it to work correctly as it isn't service based :/ But I do agree with you, getting step by step instuction guide for this (with out of the box ldap) will see a lot more behind firewall installs. Regards Thomas King |
|
Oddly this issue was resolved for me by recreating the handler mapping within IIS manager for my site. Although I already had a wildcard mapping for all files which was setup to load PyISAPIe, recreating this mapping seemed to work, I'm not 100% sure why. Hi RobP, I know this is quite old, but I'm having the same issue as you. In your last answer, you said you added permissions to a LARGE list of files/folders, which ones? I remember having an error displayed directly in the web page where the django log file was unaccessible, so I gave proper access to get this work I didn't get any permission complaints since then. I see the header and footer of OSQA but all CSS and the page content are not displaying - 404 errors. None of the links work either. I have: Windows Server 2008 R2 IIS 7 Python 2.6 I have installed PyISAPIe and linked it to IIS. I had it successful load a HelloWorld.py. Basically, I have the same config as you said in your initial post. So first, what is the LARGE list of file that you added permissions to? Other than that, is there anything else I could try to get this to work? Thanks in advance, Mathieu
(16 May, 13:37)
mathasselin
|