Assignment 2: Set up a Web Server
Set up AllegroServe
If you are using Allegro Common Lisp, then you already have the AllegroServe
code on your machine, you just need to tell Allegro to load it. To do that
type the following in Lisp, or put it in your startup.cl file:
(require :aserve)
If you are using another Lisp, then you need to:
- Download
portable AllegroServe.
This comes in a Unix gzip tar file. WinZip and similar utilities know how
to extract the files in a tar file. Read the README and
INSTALL.lisp files for information on how to load these
files into your Lisp. Basically, if you load INSTALL.lisp
it should compile and load the server code for you.
-
For help, go to the CS 325 news server.
Be specific about what operating
system and Lisp you're using.
Test AllegroServe
Follow the steps given in my lecture notes on
Lisp Web Servers. Specifically,
-
Start the server.
- Start a browser
- Give the browser the URL
http://localhost:8000/critic (assuming 8000 is the port number
you chose)
- Type several Lisp expressions and make sure they get evaluated.
Submit Report
Email to
c-riesbeck@northwestern.edu
- Subject:EECS 325: Assignment 2: Web Server
- Body:
- a statement that you personally have set up and tested AllegroServe
-- watching someone else do it doesn't come close to counting
- what expressions you tried, and what results you got
Where to get help
As before, the best source of help will
be the CS 325 newsgroup.
Make sure your newsreader is finding all
messages, including old ones.
- Look to see if someone else had the same
problem you did, and what answers they got.
- If your problem is a new one, POST your problem. Be specific
about what platform you're on, e.g., Windows XP, Linux, ...
Copy and paste the error message, if any.
- If you've seen that problem and know the solution,
POST the answer. Helpful postings can increase your grade!
Comments?
Send mail to Chris Riesbeck.
Put EECS 325 in the Subject.