cgi
2000-01-28, 09:41
Tjenare har lite problem med att innstalera
Easy Guestbook Generator. Min URL är www.algonet.se/~snake. (http://www.algonet.se/~snake.)
mappen där alla filerna ligger heter gast.
Har fått i gång en massa olika andra cgi scripts men detta är krångligare.
Normalt så bruklar det ju bara stå $base_dir
och då skriver man $dir/public_html/gast
men på detta script så finnt det flera dir,
så jag vet inte vad jag ska skriva , finns det någon som kan hjälpa mig.
$base_dir = "/home/htdocs/your.isp.com/website/$userdir";
$cgiurl = "http://cgi.algonet.se/htbin/cgiwrap/";
# This is your URL of where the new HTML pages will be kept - keep the trailing slash
$baseurl = "http://www.algonet.se/~snake/gastbok/";
# This is a URL and dir for the images sub directory in the userpages directory.
# Create the images directory in the userpages directory. This is where
# you will upload your background images
$imageurl = "http://www.algonet.se/~snake/gast/";
# This is the path for user pages. You don't really need to change this
# Just make sure to create a directory: userpages and chmod it 777
$page_dir = "$base_dir/";
# This is the index of all generated pages
# This file should be chmod to 777 and placed in the userpages directory
$indexpage = "$base_dir/index.html";
# This is the location of the data.txt file. This holds each user's
# login name and e-mail address for confirmation
$data = "$base_dir/data.txt";
#Site title
$title="EZ Guestbook Mall";
# self explanatory variables for your site logo
$logo = "$imageurl/mjmall.jpg";
$logoalt = "Cyber Mall";
# Location of the sendmail program
$sendmail = '/usr/sbin/sendmail';
# Your e-mail address here
$myemail = 'xau369j@tninet.se';
Easy Guestbook Generator. Min URL är www.algonet.se/~snake. (http://www.algonet.se/~snake.)
mappen där alla filerna ligger heter gast.
Har fått i gång en massa olika andra cgi scripts men detta är krångligare.
Normalt så bruklar det ju bara stå $base_dir
och då skriver man $dir/public_html/gast
men på detta script så finnt det flera dir,
så jag vet inte vad jag ska skriva , finns det någon som kan hjälpa mig.
$base_dir = "/home/htdocs/your.isp.com/website/$userdir";
$cgiurl = "http://cgi.algonet.se/htbin/cgiwrap/";
# This is your URL of where the new HTML pages will be kept - keep the trailing slash
$baseurl = "http://www.algonet.se/~snake/gastbok/";
# This is a URL and dir for the images sub directory in the userpages directory.
# Create the images directory in the userpages directory. This is where
# you will upload your background images
$imageurl = "http://www.algonet.se/~snake/gast/";
# This is the path for user pages. You don't really need to change this
# Just make sure to create a directory: userpages and chmod it 777
$page_dir = "$base_dir/";
# This is the index of all generated pages
# This file should be chmod to 777 and placed in the userpages directory
$indexpage = "$base_dir/index.html";
# This is the location of the data.txt file. This holds each user's
# login name and e-mail address for confirmation
$data = "$base_dir/data.txt";
#Site title
$title="EZ Guestbook Mall";
# self explanatory variables for your site logo
$logo = "$imageurl/mjmall.jpg";
$logoalt = "Cyber Mall";
# Location of the sendmail program
$sendmail = '/usr/sbin/sendmail';
# Your e-mail address here
$myemail = 'xau369j@tninet.se';