Step 1: Whats Needed.
A java based zmachine.such as zplet.jar..
the story file zork1.z5
and the html loader file as show below.
<title>Zplet: Zork I: The Great Underground Empire</title>
<applet archive="zplet.jar" code="Zplet.class" width=512 height=387>
<param name="Foreground" value="white">
<param name="Background" value="black">
<param name="StatusForeground" value="black">
<param name="StatusBackground" value="white">
<param name="StoryFile" value="zork1.z3">
Please note that SAVE and RESTORE may not available due to
applet security restrictions. Leaving this page may or may
not restart the game depending on the behavior of your browser.
Note: you can change the colors to make it easier on your eyes.
Step 2: Setting Up the Server.
$ sudo mkdir zm
copy the files to that directory zplet.jar, zork1.html, and zork1.z5
$ cd zm
$ sudo [thefiles from wherever they are at] /var/www/zm/.
On to the next step.
Step 3: Testing
If all goes well you should get to the game. If not go back and check your work.
Note: You will need to have some kind of java installed on the client machine including a type of iced tea plugin.
Step 4: Menus.
<form ACTION="../zm/zork1.html" method="post">
<input type="submit" value="Zork1">
Step 5: Aah.... Game Time.
Step 7: Setup Other Adventures.
You can get other adventures from http://www.doperoms.com/roms/Infocom_Z-machine.html
You will have to expand the zip file to see what ones you can use. Be sure modify the html file to use the correct name. We renamed ours from hhgttg_59.z3 to hhgg.z3 to make coding changes easier. You can still use the same ziplet.jar file.