ejabberd: Disable DirectoryIndex in bosh path for Apache 2.4
See https://bz.apache.org/bugzilla/show_bug.cgi?id=53929
This commit is contained in:
parent
dc87bed659
commit
29b570ca6b
2 changed files with 6 additions and 5 deletions
7
ejabberd/templates/htaccess.erb
Normal file
7
ejabberd/templates/htaccess.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
<% if scope.lookupvar('apache::version') == '2.4' -%>
|
||||
DirectoryIndex disabled
|
||||
<% end -%>
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteRule ^(.*)$ http://localhost:5280/http-bind/$1 [P,L]
|
||||
</IfModule>
|
Loading…
Add table
Add a link
Reference in a new issue