README.txt 1023 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Small demo for simple file module. The server will listen on a specified
  2. port (default 3000) and will serve files starting from the current working
  3. directory.
  4. Just start the server, no options, and point your browser at
  5. http://localhost:3000/
  6. running simpleserver -h will provide the following help:
  7. -d --directory=dir
  8. Base directory from which to serve files.
  9. Default is current working directory: /home/michael/FPC/trunk/packages/fcl-web/examples/simpleserver
  10. -i --indexpage=name
  11. Directory index page to use (default: index.html)
  12. -n --noindexpage
  13. Do not allow index page.
  14. -p --port=NNNN
  15. TCP/IP port to listen on (default is 3000)
  16. -m --mimetypes=file
  17. path of mime.types file. Loaded in addition to OS known types.
  18. A sample mime.types file is provided.
  19. -q --quiet
  20. Do not write diagnostic messages
  21. -s --ssl
  22. Use SSL.
  23. If you set this, the -H or --hostname option must also be used.
  24. -H --hostname=NAME
  25. set hostname for self-signed SSL certificate