Хостинг Mercurial с IIS 6

Я пытаюсь настроить репозитории Mercurial для размещения на IIS в Windows Server 2003.эта почта Я установил Python 2.5.4.4 и Mercurial 1.3, настроил виртуальный каталог, распаковал library.zip и создал hgwebdir.config.

Тем не менее, когда я пытаюсь открытьHttp: //hostname/hg/hgwebdir.cgi Я получил ошибку & # x201C; Указанное CGI-приложение неправильно работает, поскольку не возвращает полный набор заголовков HTTP. & # X201D; Я все сделал лучше всего:

Checked IIS mappings to both .py and .cgi extensions. I even tried to use FastCGI with no success. Created “Hello World” in the same dir and checked that it works fine. Checked read/exec permissions to Python, IIS and repos directories for IUSR, IWAM and NETWORK SERVICE. Tried to apply two different patches from Mercurial mailing list. Since they both are old I haven't success with it. INstalled Sysinternals' procmon and checked for filesystem errors during request. I found nothing except lots of Buffer Overflow results in Python process while it loads it's libraries. Tried to add 'Content-type: text/html' to the script.

Еще одна вещь, когда я запрашиваю несуществующий файл сценария (например, /hg/inexist.cgi), у меня та же ошибка. Ничего не помогло!

Ответы на вопрос(5)

Ваш ответ на вопрос