appweb.conf 815 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # appweb.conf -- Configuration to run Appweb inside a Chroot Jail
  3. #
  4. AddHandler espHandler esp
  5. AddHandler fileHandler
  6. #
  7. # Set desired permissions. Does not change until entire file parsed.
  8. # But resolves user and group accounts here.
  9. #
  10. GroupAccount APPWEB
  11. UserAccount APPWEB
  12. #
  13. # You may need to make directories accessible inside the jail.
  14. # Make here so you can resolve user/group accounts.
  15. #
  16. # MakeDir APPWEB:APPWEB:0755 var/spool/appweb/cache
  17. #
  18. # Create a "chroot jail" by changing the system root directory to this
  19. # directory. Once changed files outside the jail will be inaccessible.
  20. # If rotating log files, must do Chroot before defining logs.
  21. #
  22. Chroot "."
  23. #
  24. # Listening endpoint
  25. #
  26. Listen 127.0.0.1:8080
  27. #
  28. # Serve documents from 'web' inside the chroot jail
  29. #
  30. Documents web