From e59ed1dabc2d40a46cbc1d9bafcdf34c564487af Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 18 Oct 2012 07:11:32 +0200 Subject: Add helloearth setup. --- hearth/var/www/cgi/dlr-clickatell.cgi | 13 +++++++++++++ hearth/var/www/cgi/dlr-routo.cgi | 13 +++++++++++++ hearth/var/www/cgi/test.cgi | 13 +++++++++++++ hearth/var/www/etc/hellosms.cfg | 1 + 4 files changed, 40 insertions(+) create mode 100755 hearth/var/www/cgi/dlr-clickatell.cgi create mode 100755 hearth/var/www/cgi/dlr-routo.cgi create mode 100755 hearth/var/www/cgi/test.cgi create mode 100644 hearth/var/www/etc/hellosms.cfg (limited to 'hearth/var') diff --git a/hearth/var/www/cgi/dlr-clickatell.cgi b/hearth/var/www/cgi/dlr-clickatell.cgi new file mode 100755 index 0000000..df849bf --- /dev/null +++ b/hearth/var/www/cgi/dlr-clickatell.cgi @@ -0,0 +1,13 @@ +#!/usr/bin/perl +#use FindBin '$Bin'; +#use lib "$Bin/../../public_webdata/hearth/HelloSMS/lib"; +use lib "/home/hearth/public_webdata/hearth/HelloSMS/lib"; +use HelloSMS::DLR; + +my $webapp = HelloSMS::DLR->new( + PARAMS => { + cfg_file => '/home/hearth/public_webdata/hearth/HelloSMS/etc/hellosms.cfg', + id => 'clickatell', + }, +); +$webapp->run(); diff --git a/hearth/var/www/cgi/dlr-routo.cgi b/hearth/var/www/cgi/dlr-routo.cgi new file mode 100755 index 0000000..1675fd2 --- /dev/null +++ b/hearth/var/www/cgi/dlr-routo.cgi @@ -0,0 +1,13 @@ +#!/usr/bin/perl +#use FindBin '$Bin'; +#use lib "$Bin/../../public_webdata/hearth/HelloSMS/lib"; +use lib "/home/hearth/public_webdata/hearth/HelloSMS/lib"; +use HelloSMS::DLR; + +my $webapp = HelloSMS::DLR->new( + PARAMS => { + cfg_file => '/home/hearth/public_webdata/hearth/HelloSMS/etc/hellosms.cfg', + id => 'routo', + }, +); +$webapp->run(); diff --git a/hearth/var/www/cgi/test.cgi b/hearth/var/www/cgi/test.cgi new file mode 100755 index 0000000..df849bf --- /dev/null +++ b/hearth/var/www/cgi/test.cgi @@ -0,0 +1,13 @@ +#!/usr/bin/perl +#use FindBin '$Bin'; +#use lib "$Bin/../../public_webdata/hearth/HelloSMS/lib"; +use lib "/home/hearth/public_webdata/hearth/HelloSMS/lib"; +use HelloSMS::DLR; + +my $webapp = HelloSMS::DLR->new( + PARAMS => { + cfg_file => '/home/hearth/public_webdata/hearth/HelloSMS/etc/hellosms.cfg', + id => 'clickatell', + }, +); +$webapp->run(); diff --git a/hearth/var/www/etc/hellosms.cfg b/hearth/var/www/etc/hellosms.cfg new file mode 100644 index 0000000..222614a --- /dev/null +++ b/hearth/var/www/etc/hellosms.cfg @@ -0,0 +1 @@ +templates_path = /home/hearth/public_webdata/hearth/HelloSMS/templates -- cgit v1.2.3