home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / pwws113.zip / webserv.des (.txt) < prev    next >
DeScribe Document  |  1997-09-08  |  78KB  |  421 lines

  1. DeScribe  Copyright DeScribe, Inc., 1988, 1989
  2. Letter
  3. HPDeskJe
  4. HPDeskJe
  5. HP DeskJet 680C
  6. HP DeskJet 680C
  7. Info 1
  8. Info 2
  9. Info 3
  10. Info 4
  11. Courier
  12. onospaced
  13. StickyNote
  14. Helvetica
  15. portional
  16. rev1.10,081997
  17. PlanetWide OS/2 Web Server
  18. (c)copyright 1997 Payne-Mennie Computing Services
  19.    It is assumed that you are the Webmaster administrating the server and
  20.    are already familiar with the HTML language tags and their uses. Also,
  21.    that you understand the operation of the OS/2 Warp environment and can
  22.    perform the described tasks in our documentation.
  23. COPYRIGHT/LEGAL:
  24. This software is provided on an "as-is" basis.  We offer no warranty on this software whatsoever, and you use it at your own risk.
  25. The files contained in this package may not be modified or reverse- engineered or decompiled in any form; for any reason. Problems with the binaries or documentation 
  26. should be brought to the attention of Payne-Mennie Computing Services for correction.
  27. You are granted use of this "shareware" version of PlanetWide v1.10 OS/2 Web Server for a reasonable period of time allowing you to evaluate the suitability and operation of the software. After the evaluation period you should consider registering your copy with Payne-Mennie Computing Services.(see: how to register)
  28. OVERVIEW:
  29. Welcome!
  30. PlanetWide v1.10 is a powerful, multithreaded, 32-bit OS/2 HTTP Web Server.
  31. It was developed to serve high volumes of data from the OS/2 Warp platform,
  32. and do it efficiently!
  33. As the webmaster, you require an HTTP server that is lean on the system 
  34. resources, and still performs.  PlanetWide was written with a text-based 
  35. interface, preserving precious memory and virtual swap space. 
  36. There is also a lot of important information available to you in the log file,and in the text window. Further explanation is available; 
  37. (see: log file ).
  38. The server configuration is very simple, and you should be up and running 
  39. in just a few minutes. Enjoy.
  40. FEATURES IN THIS RELEASE:
  41.        Configurable maximum number of connections
  42.        Configurable maximum packet size (BLOCKSIZE).
  43.        Support for a large number of simultaneous connections.
  44.        Full reverse DNS lookup per connection.
  45.        Complete logging of all incoming connections including
  46.            - Number of threads in use at the time.
  47.            - Peak threads.
  48.            - Client IP address or domain name (DNS lookup).
  49.            - File delivered.
  50.            - File requested even if file is nonexistent or the
  51.              user does not have permission to receive it.
  52.        Built-in NCSA imagemap support (RECT, CIRCLE, POLY, and DEFAULT).
  53.        CGI interfrace for running external EXE and CMD files (GET,POST).
  54.        Allow/disallow any IP number, range, or subnet on a per directory   
  55.        basis.
  56.        Directory and file security on a per directory basis.
  57.        Configurable remote server kill from your web browser.
  58. Do you know of a feature that should be included in PlanetWide? Contact us and let us know. If we think it's a suitable idea, we'll include it in a 
  59. future release.
  60. SYSTEM REQUIREMENTS:
  61.     - OS/2 Warp Connect, or Warp v4.0.
  62.     - HPFS formatted partition.
  63.     - TCPIP v2.0 (or IAK).
  64.     - Recommend 12MB of RAM if your machine is more than just a web server.
  65.     - Internet service with a static IP address.
  66. UPGRADING FROM A PREVIOUS VERSION:
  67. If you have a previous version of PlanetWide installed and running, then you only need to follow five(5) simple steps.
  68.   1. Unzip the PlanetWide ZIP archive into a temporary directory.
  69.   2. Copy the new WEBSERV.EXE into your existing server directory.
  70.   OPTIONAL: create a subdirectory of your c:\webserv\ called 
  71.   x:\webserv\doc\ and unzip PWDOCS.ZIP into it. These online documents
  72.   and tutorials are available to you through your web client such
  73.   as Netscape Navigator(tm) for OS/2. 
  74.   Included: Frames/HTML
  75.             Standard/HTML
  76.             ASCII TEXT
  77.                                                         
  78.   Optional: create a subdirectory of your x:\webserv\  called
  79.   x:\webserv\cgi-bin\ and unzip the CGI-BIN.ZIP into it. The files  
  80.   contained within the zip archive are POST and GET Method CGI's and their
  81.   sources which will add functionality to your web server software. 
  82.   Included: Guestbook (POST METHOD)
  83.             Guestbook (GET METHOD)
  84.   See the online documentation for more information and easy tutorials.
  85.       
  86.   3. Edit your WEBSERV.CNF and add the following line:
  87.      (configure the reverse DNS lookup support: Enable=YES Disable=NO)
  88.      LOOKUP YES
  89.   4. Edit the PlanetWide WPS ICON properties to reflect the new version
  90.      number of the software (v1.10).
  91.   5. Run WEBSERV.EXE from the command line, or use the PlanetWide WPS icon.
  92.      You are back in business.
  93. NEW INSTALLATION PROCEDURE:
  94. If this is your first time installing PlanetWide OS/2 Web Server, carefully
  95. follow these steps. In a few minutes you will have a fully functional server.
  96. - Create a new directory to contain your web server files.(eg: x:\WEBSERV).
  97.   (Place your web pages in subdirectories of the newly created x:\WEBSERV).
  98. - Unzip PWWS110.zip into your new directory.
  99.   (Unzipping will produce many files, including:)
  100.        - WEBSERV.EXE - server executible.
  101.        - WEBSERV.CNF - server configuration file(ascii text).
  102.        - WEBSERV.DOC - server documentation file(ascii text).
  103.        - EXCLUDE.CNF - file-exclusions data file(ascii text).
  104.        - DATATYPE.CNF - file-type configuration file(ascii text).
  105.        - ERR404.HTM - default ERROR 404 html page.
  106.        - FILTER - server security filter file(ascii text).
  107.        - MAKEICON.CMD - WPS installation command file.
  108.        - PW.ICO - server WPS Icon.
  109.        - CGI-BIN.ZIP - POST/GET CGI programs and their sources.
  110.        - PWDOC.ZIP - Online documentation including many tutorials.
  111.        - REGISTER.TXT - Registration Form. Don
  112. t forget to register!
  113.          
  114. - OPTIONAL: create a subdirectory of your c:\webserv\ called 
  115.   x:\webserv\doc\ and unzip PWDOCS.ZIP into it. These online documents
  116.   and tutorials are available to you through your web client such
  117.   as Netscape Navigator(tm) for OS/2. 
  118.   Included: Frames/HTML
  119.             Standard/HTML
  120.             ASCII TEXT
  121.                                                         
  122. - Optional: create a subdirectory of your x:\webserv\  called
  123.   x:\webserv\cgi-bin\ and unzip the CGI-BIN.ZIP into it. The files  
  124.   contained within the zip archive are POST and GET Method CGI's and their
  125.   sources which will add functionality to your web server software. 
  126.   Included: Guestbook (POST METHOD)
  127.             Guestbook (GET METHOD)
  128.   See the online documentation for more information and easy tutorials.
  129. - Run MAKEICON.CMD to create the WorkPlace Shell folder and Icons on your 
  130.   desktop.
  131. - Edit WEBSERV.CNF to suit your installation - If you are unsure of what 
  132.   values to use, (see: configuring the server).
  133. - Place your INDEX.HTM, INDEX.HTML, DEFAULT.HTM, or DEFAULT.HTML in the
  134.   same directory you installed to.  Don't be alarmed about having your
  135.   configuration files in the server default directory, the EXCLUDE.CNF 
  136.   can be configured to refuse transmission of these files.
  137.   (see: exclude.cnf file).
  138.       
  139. - Run WEBSERV.EXE from the command line, or use the WPS Icon on your    
  140.   desktop.   
  141. SPECIFYING THE PORT#:
  142. WEBSERV.EXE can be configured to start on any tcp/ip port number. If no port has been specified, the server defaults to PORT:80.
  143. (eg: to start the server on PORT:8888)
  144.   - from the OS/2 command line:
  145.      x:\webserv\WEBSERV 8888
  146.   - from the WPS Icon: (edit the WPS Icon properties)
  147.         Path and File name: webserv.exe
  148.                 Parameters: 8888
  149.          Working Directory: x:\webserv
  150.   Note: Multiple web servers can co-exist on the system with each session 
  151.   serving a different port.
  152. RUNNING PLANETWIDE LOCALLY:
  153. PlanetWide may function as a fully operational web server on a local machine without an ISP connection. Running locally is a great way to build your web pages.
  154. Follow the instructions below to create your local web server:
  155.  - Initiate the installation of MPTS networking support from your OS/2 Warp CDROM.
  156.  - Choose to configure your MPTS LAN Adapter.
  157.  - Select the IBM NULL MAC DRIVER as your lan adapter.
  158.  - Add the TCP/IP protocol.
  159.  - Exit and SAVE the new configuration.
  160.  - Shutdown and restart your system.
  161.  - Enter the TCP/IP Configuration utility.
  162.  - Select the Loopback Interface from the interface list.
  163.  - Enable the interface.
  164.  - Enable MANUALLY SELECT IP ADDRESS.
  165.  - The interface defaults to 127.0.0.1 (you may alter this address)
  166.  - Exit and Save your configuration.
  167.  - Shutdown and restart your system.
  168.  - Edit the WEBSERV.CNF to reflect your manually configured IP address.
  169.  - Start PlanetWide from command line, or from the WPS Icon.
  170.  - Access your web server by entering the IP address on the URL line of
  171.    your web browser.  ( eg: http://127.0.0.1/mypage/index.htm )
  172.    Congratulations, you are now a one system Internet! Enjoy PlanetWide!
  173. CONFIGURING THE SERVER (WEBSERV.CNF):
  174. Here is an example of a typical WEBSERV.CNF file:
  175.  SERVERNAME www.myserver.ca
  176.  KILLSTRING SHUT_DOWN_NOW
  177.  MAXCONN 200
  178.  BLOCKSIZE 600
  179. SERVERNAME - The IP address of your machine (eg:10.10.10.10) or the domain
  180.              name associated with your server (eg:  www.myserver.ca).
  181. KILLSTRING - This is the string which you can use to kill your server from
  182.              a remote location.  You should change this string to avoid
  183.              others shutting down your server.  If you never want to be
  184.              able to shut down your server remotely, change this string to
  185.              something like:
  186.              "<B>kfjhglqi3976t4uc#$Tgf8g7345uvdf</B>"  
  187. To shut down PlanetWide from your browser, simply enter the URL like this:
  188.              http://www.myserver.ca/SHUT_DOWN_NOW
  189. MAXCONN -    Depending on your available bandwidth, the power of your
  190.              machine, the volume of traffic to your server, etc.  you may
  191.              wish to limit the number of connections to PlanteWide.  By
  192.              specifying a value of 40 here you make it so that anyone
  193.              trying to connect to the server will have to wait if there are
  194.              already 40 outstanding requests.
  195.              PlanetWide is capable of handling as many connections as there
  196.              is available system resources.  Busy sites built on larger
  197.              Pentium(tm) computers with a lot of memory may service
  198.              thousands of simultaneous connections.
  199.             
  200. BLOCKSIZE -  This is the maximum packet size for the server.  If this
  201.              number is high, you will be able to service less connections,
  202.              but the ones that you are servicing will receive more data at
  203.              a time. If this number is low, you will be able to service
  204.              more connections, but the efficiency will be a bit lower due
  205.              to packet header overhead, etc.  The default blocksize is 600
  206.              bytes.
  207.              We recommend leaving it there unless you wish to experiment
  208.              with your particular configuration.
  209.                 
  210.              Note: This number is only a packet size.  Your web pages are 
  211.                    NOT limited in size and can be any size you like.  
  212.                 
  213. CONFIGURING FILE EXCLUSIONS (EXCLUDE.CNF):
  214. This file is where you list the files that you don't want people to have
  215. access to, even if they reference them directly. Such files include: the server executable, configuration files, security files, and maybe even log files.
  216. The EXCLUDE.CNF file is only read when the server is started, so if you change it, you must restart the server for the changes to take effect. Files are listed one file per line.
  217. For each file you wish to exclude, place the /path/filename into your 
  218. EXCLUDE.CNF file:
  219.  - One file entry per line.
  220.  - Use forward slashes only in your filename entries.
  221.  - PlanetWide assumes the root directory to be where webserv.exe is 
  222.    located.
  223. The contents of a new EXCLUDE.CNF is as follows:
  224.  webserv.exe
  225.  exclude.cnf
  226.  webserv.cnf
  227.  datatype.cnf
  228.  webserv.log
  229. A sample entry into the EXCLUDE.CNF file:
  230.    /users/bob/bobspage.html
  231. Note: Filter files in any directory are automatically excluded and do not 
  232.       require an entry in the exclude.cnf. (see: filtering ip addresses).
  233. PROGRAM DIRECTORIES - (/CGI-BIN):
  234. PlanetWide has built-in support for handling the POST-METHOD and GET-METHOD
  235. CGI(common gateway interface). This interface allows the server to host various external programs such as digit-counters, guest-books and interfaces to databases across the web.
  236. During the installation process, a subdirectory of the server directory must be created to store your EXE and CMD files. The directory is x:\WEBSERV\CGI-BIN\.
  237. Note: if your web server directory is named other than x:\webserv, create
  238.       the \cgi-bin\ directory in the correct location.
  239. For example: if a user accesses a guest-book from a web page, PlanetWide
  240. searches the \CGI-BIN directory for the program specified. If the specified
  241. program is found, it is then initiated. If no matching file is found, 
  242. the request is ignored.
  243. PlanetWide assumes the file extension of a CGI, so there is no need to fully qualify the CGI filename. If you wish to execute GUESTBOOK.EXE, simply use this command:
  244.     <FORM METHOD="POST" ACTION="/cgi-bin/guestbook">
  245. For a tutorial on CGI programming, (see: online cgi tutorial) in the online
  246. documentation stored in the \doc\index.htm location.
  247. THE CONTENT-TYPE FILE (DATATYPE.CNF):
  248. This file contains the file extension of the content type (ie JPG for JPEG
  249. files) and the "Content-type" that PlanetWide sends out when it encounters 
  250. that file type.  If, for example, a new type of MPEG format is developed, 
  251. and the files have the extension .MP3, you would add a line to this file 
  252. like this:
  253. MP3 video mpeg3
  254. Which would cause PlanetWide to output "Content-type: video/mpeg3" when
  255. it encounters an .MP3 file.
  256. The current contents of the DATATYPE.CNF file are as follows:
  257.   HTML text html
  258.   HTM text html
  259.   SHTML text html
  260.   TXT text plain
  261.   TEXT text plain
  262.   CMD text plain
  263.   DOC text plain
  264.   FAQ text plain
  265.   GIF image gif
  266.   JPG image jpeg
  267.   JPEG image jpeg
  268.   JPE image jpeg
  269.   TIF image tiff
  270.   TIFF image tiff
  271.   BMP image bmp
  272.   AU audio basic
  273.   WAV audio x-wav
  274.   WAVE audio x-wav
  275.   SND audio basic
  276.   MID audio x-midi
  277.   MIDI audio x-midi
  278.   AVI video avi
  279.   MPG video mpeg
  280.   MPE video mpeg
  281.   MPEG video mpeg
  282.   INF application x-inf
  283.   PDF application x-pdf
  284.   PS application postscript
  285.   ZIP application zip
  286.   DVI application x-dvi
  287.   OCT application octet-stream
  288. THE LOG FILE: (WEBSERV.LOG):
  289. A wide variety of information is tracked by the server in its log file called WEBSERV.LOG. This is an ASCII formatted text file editable in EPM, or any wordprocessor.
  290. UNDERSTANDING THE LOG ENTRIES:
  291.   Each entry into the LOG file consists of Date/Time Tracking items:
  292.   - Short day name
  293.   - Short month name
  294.   - Day in numberical format
  295.   - 24 hour time (hour:min:sec)
  296.   - Full year
  297.   - Current Thread count (T=n)
  298.   - Peak Thread count (P=n)
  299.   Various processed actions will be appended to the Date/Time Tracking items:
  300.   - Server Startup information.
  301.   - Client IP address or domain name ( reverse DNS lookup )
  302.   - File requests (html docs, images, audio, etc....).
  303.   - CGI program executions (POST & GET Method).
  304.   - Error postings (denial of access, or missing pages, missing files).
  305. SAMPLE LOG ENTRIES:
  306. Sun Aug 5 14:00:07 1997 *** SERVER STARTED ***
  307. Tue Aug 5 21:36:24 1997 T=1 (P=7) File: doc/frames/framedoc.htm [393], To: 2.2.2.2, Referer: http://2.2.2.2/doc, Agent: Mozilla/2.02 (OS/2; I)
  308. Tue Aug 5 21:36:25 1997 T=1 (P=7) File: doc/frames/_dfr3.htm [552], To: 2.2.2.2, Referer: ?, Agent: Mozilla/2.02 (OS/2; I)
  309. Tue Aug 5 21:36:25 1997 T=2 (P=7) File: doc/frames/_dfr2.htm [27634], To: 2.2.2.2, Referer: ?, Agent: Mozilla/2.02 (OS/2; I)
  310. Tue Aug 5 21:36:25 1997 T=3 (P=7) File: doc/frames/_dfr1.htm [2950], To: 2.2.2.2, Referer: ?, Agent: Mozilla/2.02 (OS/2; I)
  311. Tue Aug 5 21:36:25 1997 T=4 (P=7) File: doc/frames/images/granite.jpg [10190], To: 2.2.2.2, Referer: http://2.2.2.2/doc/frames/_dfr2.htm, Agent: Mozilla/2.02 (OS/2; I)
  312. Tue Aug 5 21:36:26 1997 T=3 (P=7) File: doc/frames/images/pwback.jpg [10336], To: 2.2.2.2, Referer: http://2.2.2.2/doc/frames/_dfr3.htm, Agent: Mozilla/2.02 (OS/2; I)
  313.                              
  314. Client specific information is included in each log entry which may be of use to PlanetWide users.
  315.  - Client IP address or registered domain name: ( TO: 2.2.2.2 / TO: www.myserver.ca )
  316.  - Referer to each request: ( Referer: http://www.altavista.com?s=os2+web+server )
  317.  - Client Agent/web browser:  (Agent: Mozilla/2.02 (OS/2; I) )
  318. FILTERING IP ADDRESSES (FILTER):
  319. Place this file in directories which require security.  Each entry in the
  320. FILTER file may ENABLE or DISABLE individuals access to every file in that 
  321. directory; by WORKSTATION or ENTIRE SUBNET.
  322. The following example will deny access to a workstation with the 
  323. IP address 196.20.10.52:
  324.  - 196.20.10.52
  325.  ^--- Note the "minus sign" for "deny"
  326. Note: that subsequent lines may alter the state of any previous line of
  327. security.  You may enable security for a workstation at the top of this file, and then disable it at the bottom of this file.  The last status is assumed to be the requested state.
  328. By using an asterisk(*) in the address, you can isolate particular subnets.
  329. Use a '-' to deny, and a '+' to add access.
  330. For example, the following will only allow access to machines residing on
  331. subnet  131.104.0.0
  332. - *.*.*.*   
  333. + 131.104.*.*
  334. By default, everyone is allowed to browse your web pages and links. By
  335. specifying "-*.*.*.*" you can deny everyone. By adding subsequent lines,
  336. you can let individuals or subnets gain access.
  337. The following will only allow access to those on subnet 131.104.0.0, but deny access to 131.104.68.10:
  338. - *.*.*.*
  339. + 131.104.*.*
  340. - 131.104.68.10
  341. ERR404.HTM:
  342. ERR404.HTM is the file which contains the infamous "ERROR 404" message. When a file or document is not found, the appropriate header is sent, and this page is displayed to the web client. You are welcome to modify this HTML page to suit your system.
  343. If you make a really cool replacement for the ERR404.HTM file, send it to us!
  344. IMAGE MAP SUPPORT:
  345. PlanetWide web server has built-in support for handling clickable images
  346. (IMAGE-MAPs). Currently RECT, CIRCLE, POLY and DEFAULT are available to you 
  347. and your users.
  348. Many NCSA compliant graphical image-map creation tools are available for 
  349. download from the internet.  Most, if not all support RECT, CIRCLE, POLY and DEFAULT regions. 
  350. Note: Currently, the POLY image-map function has a limitation of ten(10) points maximum. Exceeding this limit will cause your imagemap to perform improperly or be ignored.
  351. All image-maps are maintained by the web-page owner in their own user
  352. directory. This removes all maintenance responsibilities from the Webmaster.
  353. To learn more about IMAGE MAP (see: online imap tutorial at \doc\tutorial).
  354. HOW TO REGISTER:
  355. Registering your copy of PlanetWide is encouraged. Not only will the registration nag- messages go away, but you will receive your own personalized copy of PlanetWide OS/2 
  356. Web Server.
  357. PlanetWide OS/2 Web Server is priced $45.00 U.S. per copy.
  358. REGISTRATION METHODS:
  359. Run the REGISTER.EXE registration program supplied in the PWWS110.ZIP archive.
  360. Fill in your information as completely as possible.
  361. Submit the registration while online on the internet, or print the completed form and
  362. send it to BMT MICRO Inc. to:
  363. *Choose the  method of delivery and order quantity from the ORDER INFO screen.
  364. POST:
  365.       BMT MICRO Inc.
  366.       P.O. Box 15016
  367.       Wilmington, NC
  368.       USA 28408
  369.       BMT MICRO Inc.
  370.       (800)346-1672
  371.       (910)350-2937
  372. EMAIL:
  373.       BMT@BMTMICRO.COM
  374. PHONE:
  375.       BMT MICRO Inc.
  376.       (800)414-4268
  377.       (910)791-7052
  378. Once your registration has been processed, you will receive your personalized
  379. copy of PlanetWide v1.10 via MIME attachment to your email address unless 
  380. otherwise specified.
  381.  Note: If you prefer to have your registered copy of the software sent
  382.        to you on disk(s), please include additional $5.00 U.S. per copy 
  383.        with your order. 
  384. CONCLUSION:
  385. If you have ANY installation or administration problems that we can help you with, send us E-mail to cepayne@uoguelph.ca. Don't be afraid! If you're having trouble, chances are you're not alone. 
  386. If you use the PlanetWide server, send us some mail and let us know. Include your web URL, we would love to hear from you and visit your web site.
  387.           Check our web page for updates and helpful hints!
  388.            Yes, our own web server is running PlanetWide!
  389. HOW TO CONTACT THE AUTHORS:
  390.   Email us:  cepayne@uoguelph.ca
  391.  On the Web: http://www.pr.uoguelph.ca/cpayne/planet.htm
  392.  POST:  Payne-Mennie Computing Services
  393.                 57 Moss Place
  394.               Guelph, Ontario
  395.                   Canada
  396.                   N1G 4V2
  397.    (c)Copyright 1997 Payne-Mennie Computing Services. All rights reserved.
  398. DeScribe Glossary
  399. Create date
  400. Create time
  401. Document name
  402. File name
  403. Pages
  404. Pages (Alphabetic lower case)
  405. Pages (Alphabetic upper case)
  406. Pages (Roman lower case)
  407. Pages (Roman upper case)
  408. Print date
  409. Print time
  410. Revisions
  411. Save date
  412. Save time
  413. September 1, 1997
  414. 5:12 P.M.
  415. webserv.des
  416. D:\release\final\webserv.des
  417. September 8, 1997
  418. 12:56 A.M.
  419. September 8, 1997
  420. 1:02 A.M.
  421.