Карта сайта Интеллектуальная поисковая системаДобавить свою ссылку по ключевому запросуПоисковая система v3.kz поможет ускорить индексацию вашего сайта выводит в Топ |
|
#!/usr/bin/env python # #. An example CGI script to export multiple hgweb repos, edit as necessary #. send python tracebacks to the browser if an error occurs: #import cgitb #cgitb.enable() #. #!/usr/bin/env python # #. An example CGI script to export multiple hgweb repos, edit as necessary #. send python tracebacks to the browser if an error occurs: #import cgitb #cgitb.enable() #. The recommended method for self-publishing repositories over HTTP is to use the hgweb scripts with a dedicated Web server such as Apache or IIS. Using mod_wsgi is recommended over using mod_python. Its one of the faster and more efficient ways of serving hgweb(dir). You can use the hgwebdir.wsgi script (it lives where other Mercurial scripts live, and works with Mercurial 1.0 and later), which references a... #!/usr/bin/env python # #. An example CGI script to export multiple hgweb repos, # edit as necessary. mod_python — модуль веб-сервера Apache, который встраивает в него интерпретатор языка Python. Mod_python позволяет добиться более высокой скорости выполнения веб-приложений на этом языке, чем при использовании CGI. Only use the -c flag for the FIRST person you add, drop it for every add after that sudo htdigest -c /etc/hgweb/users.htdigest "Zachs Mercurial Repository" burly. С помощью пакета mod_python для Apache можно запускать сценарии на языке Python, также он поддерживает шаблоны механизма Python Server Установил его, теперь хочу поставить веб-интерфейс к нему. На сервере apache2. Можно ставить по этой статье? http://slucas.wikidot.com/en:hgweb-mod-python. Ändern der hgwebdir.py #!/usr/bin/env python # # An example CGI script to export multiple hgweb repos, edit as necessary. # enable importing on demand to reduce startup time from mercurial.hgweb.hgweb_mod import hgweb from... Информация взята v3.kz |
загрузка...
|