From owner-freebsd-questions@FreeBSD.ORG Mon Oct 16 18:22:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 509BF16A417 for ; Mon, 16 Oct 2006 18:22:48 +0000 (UTC) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E52E743D88 for ; Mon, 16 Oct 2006 18:22:33 +0000 (GMT) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (kline@localhost [127.0.0.1]) by sage.thought.org (8.13.6/8.12.10) with ESMTP id k9GIMWeO078717; Mon, 16 Oct 2006 11:22:32 -0700 (PDT) (envelope-from kline@sage.thought.org) Received: (from kline@localhost) by sage.thought.org (8.13.6/8.13.1/Submit) id k9GIMVTE078716; Mon, 16 Oct 2006 11:22:31 -0700 (PDT) (envelope-from kline) Date: Mon, 16 Oct 2006 11:22:31 -0700 From: Gary Kline To: jan gestre Message-ID: <20061016182231.GB77914@thought.org> References: <20060921222701.D63174@justnosweat.net> <20060921224132.2e3a5c9e.albi@scii.nl> <20061016001032.GA18513@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Gary Kline , albi , freebsd-questions@freebsd.org, justin Subject: Re: squirrelmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 18:22:48 -0000 On Mon, Oct 16, 2006 at 08:50:31AM +0800, jan gestre wrote: > On 10/16/06, Gary Kline wrote: > > > >On Thu, Sep 21, 2006 at 10:41:32PM +0200, albi wrote: > >> On Thu, 21 Sep 2006 22:37:44 +0000 (UTC) > >> justin 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. > I'm using PHP all over the place; which port are you thinking of? -- Gary Kline kline@thought.org www.thought.org Public service Unix