home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / caravan.zip / Httpd.cnf < prev    next >
Text File  |  2002-11-10  |  2KB  |  66 lines

  1. #Following is the contents of a sample httpd.cnf file:
  2. #lines starting with a "#" are comments.
  3. #-----------------------
  4. html  text/html
  5. htm  text/html
  6. #mime content-type for files with extention html
  7. gif     image/gif
  8. jpg     image/gif
  9.  
  10. #mime content-type for files with extention jpg/gif
  11. #content-type for those not defined here default to unknown/unknown
  12. #these are necessary for the browser to understand the documents served by caravan.
  13.  
  14. location Bombay
  15. #the location property of this server. Any string will do  -- say Bombay
  16.  
  17. templates f:\os2\templates
  18. #caravan script files are located in the templates directory defined above.
  19. #please create before running caravan
  20.  
  21. dbhome f:\os2\db
  22. #caravan database home directory is created in the directory defined above.
  23. #please create before running caravan
  24.  
  25. documents f:\os2\doc
  26. #caravan will look for static documents in the directory defined above.
  27. #please create before running caravan
  28.  
  29. bin f:\os2\exe
  30. #caravan looks for binary executable here
  31.  
  32. datacache 16M
  33.  
  34. #memory caravan uses for caching database records. defaults to 1M.
  35.  
  36. caravan-http 80
  37.  
  38. #caravan with use this port number  for http services.
  39. #caravan will not start http services if this is not available; This is necessary.
  40.  
  41.  
  42.  
  43. smtp 25
  44.  
  45. #caravan with use the port defined here for smtp services.
  46. #caravan will not start smtp services if this is not available/defined
  47.  
  48. ftp 21
  49.  
  50. #caravan with use the port defined here for ftp services.
  51. #caravan will not start ftp services if this is not available/defined
  52.  
  53.  
  54. domain mydomain.com
  55.  
  56. #caravan will use the above domain in smtp transactions
  57.  
  58. nameserver 124.89.89.8
  59. nameserver 124.89.89.88
  60. #caravan can pickup this information from etc/resolv also.
  61. #multiple entries are allowed for nameserver;needed for smtp to work properly
  62.  
  63. #home index.html
  64.  
  65. #default homepage; default is caravan.html
  66.