From owner-freebsd-questions@FreeBSD.ORG Mon Oct 16 01:16:08 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 1FFFE16A403 for ; Mon, 16 Oct 2006 01:16:08 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from zeus.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B43E43D4C for ; Mon, 16 Oct 2006 01:16:07 +0000 (GMT) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by zeus.dfwlp.com (8.13.6/8.13.6) with ESMTP id k9G1G5c7056085 for ; Sun, 15 Oct 2006 20:16:05 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 15 Oct 2006 20:16:05 -0500 User-Agent: KMail/1.9.4 References: <20060921222701.D63174@justnosweat.net> <20061016001032.GA18513@thought.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610152016.05335.freebsd@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on zeus.dfwlp.com 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 01:16:08 -0000 On Sunday 15 October 2006 19:50, 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. > > 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