Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VirtualHost {
- Hostname = www.mysite.com, mysite.com
- WebsiteRoot = /var/www/mysite
- StartFile = index.php
- AccessLogfile = /var/log/hiawatha/access.log
- ErrorLogfile = /var/log/hiawatha/error.log
- TimeForCGI = 1000
- UseFastCGI = PHP5
- UseToolkit = banshee
- # if ownCloud or alike is installed, otherwise, it should be "no"
- # WebDAVapp = yes
- # <script .. </script>
- # e.g. <script>alert("xss");</script>
- DenyBody = ^.*%3Cscript.*%3C%2Fscript%3E.*$
- # <meta .. />
- # e.g. <meta http-equiv="refresh" content='0; URL=http://some.domain"/>
- DenyBody = ^.*%3Cmeta.*%2F%3E.*$
- # <iframe .. />
- DenyBody = ^.*%3Ciframe.*%2F%3E.*$
- # Null Byte
- DenyBody = ^.*%00.*$
- # ExecuteCGI = yes
- PreventCSRF = yes
- PreventSQLi = yes
- PreventXSS = yes
- WrapCGI = jail_mysite
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement