Moved to Git repo from PST server
This commit is contained in:
16
htdocs/.htaccess
Normal file
16
htdocs/.htaccess
Normal 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>
|
||||
Reference in New Issue
Block a user