Return a NOP if the compiled program is empty.
[artemus.git] / addons / artemus-handler
blob93b9c69ea27579a17b0ff4ea48aa7cec4667401f
1 #!/bin/sh
3 # artemus handle for apache
5 # 1. copy this to $WWWROOT/cgi-bin
6 # 2. Insert into httpd.conf
7 # AddHandler artemus artemus
8 # Action artemus /cgi-bin/artemus-handler
10 # Angel Ortega <angel@triptico.com>
12 CONFIG_FILE=/home/angel/src/www/triptico/artemus.conf
14 echo "Content-Type: text/html"
15 echo
17 /usr/local/bin/artemus -q -c $CONFIG_FILE -i $PATH_TRANSLATED -o -