arbor
02-18-2000, 05:57 PM
I am trying to upload dMoz POD (Personal Open Directory) into my CGI bin and would like some help. I can manage to upload pod.cgi into my cgi bin but don't really know what to do next.
1. I can set up header and footer html files but where do I put these? In the www directory or cgi bin along with pod.cgi?
2. I need to edit podvars.pm with following $progname="pod.cgi";
[nbsp][nbsp]$cgi_url ="/cgi-bin/";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp] ## URL path to your bin (where pod.cgi is located)
[nbsp][nbsp]$logging = 0;[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]## Turn search word logging on (1 - on, 0 off)
[nbsp][nbsp]$logfile = "pod_searches.log";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp] ## Logfile to place search words in
[nbsp][nbsp]$logdir[nbsp][nbsp]= "/home/lib/httpd/logs";[nbsp][nbsp][nbsp][nbsp] ## Path to logfile (this is the full path to file)
[nbsp][nbsp]$templatedir = "/home/lib/httpd/logs"; ## Where your header/footer files reside
[nbsp][nbsp]$myhome[nbsp][nbsp]= "http://www.you.com/";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]## Where your personal homepage is
[nbsp][nbsp]$pod_name = "Personal Open Directory (POD)"; ## Name of POD (Personalize it!)
[nbsp][nbsp]$ddj[nbsp][nbsp][nbsp][nbsp]= "/usr/bin/date";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp] ## Where your date program resides (whereis date)
[nbsp][nbsp]$fontface = "";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]## Want to change the default font face or size?
[nbsp][nbsp]$fontsize = "";
I am not sure what to put in "". I guess I don't know how to name the path/url or where exactly to put these things.
Hope someone has done this and knows what to do.
1. I can set up header and footer html files but where do I put these? In the www directory or cgi bin along with pod.cgi?
2. I need to edit podvars.pm with following $progname="pod.cgi";
[nbsp][nbsp]$cgi_url ="/cgi-bin/";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp] ## URL path to your bin (where pod.cgi is located)
[nbsp][nbsp]$logging = 0;[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]## Turn search word logging on (1 - on, 0 off)
[nbsp][nbsp]$logfile = "pod_searches.log";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp] ## Logfile to place search words in
[nbsp][nbsp]$logdir[nbsp][nbsp]= "/home/lib/httpd/logs";[nbsp][nbsp][nbsp][nbsp] ## Path to logfile (this is the full path to file)
[nbsp][nbsp]$templatedir = "/home/lib/httpd/logs"; ## Where your header/footer files reside
[nbsp][nbsp]$myhome[nbsp][nbsp]= "http://www.you.com/";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]## Where your personal homepage is
[nbsp][nbsp]$pod_name = "Personal Open Directory (POD)"; ## Name of POD (Personalize it!)
[nbsp][nbsp]$ddj[nbsp][nbsp][nbsp][nbsp]= "/usr/bin/date";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp] ## Where your date program resides (whereis date)
[nbsp][nbsp]$fontface = "";[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]## Want to change the default font face or size?
[nbsp][nbsp]$fontsize = "";
I am not sure what to put in "". I guess I don't know how to name the path/url or where exactly to put these things.
Hope someone has done this and knows what to do.