
The default URL's to the Telnet Interface are:
http://yourmud:port/index.html
http://yourmud:port/about.html
http://yourmud:port/wholist.html
http://yourmud:port/wizlist.html
http://yourmud:port/imc-web.html -- Only use if you have IMC connected
http://yourmud:port/staffarea/ -- Staff Area (explaned below)
http://yourmud:port/images/x (x = image name.ext) -- Images Directory (explained below)
Use CSET to enable/disable the WEBSVR or change the Port name, make sure to copyover once those changes have been completed.
The files are kept in the MUD directory './web/' and contain the directories:
public_html -- Files used for the public.
staff_html -- Files used for the Staff Area only.
images -- Any images used for the Telnet Interface go in here.
The 'public_html' directory should contain the default files:
index.html -- This displays the main choices on the Telnet Interface
about.html -- This file here (can be remade for About [Your MUD])
error.html -- This displays when an improper URL has been asked
wholist-h.html -- The Who List header (what is shown before the Who list)
wholist-f.html -- The Who List footer (what is shown after the Who list)
wizlist-h.html -- The Wizlist header (what is shown before the Wizlist)
wizlist-f.html -- The Wizlist footer (what is shown after the Wizlist)
Now to add any pages to the public_html directory would involve some internal coding in the websvr.c code in the '/src' directory and extra pages noted in 'web.h' in the same directory. Use the 'about' page as an example, just search for the word 'about' in the websvr.c and copy whatever it says and paste as new. Very simple coding
The 'staff_html' should only contain the file:
index.html -- This file is blank, ready to be edited.
The 'staff_html' directory uses a full-tree system in which you can add files in that directory without actually adding code into the websvr.c or web.h, and can directly connect any pages or text files in that same directory. This area does not have to stay a Staff only area, it could be used for members or any sort of function. In the MUD there is a command (CEDIT) called 'webpass' (do_changewebpass). If you want access to the Staff Area, you type 'webpass {password}' and you and then you enter your password on the Websvr, and you are in there.
The 'images' directory should contain the GIFs (used in some of the html):
about.gif
index.gif
error.gif
If you notice the bottom piece on the Index, it has some credits. Please keep those credits either on the Index or in About, we don't want to be forgotten (SMILE).
This should explain most of the things you have to worry about with this Telnet Interface, if you have any questions please e-mail me, Christopher Aaron Haslage and I will try to solve your problem as best as possible.