VirtualHost 194 54 91 85 80 Directory webhomes pythy pyobject_docroot

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<VirtualHost 194.54.91.85:80>
<Directory "/webhomes/pythy/pyobject_docroot">
Options -Indexes SymLinksIfOwnerMatch
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html
</Directory>
ServerAdmin webmaster@pyobject.ru
DocumentRoot /webhomes/pythy/pyobject_docroot
ServerName hg.pyobject.ru
ErrorLog /webhomes/pythy/log/httpd-error.hg.log
CustomLog /webhomes/pythy/log/httpd-access.hg.log combined
# Mercurial settings
<Location "/">
SetHandler mod_python
PythonPath "['/webhomes/pythy/mercurial/lib'] + sys.path"
PythonHandler modpython_gateway
PythonOption wsgi.application pyo_hgweb::application
</Location>
</VirtualHost>