diff options
-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 |