Moved to Git repo from PST server

This commit is contained in:
Sergey Morozov
2014-04-18 23:34:12 +04:00
commit e952817423
4 changed files with 779 additions and 0 deletions

16
htdocs/.htaccess Normal file
View File

@@ -0,0 +1,16 @@
AuthType Basic
AuthName "Restricted Access"
AuthUserFile /path/to/file/with/passwords
Require valid-user
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
#<LocationMatch "^/+$">
Options -Indexes
RedirectMatch "^/+$" /index.py/view
RedirectMatch "^/index.py+$" /index.py/view
RedirectMatch "^/imp+$" /index.py/imp
RedirectMatch "^/view+$" /index.py/view
RedirectMatch "^/delete+$" /index.py/delete
#</LocationMatch>