problems with installing SNORT
Hi U all, I'll try to be as clear as possible
I'm trying to set up an IDS with the help of snort, mysql, php and apache. Well, the problems are that when trying to install snort it needs libpcap 0.6, but I have already installed libpcap 0.8 and it do not want to be installed. I've got the same problem with trying to install dsniff.
Moreover my php scripts do not want execute (or may be the apache don't want to execute them). I have a standart Fedora Core 2 installation on my machine. All php scripts are put in /var/www/cgi-bin/
..../httd.conf =>
<Directory /var/www/cgi-bin>
Options +ExecCGI
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
</Directory>
I've got my php module loaded (or at least I think so).
The error is this: (/var/log/httpd/error_log) =>
[Mon Aug 02 19:26:25 2004] [error] [client 10.10.0.236] (13)Permission denied: exec of '/var/www/cgi-bin/test.php' failed
[Mon Aug 02 19:26:25 2004] [error] [client 10.10.0.236] Premature end of script headers: test.php
some info about my php script =>
-rw-r--r-- 1 apache apache 19 Aug 2 18:14 test.php
test.php => <?php phpinfo() ?>
Please help me about running the php scripts and the problem with libpcap versions.
Gottin
|