Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. VirtualHost {
  2. Hostname = www.mysite.com, mysite.com
  3. WebsiteRoot = /var/www/mysite
  4. StartFile = index.php
  5. AccessLogfile = /var/log/hiawatha/access.log
  6. ErrorLogfile = /var/log/hiawatha/error.log
  7. TimeForCGI = 1000
  8. UseFastCGI = PHP5
  9. UseToolkit = banshee
  10. # if ownCloud or alike is installed, otherwise, it should be "no"
  11. # WebDAVapp = yes
  12. # <script .. </script>
  13. # e.g. <script>alert("xss");</script>
  14. DenyBody = ^.*%3Cscript.*%3C%2Fscript%3E.*$
  15. # <meta .. />
  16. # e.g. <meta http-equiv="refresh" content='0; URL=http://some.domain"/>
  17. DenyBody = ^.*%3Cmeta.*%2F%3E.*$
  18. # <iframe .. />
  19. DenyBody = ^.*%3Ciframe.*%2F%3E.*$
  20. # Null Byte
  21. DenyBody = ^.*%00.*$
  22. # ExecuteCGI = yes
  23. PreventCSRF = yes
  24. PreventSQLi = yes
  25. PreventXSS = yes
  26. WrapCGI = jail_mysite
  27. }