Skip to content

apacheConfigShieldSolr

Meine Toonen edited this page Oct 30, 2013 · 1 revision
<VirtualHost *:80>
ServerName <myurl>.nl

ServerAdmin <my_admin_mailaddress>

LogLevel info
ErrorLog /var/log/apache2/<logname>.log
CustomLog /var/log/apache2/<logname>-access.log combined

ServerSignature On

<Proxy ajp://localhost>
	Order deny,allow
	Allow from all
</Proxy>

ProxyPass /<firstapp> ajp://localhost:<tomcatajpport>/<firstapp>/ 
...
# DO NOT INCLUDE SOLR, IT WILL BE DISABLED FROM THE OUTSIDE. ACCESS IT VIA http://localhost:  <tomcatajpport>/solr.
</VirtualHost>