Merge branch 'master' of /git/ansible
This commit is contained in:
commit
877ff661ad
1 changed files with 7 additions and 0 deletions
|
@ -7,8 +7,15 @@ RewriteCond %{HTTP_USER_AGENT} ^fpaste\/0\.3.*$ [OR]
|
|||
RewriteCond %{HTTP_USER_AGENT} ^Python\-urllib.*$
|
||||
RewriteCond %{REQUEST_METHOD} POST
|
||||
RewriteRule ^/$ /stickynotes2modernpaste/$1 [L,PT]
|
||||
|
||||
RewriteCond %{HTTP_USER_AGENT} ^fpaste\/0\.3.*$ [OR]
|
||||
RewriteCond %{HTTP_USER_AGENT} ^Python\-urllib.*$
|
||||
RewriteCond %{REQUEST_METHOD} POST
|
||||
RewriteRule ^/(.*)=/$ /stickynotes2modernpaste/$1= [L,PT]
|
||||
|
||||
# Otherwise, if we're given a URL with a trailing slash, kill it.
|
||||
RewriteRule ^/(.*)=/$ /$1= [R,L]
|
||||
|
||||
WSGIScriptAlias / /usr/share/modern-paste/modern_paste.wsgi
|
||||
|
||||
<Directory /usr/share/stickynotes2modernpaste>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue