Aknot Posted March 25, 2003 Posted March 25, 2003 OK. Finding all kinds of neat programs and trying to incorporate them/test them. I have found a "calendar" program that lets people add events and even recv emails when events have benn updated. The requirements are: 1. web server (tested on apache Linux/Unix but reported to work on Windows NT/2000) 2. Perl 5.00503 (may work with others) 3. cal is required but already installed on just about every server. 4. pscal is required for making printable calendars in postscript format. I also need to "dump" the script into my cgi folder but do not appear to have one on the webpage Im wanting to do this on: 1. Install scripts ftp mycalendar-xxx.tar.gz to your cgi-bin/ directory on your server $ tar -zxvpf mycalendar-xxx.tar.gz this will create a calendar/ directory in that directory 2. edit template.html to match your site To customize the look, simply edit template.html. This file can be created with any html editor or text editor as long as it retains the hidden HTML comment, <!-- content --> . This comment is where the content (calendar) will be placed. 3. password protect protected/ directory Use htaccess or some other method to password protect the protected/ dirctory. Doing this will require your users to supply a password if they ever attempt to edit any events. I dont think it NEEDS to be FTPd I can just "unzip" them and move them to the cgi directory. (one of my sites has the cgi directory but not the one I want to have it in. Just testing it.) Which I did BUT when I point my browser to http://facciolli.com/cgi-bin/calendar/index.cgi I get an internal (500)server error. Thanks for any help. Quote
KevinW Posted March 25, 2003 Posted March 25, 2003 Go to the TCH Help web site 1. Under 'Recent Announcements' you will find a link to view a list of the current software installed on our servers 2. Also, click on Tools & Scripts. There you will find two scripts 'env.pl' and 'phpinfo.php' that you can either run or download and install on your web site. These will show you the various modules and versions of software installed. 3. If you upload a tar.gz file to your web site, then use the File Manager feature of cPanel to extract (unpack) the archived file. -kw Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 Thanks. So yes to everything. So Ive "dumped" all the required info into my cgi folder under facciolli.com but the link gives me an 500 error. Do I address this to you guys or the script orginator? Also why do some of my sites have cgi and others do not? Is that something I install? Thanks again. Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 O wait there is no listing for Cal.........so is this script a no go? Quote
KevinW Posted March 25, 2003 Posted March 25, 2003 Perhaps you should step back, and identify the name of the package you are trying to install, and where you obtained it. Then maybe some one can take a look at the requirements. -kw Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 I was thinking the exact same thing.... It was from a site you recommended. http://fuzzymonkey.org/newfuzzy/software/perl/ The program is: My Calendar and I was also looking at My Photo Gallery. Quote
Aknot Posted March 26, 2003 Author Posted March 26, 2003 Ok Im a boob. Let this be a lesson. If the written instructions say to do it that way, you damn well better do it that way or it wont work. I was extracting the file into a folder on my desktop. Then I was copying that folder to my cgi-bin folder. BUT the instructions said copy the tar file to the cgi-bin and the extract it. Live and learn. Now the question I have is what difference does it make? Is there some type of "executable" that attaches itself to the cgi-bin? Jsut curious. Thanks K! Jim Quote
Randall Posted March 28, 2003 Posted March 28, 2003 Ok Im a boob. Let this be a lesson. If the written instructions say to do it that way, you damn well better do it that way or it wont work. I was extracting the file into a folder on my desktop. Then I was copying that folder to my cgi-bin folder. BUT the instructions said copy the tar file to the cgi-bin and the extract it. Live and learn. Now the question I have is what difference does it make? Is there some type of "executable" that attaches itself to the cgi-bin? Jsut curious. Thanks K! Jim Files can be sent either in binary form or Ascii. If you send the file using the wrong transfer type, it will be corrupted. Most good ftp clients are pretty good about sending files correctly if you let it automatically decide. But not all. That's why you need to upload the tar then unpack on the server, no worries about your ftp client, or heaven forbid, IE corrupting the individual files in transit. Quote
Lianna Posted March 28, 2003 Posted March 28, 2003 Randall, exactly right on the nose. And, just another tid-bit. The cPanel File Manager upload does not typically work well for uploading script files. I had the devil of a time figuring out what I'd done wrong with a simple .pl file. I was uploading through cPanel File Manager. As soon as I transferred the file with CuteFTP, all was dandy. Live and learn. Thanks for the followup Aknot! Lianna Quote
Aknot Posted March 28, 2003 Author Posted March 28, 2003 Thanks for the followup Aknot!Lianna I like to think people were watching this like a soap opera. Anyho along these lines are you saying that the best way to get files to the server is to FTP? I usually use FP2002. What other benefits would FTP have over FP/CP? thanks Quote
bethohio3 Posted March 28, 2003 Posted March 28, 2003 Anyho along these lines are you saying that the best way to get files to the server is to FTP? I usually use FP2002. What other benefits would FTP have over FP/CP? I use FP 2002, and I *only* use FP2002 for uploading websites created in FP. FP tracks files on both the system you're building on and the system you pubish to, and if they aren't the same, it wants to delete the extra files on the destination server or add the files. For files that are not part of your FrontPage web, though, you want to use FTP. So, if you're installing scripts, or retrieving files that someone has put in your accout via FTP, you want to use FTP yourself. Examples of when I use FTP: I gave my cousin an FTP account and he uploaded a video of his son. I used FTP to download it so I could include it into my web I want to install phplib (I do, but haven't yet!), so I would FTP it into the correct directory (once I figure out what it is) I hope that helps! --Beth Quote
TCH-JimE Posted March 28, 2003 Posted March 28, 2003 I would really urge anyone to not use Frontpage as its horrible in so many ways! WSFTP is a good useful program too Jim Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.