User Tools

Site Tools


freebsd:snort_base

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
freebsd:snort_base [2014/08/08 14:40]
tschulz [Install Software]
freebsd:snort_base [2014/08/08 14:43]
tschulz
Line 187: Line 187:
 /​usr/​local/​etc/​rc.d/​barnyard2 start /​usr/​local/​etc/​rc.d/​barnyard2 start
 </​file>​ </​file>​
 +
 +===== Configure Base (Snort Web Reporting) =====
 +==== Enable php ====
 +  * edit /​usr/​local/​etc/​apache24/​httpd.conf
 +<​file>​
 +...
 +LoadModule php5_module ​       libexec/​apache24/​libphp5.so
 +
 +AddType application/​x-httpd-php .php
 +AddType application/​x-httpd-php-source .phps
 +...
 +#
 +# DirectoryIndex:​ sets the file that Apache will serve if a directory
 +# is requested.
 +#
 +<​IfModule dir_module>​
 +    DirectoryIndex index.php index.html
 +</​IfModule>​
 +...
 +</​file>​
 +
freebsd/snort_base.txt · Last modified: 2014/08/08 14:50 by tschulz