From: Tim Bishop Date: Thu, 25 Mar 2004 22:48:47 +0000 (+0000) Subject: Update CGI's to know about new site. X-Git-Url: http://git.i-scream.org/?a=commitdiff_plain;h=a80d0974e08bd71d162daff7947e4dd7580ab886;p=www.i-scream.org.git Update CGI's to know about new site. --- diff --git a/cgi-bin/cvslog.cgi b/cgi-bin/cvslog.cgi index e71e471..2081656 100755 --- a/cgi-bin/cvslog.cgi +++ b/cgi-bin/cvslog.cgi @@ -48,7 +48,7 @@ my($cvs2clargs) = "--stdout --no-wrap --no-common-dir -r -t -w -S -U $cvsroot/CV my($updatecmd) = "/home/iscream/bin/fullcvsupdate.sh $modulelist"; my($logcmd) = "cd /tmp/i-scream/cvstmp && $cvs2clpath $cvs2clargs"; -my ($incdir) = "../nwww"; +my ($incdir) = "../htdocs"; # Include files my ($doctype) = "$incdir/doctype.inc"; diff --git a/cgi-bin/docs.cgi b/cgi-bin/docs.cgi index 8acae25..2d7703a 100755 --- a/cgi-bin/docs.cgi +++ b/cgi-bin/docs.cgi @@ -6,7 +6,7 @@ use CGI; $| = 1; # Settings -my ($incdir) = "../nwww"; +my ($incdir) = "../htdocs"; # Include files my ($doctype) = "$incdir/doctype.inc"; diff --git a/cgi-bin/logo.cgi b/cgi-bin/logo.cgi index 837e1eb..25ab78d 100755 --- a/cgi-bin/logo.cgi +++ b/cgi-bin/logo.cgi @@ -4,15 +4,15 @@ use strict; $| = 1; # Directory to find images in -my($dir) = "/web/i-scream/nwww/logos"; +my($dir) = "/web/i-scream/htdocs/logos"; # Pattern to match images - remember to escape my($pattern) = "\\.jpg\$"; # URL to images - must match $dir -my($url) = "http://nwww.i-scream.org/logos"; +my($url) = "http://www.i-scream.org/logos"; # Where the setbg command is -my($setbg) = "/web/i-scream/nwww.bin/setbg.pl"; +my($setbg) = "/web/i-scream/bin/setbg.pl"; # Code... my($imagepath) = `$setbg -r -p \'$pattern\' -b echo -f \' \' $dir`; diff --git a/cgi-bin/logo.jpg b/cgi-bin/logo.jpg index d598438..2503d4e 100755 --- a/cgi-bin/logo.jpg +++ b/cgi-bin/logo.jpg @@ -4,12 +4,12 @@ use strict; $| = 1; # Directory to find images in -my($dir) = "/web/i-scream/nwww/logos"; +my($dir) = "/web/i-scream/htdocs/logos"; # Pattern to match images - remember to escape my($pattern) = "\\.jpg\$"; # Where the setbg command is -my($setbg) = "/web/i-scream/nwww.bin/setbg.pl"; +my($setbg) = "/web/i-scream/bin/setbg.pl"; # Code... print "Content-type: image/jpeg\n\n";