Omega Cloud VPS

I had hosted xapian-omega on a Virtual Private server. It has indexed 100 years of archives of Prabuddha Bharata and Vedanta Kesari. To keep the server secure I run it behind a proxy. The server allows communication only over 443, all other ports are blocked. I use certificate generated by LetsEncrypt.

July 02 2019 Update: I have moved from VPS to shared CGI hosting to cut costs and easy maintenance. The new site is at https://xapian.ekvastra.in/

July 08 2019 Update: I have co-located this on my hostingraja account.

When moving from VPS to shared hosting I needed to rebuild the cgi binary so that the dependent library is available on path. This is because new systems enforce a security mechanism by means of rpath. This means any binary can pick up library from specified path only which implies that on systems where you may not place dependent library on specified path due to permissions restrictions you need to rebuild the binary with a rpath that you have access to.

g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -I/usr/local/include -g -O2 -std=gnu++11 -o omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o cdb_find.o cdb_hash.o cdb_unpack.o jsonescape.o loadfile.o datevalue.o common/str.o sample.o sort.o urlencode.o weight.o expand.o csvescape.o timegm.o -L/usr/local/lib /usr/local/lib/libxapian.so ./.libs/libtransform.a -lpcre -lrt -lz -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath,'$ORIGIN'