diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-09-22 12:00:06 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-09-22 12:00:06 (GMT) |
commit | 431d138784ea13af9a26a16780d52b3385ab0b21 (patch) | |
tree | 61d0e2648fab1f674c1bc7265ca03de8ab0d4213 | |
parent | e1b7f1d5db69ef7deac50c2171c2dce477a94aff (diff) |
moved cgi stuff to rh-bin
-rw-r--r-- | README | 2 | ||||
-rwxr-xr-x | authtoken.json | 2 | ||||
-rw-r--r-- | js/shows.js | 2 | ||||
-rwxr-xr-x | rh-bin/listdropboxes.cgi (renamed from listdropboxes.cgi) | 2 | ||||
-rwxr-xr-x | rh-bin/rddb.pm (renamed from lib/rddb.pm) | 0 |
5 files changed, 4 insertions, 4 deletions
@@ -31,7 +31,7 @@ add the following to the virtualhost config: Include /etc/rivendell/apache.conf - <Location /listdropboxes.cgi> + <Location /rb-bin/> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders diff --git a/authtoken.json b/authtoken.json index c65eb64..94d5042 100755 --- a/authtoken.json +++ b/authtoken.json @@ -2,7 +2,7 @@ use strict; use File::Basename; -use lib dirname( __FILE__ ) . '/lib'; +use lib dirname( __FILE__ ) . '/rh-bin'; use rddb; my $status = 'ERROR'; diff --git a/js/shows.js b/js/shows.js index 9f8170f..6b272bf 100644 --- a/js/shows.js +++ b/js/shows.js @@ -158,7 +158,7 @@ function shows_init() { shows_currentid = sessionStorage.getItem("shows_currentid"); shows_list = []; data = { LOGIN_NAME: auth_username, PASSWORD: auth_token }; - $.post("/listdropboxes.cgi", data, shows_updateList, "xml") + $.post("/rh-bin/listdropboxes.cgi", data, shows_updateList, "xml") } function shows_cleanup() { diff --git a/listdropboxes.cgi b/rh-bin/listdropboxes.cgi index 9261e20..14ecf11 100755 --- a/listdropboxes.cgi +++ b/rh-bin/listdropboxes.cgi @@ -3,7 +3,7 @@ use strict; use CGI; use File::Basename; -use lib dirname( __FILE__ ) . '/lib'; +use lib dirname( __FILE__ ); use rddb; my $status = 'ERROR'; diff --git a/lib/rddb.pm b/rh-bin/rddb.pm index 34321d2..34321d2 100755 --- a/lib/rddb.pm +++ b/rh-bin/rddb.pm |