Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Settings for adding a trailing slash to the URL
- RewriteEngine On
- RewriteCond %{REQUEST_URI} ^/(solr)$
- RewriteRule ^(.*)$ http://%{HTTP_HOST}$1/ [R=301,L]
- # Settings for Solr in Apache
- <IfModule mod_proxy.c>
- # Proxy specific settings
- ProxyRequests Off
- ProxyPreserveHost On
- <Proxy *>
- AddDefaultCharset off
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyPass /solr http://localhost:8080/solr/
- ProxyPassReverse /solr http://localhost:8080/solr/
- </IfModule>
- <Connector port="8080" protocol="HTTP/1.1"
- address="127.0.0.1"
- connectionTimeout="20000"
- URIEncoding="UTF-8"
- redirectPort="8443" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement