Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. # Settings for adding a trailing slash to the URL
  2. RewriteEngine On
  3. RewriteCond %{REQUEST_URI} ^/(solr)$
  4. RewriteRule ^(.*)$ http://%{HTTP_HOST}$1/ [R=301,L]
  5.  
  6. # Settings for Solr in Apache
  7. <IfModule mod_proxy.c>
  8.  
  9. # Proxy specific settings
  10. ProxyRequests Off
  11. ProxyPreserveHost On
  12.  
  13. <Proxy *>
  14. AddDefaultCharset off
  15. Order deny,allow
  16. Allow from all
  17. </Proxy>
  18.  
  19. ProxyPass /solr http://localhost:8080/solr/
  20. ProxyPassReverse /solr http://localhost:8080/solr/
  21.  
  22. </IfModule>
  23.  
  24. <Connector port="8080" protocol="HTTP/1.1"
  25. address="127.0.0.1"
  26. connectionTimeout="20000"
  27. URIEncoding="UTF-8"
  28. redirectPort="8443" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement