Hi all. I am trying to install Snort IDS on my Linux System (Redhat9). I got some helpful documentation from
www.superhac.com on how to go about the install. Everything was going well until i got to the point where you try and access your acid console. The thing is the console is being displayed in HTML text format!!!! Any ideas why and how a newbie can solve this problem? I have tried to include some of the steps (that may be different from the documentation gotten from the internet) below just for reference sake. I appreciate any help given.
[root@Snortsev2 mysqldl]# rpm -ivh httpd-2.0.52-21.i386.rpm
[root@Snortsev2 mysqldl]# rpm -ivh mod_ssl-2.0.52-21.i386.rpm
[root@Snortsev2 mysqldl]# rpm -ivh MySQL-server-4.0.24-0.i386.rpm
warning: MySQL-server-4.0.24-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f
5
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
050324 17:11:38 Warning: Asked for 196608 thread stack, but got 126976
050324 17:11:38 /usr/sbin/mysqld: Shutdown Complete
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h Snortsev2 password 'new-password'
See the manual for more instructions.
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at
https://order.mysql.com
[root@Snortsev2 snortinstall]# rpm -ivh MySQL-client-4.0.24-0.i386.rpm
warning: MySQL-client-4.0.24-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
[root@Snortsev2 snortinstall]# rpm -ivh MySQL-shared-3.23.58-1.i386.rpm
warning: MySQL-shared-3.23.58-1.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-shared ########################################### [100%]
[root@Snortsev2 snortinstall]# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.24-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> set password for 'root'@'localhost'=password('xxxxx');
Query OK, 0 rows affected (0.13 sec)
[root@Snortsev2 snortinstall]# rpm -ivh php-4.3.8-1.i386.rpm
Preparing... ########################################### [100%]
1
hp ########################################### [100%]
[root@Snortsev2 snortinstall]# rpm -ivh php-mysql-4.3.8-1.i386.rpm
Preparing... ########################################### [100%]
1
hp-mysql ########################################### [100%]
BELOW ARE KEY SECTIONS OF MY HTTPD.CONF FILE:
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If you
# do not use FancyIndexing, you may comment this out.
#
<Directory "/var/www/html/acid">
AuthType Basic
AuthName "ey"
AuthUserFile /usr/lib/apache/passwords
Require user admin
AllowOverride None
</Directory>
<Directory "/var/www/html/acidviewer">
AuthType Basic
AuthName "ey"
AuthUserFile /usr/lib/apache/passwords
Require user acidviewer
AllowOverride None
</Directory>
Alias /icons/ "/var/www/icons/"
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#
# The set below does not map to a specific (iso) standard
# but works on a fairly wide range of browsers. Note that
# capitalization actually matters (it should not, but it
# does for some browsers).
#
# See
ftp://ftp.isi.edu/in-notes/iana/assi...character-sets
# for a list of sorts. But browsers support few.
#
AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis
#
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-tar .tgz
#