summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 22:42:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 22:42:39 +0000
commite2461503623a8fbd7175e753628668329af04cc6 (patch)
tree3a78508d2e035ab565fa650706cdbb46c32004bc
parentEnable ice_print on XmlError (diff)
downloadmirrorsearch-e2461503623a8fbd7175e753628668329af04cc6.tar.bz2
mirrorsearch-e2461503623a8fbd7175e753628668329af04cc6.tar.xz
mirrorsearch-e2461503623a8fbd7175e753628668329af04cc6.zip
Add example configurations
-rw-r--r--service/icebox.config4
-rw-r--r--site/.htaccess7
-rw-r--r--site/config/ice.properties1
3 files changed, 12 insertions, 0 deletions
diff --git a/service/icebox.config b/service/icebox.config
new file mode 100644
index 0000000..3e248f4
--- /dev/null
+++ b/service/icebox.config
@@ -0,0 +1,4 @@
+IceBox.Service.MirrorSearch=mirrorsearch-service:createIceTrayService
+IceBox.InheritProperties=1
+MirrorSearch.Database.ConnectionString=user=postgres dbname=mirrorsearch
+MirrorSearch.Endpoints=tcp -p 9002
diff --git a/site/.htaccess b/site/.htaccess
new file mode 100644
index 0000000..031be9b
--- /dev/null
+++ b/site/.htaccess
@@ -0,0 +1,7 @@
+<Files "mirrorsearch-cgi">
+ sethandler cgi-script
+</Files>
+RewriteEngine on
+RewriteCond %{REQUEST_URI} !^/mirrorsearch-cgi
+RewriteRule ^(.*) /mirrorsearch-cgi/\1 [L]
+
diff --git a/site/config/ice.properties b/site/config/ice.properties
new file mode 100644
index 0000000..f8eb278
--- /dev/null
+++ b/site/config/ice.properties
@@ -0,0 +1 @@
+MirrorSearch.Search=Search:tcp -p 9002