Advertisement
v1ral_ITS

boa.conf example

Oct 2nd, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.29 KB | None | 0 0
  1.   GNU nano 2.9.3                                                                                                                /etc/boa/boa.conf                                                                                                                 Modified  
  2.  
  3. # Boa v0.94 configuration file
  4. # Customized for Debian GNU/Linux by Jonathon Nelson <jnelson@boa.org>
  5. # File format has not changed from 0.93
  6. # File format has changed little from 0.92
  7. # version changes are noted in the comments
  8. #
  9. # The Boa configuration file is parsed with a lex/yacc or flex/bison
  10. # generated parser.  If it reports an error, the line number will be
  11. # provided; it should be easy to spot.  The syntax of each of these
  12. # rules is very simple, and they can occur in any order.  Where possible
  13. # these directives mimic those of NCSA httpd 1.3; I saw no reason to
  14. # introduce gratuitous differences.
  15.  
  16. # $Id: boa.conf,v 1.7 2001/09/25 03:28:30 jnelson Exp $
  17.  
  18. # The "ServerRoot" is not in this configuration file.  It can be compiled
  19. # into the server (see defines.h) or specified on the command line with
  20. # the -c option, for example:
  21. #
  22. # boa -c /usr/local/boa
  23.  
  24.  
  25. # Port: The port Boa runs on.  The default port for http servers is 80.
  26. # If it is less than 1024, the server must be started as root.
  27.  
  28. Port 1119
  29.  
  30. # PidFile: The file that boa should write it's PID to
  31. # NOT FUNCTIONAL YET -- just a stub for now
  32. #PidFile /var/run/boa.pid
  33.  
  34. # Listen: the Internet address to bind(2) to.  If you leave it out,
  35. # it takes the behavior before 0.93.17.2, which is to bind to all
  36. # addresses (INADDR_ANY).  You only get one "Listen" directive,
  37. # if you want service on multiple IP addresses, you have three choices:
  38. #    1. Run boa without a "Listen" directive
  39. #       a. All addresses are treated the same; makes sense if the addresses
  40. #          are localhost, ppp, and eth0.
  41. #       b. Use the VirtualHost directive below to point requests to different
  42. #          files.  Should be good for a very large number of addresses (web
  43. #          hosting clients).
  44. #    2. Run one copy of boa per IP address, each has its own configuration
  45. #       with a "Listen" directive.  No big deal up to a few tens of addresses.
  46. #       Nice separation between clients.
  47. # The name you provide gets run through inet_aton(3), so you have to use dotted
  48. # quad notation.  This configuration is too important to trust some DNS.
  49.  
  50. #Listen 192.68.0.5
  51.  
  52. #  User: The name or UID the server should run as.
  53. # Group: The group name or GID the server should run as.
  54.  
  55. User imperial
  56. Group imperial
  57.  
  58. # ServerAdmin: The email address where server problems should be sent.
  59. # Note: this is not currently used, except as an environment variable
  60. # for CGIs.
  61.  
  62.                                                                                                            [ Error writing /etc/boa/boa.conf: Permission denied ]
  63. ^G Get Help      ^O Write Out     ^W Where Is      ^K Cut Text      ^J Justify       ^C Cur Pos       M-U Undo         M-A Mark Text    M-] To Bracket   M-▲ Previous     ^B Back          ^◀ Prev Word     ^A Home          ^P Prev Line     M-- Scroll Up
  64. ^X Exit          ^R Read File     ^\ Replace       ^U Uncut Text    ^T To Spell      ^_ Go To Line    M-E Redo         M-6 Copy Text    M-W WhereIs Next M-▼ Next         ^F Forward       ^▶ Next Word     ^E End           ^N Next Line     M-+ Scroll Down
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement