Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2006 20:16:05 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: squirrelmail
Message-ID:  <200610152016.05335.freebsd@dfwlp.com>
In-Reply-To: <a25afc300610151750q7950e82dica6b91ccdb9ad91c@mail.gmail.com>
References:  <20060921222701.D63174@justnosweat.net> <20061016001032.GA18513@thought.org> <a25afc300610151750q7950e82dica6b91ccdb9ad91c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 15 October 2006 19:50, jan gestre wrote:
> On 10/16/06, Gary Kline <kline@sage.thought.org> wrote:
> > On Thu, Sep 21, 2006 at 10:41:32PM +0200, albi wrote:
> > > On Thu, 21 Sep 2006 22:37:44 +0000 (UTC)
> > >
> > > justin <justins@justnosweat.net> wrote:
> > > > I`ve got a problem with squirrelmail
> > > > when i try to reach it through my browser i get the index.php
> > > > with the following message:
> > >
> > > --cut --
> > >
> > > > // Are we configured yet?
> > > > if( ! file_exists ( 'config/config.php' ) ) {
> > >
> > > -- cut --
> > >
> > > > So my questions is why the squirrelmail interface isnt executeted.
> > >
> > > did you run ./configure in /usr/local/www/squirrelmail/ ?
> > >
> > > and do you have in apache's config the following ?
> > >
> > > DirectoryIndex index.html index.html.var index.php
> > > AddType application/x-httpd-php .php
> > > AddType application/x-httpd-php-source .phps
> >
> >         I've been saving these instructions for weeks and just installed
> >         squirrelmail.   I tested it with
> >
> >         http://www.thought.org/squirrelmail/  and by pointing at the
> >         src/configtest.php.  I get a 404 return.  I have added your mods
> >         intp my  httpd.conf; I  have stopped and restarted apache; I have
> >         run ./configure.  Still nothing.  Any clues?
> >
> >         gary
> >
> > you apache build doesn't have that module installed so even if you put it
> > there explicitly, you will still see the codes instead of the actual
> > page, you have to recompile apache with php support.
>
> HTH
>

i would imagine at this point, the problem lies in the httpd.conf file, or in 
an assosicated alias.conf file.  for my squirrelmail, i have a file 
in /usr/local/etc/apache/Includes called squirrelmail.conf.  its contents 
are:

Alias /webmail /usr/local/www/squirrelmail

you can make your alias /webmail or /squirrelmail or /whateveryouwant.  for 
your example, you would use /squirrelmail.  after this is in place, just 
restart apache, and it should no longer give you a 404.

cheers,
jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610152016.05335.freebsd>