summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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