[Snort-users] Problem with BASE in browser

Axton Grams axton.grams at ...11827...
Mon Sep 11 18:40:29 EDT 2006

Alejandro wrote:
> I have Base 1.2.5 (sarah), continuing with Andy Firman's tutorial. So I
> have no create base_conf.php, just open  my browser at
> http://localhost/base and the setup steps appear (page 7 from tutorial).
> This was yesterday, but today this page does not appear in the browser, 
> just this banner. So I can setup the base package.
> Andy Firman tells to create /var/www/base, but maybe I can create
> /var/www/html/base.....I'll see.
You need to the directory that the doc root for your webserver is
configured.  Try this to see what that is:

cat /etc/httpd/conf/httpd.conf |grep DocumentRoot |grep -v '#'

should return something like this:

DocumentRoot "/var/www/html"

I which case, you would unpack the tgz into "/var/www/html".

Whatever directory this creates inside /var/www/html you will point your
web browser to:

for example, if unpacking creates a directory structure like this:


you would point your browser to:

> Really thanks,
> Alejandro
> Briggs, Bruce escribió:
>> What version of BASE?
>> Did you create a base_conf.php and set up your specifics in it?
>> Bruce
>> -----Original Message-----
>> From: snort-users-bounces at lists.sourceforge.net
>> [mailto:snort-users-bounces at lists.sourceforge.net] On Behalf Of
>> Alejandro
>> Sent: Monday, September 11, 2006 2:11 PM
>> To: Snort (list)
>> Subject: [Snort-users] Problem with BASE in browser
>> People, thnks for all your help because I'm a newbie. Now after get BASE
>> (sarah) to my Debian, I move the base directory under /var/www/base.
>> Afterc that when I go to my browser Konqueror in order to setup the BASE
>> package I do this:
>> http://localhost/base
>> and I get a banner telling me:
>> Open 'http://localhost/base'
>> Type: application/x-httpd-php
>> Save / Open With / Cancel ????
>> So I can get the BASE setup steps.....just get this banner.
>> What can be the problem ???
This means that the php apache module is not handling files with the
.php extension properly.  Your httpd.conf should have the following, or
a conf file with the same should be in the /etc/httpd/conf.d directory
(assuming you are using php4):

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
DirectoryIndex index.php
>> Thanks a lot,
>> Alejandro

Axton Grams

More information about the Snort-users mailing list