CS2310 Message from
Name: Chang
Email: chang@cs.pitt.edu
Time/Date:16:32:3 / 5-29-101,
Posted Message: wwwww
Message from
Name: lily
Email:
Time/Date:23:30:25 / 4-27-101,
Posted Message: Hi All CS2310 students,
I've intergrated all your newest files into the final project. No modifications anymore.
Thanks for your good work
Lily
Message from
Name: lily
Email:
Time/Date:23:9:25 / 4-20-101,
Posted Message: Hi all,
I've intergrated all your most current files to the final project. Everyone can test it in:
http://www.cs.pitt.edu/~jung/GrowingBook/index.html
(Also you can go to ~jung/public/html/GrowingBook/SOURCE to check your files. But you have no right to modify them.)
If you have some problems, you still have time to resend your files by Saturday midnight.
Good luck
Lily
Message from
Name: Anandha Gopalan
Email:
Time/Date:1:39:49 / 4-18-101,
Posted Message: Hi,
I found the article on linux for
PDA, it is avaiable at :
http://www.linuxdevices.com/news/NS2591163797.html
cheers.
Message from
Name: lily
Email:
Time/Date:11:26:16 / 4-11-101,
Posted Message: Hi all,
When you're doing your project for CS2310, it's better for your to use a micro to represent the file name of "main.txt", like:
#define MAINPATH "HTML/main.txt"
(suppose you put main.txt under HTML subdirectory.)
Then it'll be easy for me to combine them together.
Thanks
Lily
Message from
Name: Steve Swartzlander
Email: smspitt@home.com
Time/Date:0:51:22 / 4-7-101,
Posted Message: Well, the 500 server error is conquered (for the moment anyway), so please disregard my prior posting. Kudos and thanks to Max Rossin for various hints and tips.
To others that may be having troubles, here's a couple items:
1. Go to Lily's Teaching page and peruse the information for exercises 4 and 5 to deal with file permission problems and problems with extensive debug messages appearing in the cgi output.
2. In Dr. Chang's example a.c program, change the %s to %f in the printf for the second parameter. Trying to print a float with a string placeholder won't work.
Message from
Name: Steve Swartzlander
Email: smspitt@home.com
Time/Date:20:53:24 / 4-6-101,
Posted Message: OK, I'm one of the two slobs who did exercises 4 and 5 on the PC because I could not get the Unix IC Manager to work. Well, I still can't, and I'm hoping that one of you kind souls who got it working can provide me with some sort of direction. I've been able to get ic compiler and the ic manager build to work on ernie, and I get a main.cgi. I copied over the entire GrowingBook tree to my own directory under jung, and it works fine. When I replace Dr. Chang's main.cgi with mine (I simply recreated Dr. Chang's master IC with the same action files, same master.in, and I created an ic.dat for it with IC Builder) I get a 500 Internal Server Error. Any ideas?
Message from
Name: Min Zhao
Email: lilyzhao@cs.pitt.edu
Time/Date:18:21:58 / 3-13-101,
Posted Message: Hi,
Those who answered "synchronization link" instead of "temporal link" will get 0.5 more points back on midterm. So come to see me at my office time with your exam paper.
Sorry for the inconvenience!
Lily
Message from
Name: Joe
Email: jgsst31@pitt.edu
Time/Date:12:15:48 / 2-24-101,
Posted Message: Does anyone know where the url's for all the lectures are online?
thanx.
Message from
Name: Lily
Email:
Time/Date:10:55:32 / 2-22-101,
Posted Message: Hi All,
I want to make it more clear about sending your ex4.
The deadline for sending URL (UNIX Version)is Feb 22, Midnight.
The demo(for those not sending URL)is scheduled on Feb 26. But at that time please use ftp to download your file on my PC, then I can tell whether you've done on time or not. So it's fair whether sending URL or demo. (late penalty is 2 per day)
Good luck
Lily
Message from
Name: Lily
Email: lilyzhao@cs.pitt.edu
Time/Date:18:41:17 / 2-21-101,
Posted Message: Hi All,
Please go to my office and sign for the schedule you want to show me your ex4. The schedule sheet is on the door of my office. Just choose one slot and put your name there!
If you're quite confident on your demo(UNIX Version), you can just give me your URL and let me test it.
Thanks
Lily
Message from
Name: Joel Schultz
Email:
Time/Date:23:51:39 / 2-20-101,
Posted Message: (Crap, the BBS doesn't show my first post right. If this doesn't look right, I'll e-mail lilyzhao rather than clutter the BBS & your inboxes further. Sorry about that...)
What I was doing:
In one of my action files, I was printf-ing my new web-page, including the stuff in the "form" tags.
What was wrong:
form action="scripts\hw4.exe"
What I changed:
form action="hw4.exe"
Why (I think):
For some reason, our initial vanilla HTML page needs the action to look like "scripts\hw4.exe". This makes sense, since "scripts" is beneath our virtual root directory, which is the current directory of the HTML page. However, when we start generating the next page, the "current page directory" seems to be the "scripts" folder. If you leave the action "scripts\hw4.exe" in your CGI program printf, the resultant URL looks like http://mycomputer/scripts/scripts/hw4.exe -- note the redundant "scripts". Hence, the Internal Server Error 500. Changing the action to "hw4.exe" seems to fix that.
Message from
Name: Joel Schultz
Email:
Time/Date:23:47:43 / 2-20-101,
Posted Message: Someone today mentioned "Internal Server Error 500" in class. I just started getting those tonight. Here's what was happening on my system, and how I fixed it. Hopefully its the same as what was going on in your stuff too, unless of course you actually understood how CGI works in the first place and are now silently chuckling at us poor fools who stumbled into this trap :)
What I was doing:
In one of my action files, I was printf-ing my new web-page, including the stuff in the