From owner-freebsd-questions@FreeBSD.ORG Mon Jun 5 19:37:37 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 9B0AE16C3FC for ; Mon, 5 Jun 2006 19:37:37 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3522143D69 for ; Mon, 5 Jun 2006 19:37:25 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k55Jb30P041534; Mon, 5 Jun 2006 14:37:03 -0500 (CDT) Message-Id: <6.0.0.22.2.20060605143553.0266d040@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 05 Jun 2006 14:36:54 -0500 To: Paul Schmehl , FreeBSD Questions From: Derek Ragona In-Reply-To: <44848279.6050004@utdallas.edu> References: <44848279.6050004@utdallas.edu> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Weird apache problem 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, 05 Jun 2006 19:38:13 -0000 I just tried that page in firefox on a windows and it worked fine. You may have your firefox install foobar, and might want to uninstall and reinstall it. -Derek At 02:14 PM 6/5/2006, Paul Schmehl wrote: >I'm having a problem figuring out what the heck is wrong with a >webserver. Any suggestions would be welcomed. > >It's running Apache and php4 (with Apache module selected using make >config), and when you try to load a page (Squirrelmail) using Firefox, you >get a popup asking you what to do with the file. (You have chosen to open >..which is a: application/x-httpd-php from: https://webmail.stovebolt.com >What should Firefox do with this file? > >The page loads fine in Internet Explorer. > >The load module and add module lines exist in the httpd.conf file and the >webserver has been restarted repeatedly, with no errors. There's no >errors in the httpd-error log. The libphp4.so file exists in the correct >directory. > >uname -a >FreeBSD stovebolt.stovebolt.com 5.4-SECURITY FreeBSD 5.4-SECURITY > >httpd -V >Server version: Apache/1.3.36 (Unix) >Server built: Jun 3 2006 11:20:12 > >php -v >PHP 4.4.2 (cli) (built: Jun 5 2006 13:56:53) >Copyright (c) 1997-2006 The PHP Group >Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies > >grep php /usr/local/etc/apache/httpd.conf > >LoadModule php4_module libexec/apache/libphp4.so >AddModule mod_php4.c > > > DirectoryIndex index.php index.php3 index.html index.htm > > DirectoryIndex index.php3 index.html index.htm > > > DirectoryIndex index.php index.html index.htm > > DirectoryIndex index.html index.htm index.php > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > Redirect / https://webmail.stovebolt.com/index.php > ># > > >The only thing that strikes me as odd is that there's no dependency for >php related to apache: > >pkg_info -r apache* >Information for apache+mod_ssl-1.3.36+2.8.27: > >Depends on: >Dependency: mm-1.4.0 >Dependency: expat-2.0.0_1 > >pkg_info -R apach* >Information for apache+mod_ssl-1.3.36+2.8.27: > >Required by: >mod_perl-1.29_1 >mod_security-1.9.2 >squirrelmail-1.4.6 > >-- >Paul Schmehl (pauls@utdallas.edu) >Adjunct Information Security Officer >The University of Texas at Dallas >http://www.utdallas.edu/ir/security/ > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.