OpenSSL/PHP/Apache problem

2007-10-06 Thread Don O'Neil

Any time I compile PHP 4.4.7 with --with-ssl my apache 1.3.39 server core
dumps on start up on my FreeBSD 6.1 dual core AMD X2 box (in 32 bit mode).
Anyone have a work around for this or suggestions where to look/try? I was
having a similar problem with Curl, but once I told curl where the OpenSSL
home dir was and re-built it that solved that problem. The location of my
openSSL is /usr/local, so it's in the 'default' location. I ran the core
through gdb, and that is what prompted me to isolate the problem to
--with-ssl.

Here's my build options/script for php:

./configure \
--with-apxs \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-imap=/usr/local/imap-2000e \
--with-imap-ssl \
  --with-openssl \
  --enable-memory-limit

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-07 Thread Vizion
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of eoghan
 Sent: Tuesday, March 06, 2007 3:04 PM
 To: Mike Galvez
 Cc: freebsd-questions@freebsd.org
 Subject: Re: apache problem
 
 On 3/6/07, Mike Galvez [EMAIL PROTECTED] wrote:
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On 
 Behalf Of eoghan
  Sent: Tuesday, March 06, 2007 5:50 AM
  To: freebsd
  Subject: apache problem
 
  Hi
  I am running apache 2.2.4 on FreeBSD 6.1. This is a recent
  upgrade from ports (in the past few days or so). 
 Since then I
  cant browse to localhost. Just get an unable to connect
  message. The server seems to start with:
  $sudo apachectl start
  If I try it again I see its already running.
  My error log shows:
  [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
  mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 
 with Suhosin-Patch
  configured -- resuming normal operations
  [Mon Mar 05 11:20:22 2007] [notice] caught 
 SIGTERM, shutting down
 
  I have tried the apache list but no real answers, 
 and apache
  was working fine for me before I upgraded. Has anyone else
  noticed this since an upgrade to the 2.2.4 version 
 from ports?
 
  Thanks
  Eoghan

 I had the same problem. Here is how I fixed it:
 #apachectl stop
 # cd /usr/ports/www/apache22
 #make clean
 # make deinstall
 # rm ./*
 Then do a cvsup ports all
 now once more
 #cd /usr/ports/www/apache22
 # make (it will use your stored config)
 #make install
 #make clean
 #apachectl start
   
Hi
Gret, thanks for that, I will give this a go.
Regards
Eoghan
   
   all the best
   please let me know if it works 4U
   -- I have made a posting on [EMAIL PROTECTED] -- so the 
 maintainer knows
   aboutthe problem. If this also works for you it should not be too
   difficult for someone to fix the port.
   David
  
   Hi
   I have tried this and i still cant get it working. Also 
 tried syntax
   check and its checks out OK, as someone else suggested to 
 do... any
   further suggestions?
   Thanks
   Eoghan
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
  Hi,
 
  I was rebuilding one of my servers yesterday. I was having 
 trouble getting ldap
  support to build, but I was also seeing the same issue you 
 describe. The
  configtest reported no errors and Apache appeared to start 
 and I could see it in
  the process list, but could not contact the server. Out of 
 frustration i bounced
  the box and when it came back up Apache started as expected 
 (minus ldap of
  course).
 
 
  --
  Michael Galvez http://www.people.virginia.edu/~mrg8n
  Information Technology Specialist University of Virginia
 
 Hi
 By bounced the box, do  you mean restarted it?
 Thanks
 Eoghan

You might get more informed help by post a detailed report on [EMAIL PROTECTED] 
(you eill need to subscribe to post there) - you might get  a more specialised 
response. There certainly seems to be something odd happening with the latest 
upgrade.

David


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-07 Thread Mike Galvez
On Tue, Mar 06, 2007 at 11:03:34PM +, eoghan wrote:
 On 3/6/07, Mike Galvez [EMAIL PROTECTED] wrote:
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of eoghan
 Sent: Tuesday, March 06, 2007 5:50 AM
 To: freebsd
 Subject: apache problem

 Hi
 I am running apache 2.2.4 on FreeBSD 6.1. This is a recent
 upgrade from ports (in the past few days or so). Since then I
 cant browse to localhost. Just get an unable to connect
 message. The server seems to start with:
 $sudo apachectl start
 If I try it again I see its already running.
 My error log shows:
 [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
 mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
 configured -- resuming normal operations
 [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down

 I have tried the apache list but no real answers, and apache
 was working fine for me before I upgraded. Has anyone else
 noticed this since an upgrade to the 2.2.4 version from ports?

 Thanks
 Eoghan
   
I had the same problem. Here is how I fixed it:
#apachectl stop
# cd /usr/ports/www/apache22
#make clean
# make deinstall
# rm ./*
Then do a cvsup ports all
now once more
#cd /usr/ports/www/apache22
# make (it will use your stored config)
#make install
#make clean
#apachectl start
  
   Hi
   Gret, thanks for that, I will give this a go.
   Regards
   Eoghan
  
  all the best
  please let me know if it works 4U
  -- I have made a posting on [EMAIL PROTECTED] -- so the maintainer knows
  aboutthe problem. If this also works for you it should not be too
  difficult for someone to fix the port.
  David
 
  Hi
  I have tried this and i still cant get it working. Also tried syntax
  check and its checks out OK, as someone else suggested to do... any
  further suggestions?
  Thanks
  Eoghan
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 Hi,
 
 I was rebuilding one of my servers yesterday. I was having trouble getting 
 ldap
 support to build, but I was also seeing the same issue you describe. The
 configtest reported no errors and Apache appeared to start and I could see 
 it in
 the process list, but could not contact the server. Out of frustration i 
 bounced
 the box and when it came back up Apache started as expected (minus ldap of
 course).
 
 
 --
 Michael Galvez http://www.people.virginia.edu/~mrg8n
 Information Technology Specialist University of Virginia
 
 Hi
 By bounced the box, do  you mean restarted it?
 Thanks
 Eoghan

Yes. Restart the OS. Even though I had killed all http processes, Apache 2.2.4
server would not restart correctly without restarting the OS.

-Mike

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Michael Galvez http://www.people.virginia.edu/~mrg8n
Information Technology Specialist University of Virginia
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache problem

2007-03-06 Thread eoghan
Hi
I am running apache 2.2.4 on FreeBSD 6.1. This is a recent upgrade from ports 
(in the past few days or so). Since then I cant browse to localhost. Just get 
an unable to connect message. The server seems to start with:
$sudo apachectl start
If I try it again I see its already running.
My error log shows:
[Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
configured -- resuming normal operations
[Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down

I have tried the apache list but no real answers, and apache was working fine 
for me before I upgraded. Has anyone else noticed this since an upgrade to the 
2.2.4 version from ports?

Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-06 Thread Vizion

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of eoghan
 Sent: Tuesday, March 06, 2007 5:50 AM
 To: freebsd
 Subject: apache problem
 
 Hi
 I am running apache 2.2.4 on FreeBSD 6.1. This is a recent 
 upgrade from ports (in the past few days or so). Since then I 
 cant browse to localhost. Just get an unable to connect 
 message. The server seems to start with:
 $sudo apachectl start
 If I try it again I see its already running.
 My error log shows:
 [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
 mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
 configured -- resuming normal operations
 [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down
 
 I have tried the apache list but no real answers, and apache 
 was working fine for me before I upgraded. Has anyone else 
 noticed this since an upgrade to the 2.2.4 version from ports?
 
 Thanks
 Eoghan

I had the same problem. Here is how I fixed it:
#apachectl stop
# cd /usr/ports/www/apache22
#make clean
# make deinstall
# rm ./*
Then do a cvsup ports all
now once more
#cd /usr/ports/www/apache22
# make (it will use your stored config)
#make install
#make clean
#apachectl start


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-06 Thread eoghan
On Tue, 6 Mar 2007 8:25:09 -0800
Vizion [EMAIL PROTECTED] wrote:

  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of eoghan
  Sent: Tuesday, March 06, 2007 5:50 AM
  To: freebsd
  Subject: apache problem
  
  Hi
  I am running apache 2.2.4 on FreeBSD 6.1. This is a recent 
  upgrade from ports (in the past few days or so). Since then I 
  cant browse to localhost. Just get an unable to connect 
  message. The server seems to start with:
  $sudo apachectl start
  If I try it again I see its already running.
  My error log shows:
  [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
  mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
  configured -- resuming normal operations
  [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down
  
  I have tried the apache list but no real answers, and apache 
  was working fine for me before I upgraded. Has anyone else 
  noticed this since an upgrade to the 2.2.4 version from ports?
  
  Thanks
  Eoghan
 
 I had the same problem. Here is how I fixed it:
 #apachectl stop
 # cd /usr/ports/www/apache22
 #make clean
 # make deinstall
 # rm ./*
 Then do a cvsup ports all
 now once more
 #cd /usr/ports/www/apache22
 # make (it will use your stored config)
 #make install
 #make clean
 #apachectl start

Hi
Gret, thanks for that, I will give this a go.
Regards
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-06 Thread Vizion
 

 -Original Message-
 From: eoghan [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 06, 2007 8:28 AM
 To: Vizion
 Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Subject: Re: apache problem
 
 On Tue, 6 Mar 2007 8:25:09 -0800
 Vizion [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: [EMAIL PROTECTED] 
   [mailto:[EMAIL PROTECTED] On Behalf Of eoghan
   Sent: Tuesday, March 06, 2007 5:50 AM
   To: freebsd
   Subject: apache problem
   
   Hi
   I am running apache 2.2.4 on FreeBSD 6.1. This is a recent 
   upgrade from ports (in the past few days or so). Since then I 
   cant browse to localhost. Just get an unable to connect 
   message. The server seems to start with:
   $sudo apachectl start
   If I try it again I see its already running.
   My error log shows:
   [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
   mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
   configured -- resuming normal operations
   [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down
   
   I have tried the apache list but no real answers, and apache 
   was working fine for me before I upgraded. Has anyone else 
   noticed this since an upgrade to the 2.2.4 version from ports?
   
   Thanks
   Eoghan
  
  I had the same problem. Here is how I fixed it:
  #apachectl stop
  # cd /usr/ports/www/apache22
  #make clean
  # make deinstall
  # rm ./*
  Then do a cvsup ports all
  now once more
  #cd /usr/ports/www/apache22
  # make (it will use your stored config)
  #make install
  #make clean
  #apachectl start
 
 Hi
 Gret, thanks for that, I will give this a go.
 Regards
 Eoghan
 
all the best
please let me know if it works 4U
-- I have made a posting on [EMAIL PROTECTED] -- so the maintainer knows 
aboutthe problem. If this also works for you it should not be too difficult for 
someone to fix the port.
David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-06 Thread eoghan

On 3/6/07, Vizion [EMAIL PROTECTED] wrote:



 -Original Message-
 From: eoghan [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 06, 2007 8:28 AM
 To: Vizion
 Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Subject: Re: apache problem

 On Tue, 6 Mar 2007 8:25:09 -0800
 Vizion [EMAIL PROTECTED] wrote:

   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of eoghan
   Sent: Tuesday, March 06, 2007 5:50 AM
   To: freebsd
   Subject: apache problem
  
   Hi
   I am running apache 2.2.4 on FreeBSD 6.1. This is a recent
   upgrade from ports (in the past few days or so). Since then I
   cant browse to localhost. Just get an unable to connect
   message. The server seems to start with:
   $sudo apachectl start
   If I try it again I see its already running.
   My error log shows:
   [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
   mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
   configured -- resuming normal operations
   [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down
  
   I have tried the apache list but no real answers, and apache
   was working fine for me before I upgraded. Has anyone else
   noticed this since an upgrade to the 2.2.4 version from ports?
  
   Thanks
   Eoghan
 
  I had the same problem. Here is how I fixed it:
  #apachectl stop
  # cd /usr/ports/www/apache22
  #make clean
  # make deinstall
  # rm ./*
  Then do a cvsup ports all
  now once more
  #cd /usr/ports/www/apache22
  # make (it will use your stored config)
  #make install
  #make clean
  #apachectl start

 Hi
 Gret, thanks for that, I will give this a go.
 Regards
 Eoghan

all the best
please let me know if it works 4U
-- I have made a posting on [EMAIL PROTECTED] -- so the maintainer knows 
aboutthe problem. If this also works for you it should not be too difficult for 
someone to fix the port.
David


Hi
I have tried this and i still cant get it working. Also tried syntax
check and its checks out OK, as someone else suggested to do... any
further suggestions?
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problem

2007-03-06 Thread eoghan

On 3/6/07, Mike Galvez [EMAIL PROTECTED] wrote:


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eoghan
Sent: Tuesday, March 06, 2007 5:50 AM
To: freebsd
Subject: apache problem
   
Hi
I am running apache 2.2.4 on FreeBSD 6.1. This is a recent
upgrade from ports (in the past few days or so). Since then I
cant browse to localhost. Just get an unable to connect
message. The server seems to start with:
$sudo apachectl start
If I try it again I see its already running.
My error log shows:
[Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD)
mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch
configured -- resuming normal operations
[Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down
   
I have tried the apache list but no real answers, and apache
was working fine for me before I upgraded. Has anyone else
noticed this since an upgrade to the 2.2.4 version from ports?
   
Thanks
Eoghan
  
   I had the same problem. Here is how I fixed it:
   #apachectl stop
   # cd /usr/ports/www/apache22
   #make clean
   # make deinstall
   # rm ./*
   Then do a cvsup ports all
   now once more
   #cd /usr/ports/www/apache22
   # make (it will use your stored config)
   #make install
   #make clean
   #apachectl start
 
  Hi
  Gret, thanks for that, I will give this a go.
  Regards
  Eoghan
 
 all the best
 please let me know if it works 4U
 -- I have made a posting on [EMAIL PROTECTED] -- so the maintainer knows
 aboutthe problem. If this also works for you it should not be too
 difficult for someone to fix the port.
 David

 Hi
 I have tried this and i still cant get it working. Also tried syntax
 check and its checks out OK, as someone else suggested to do... any
 further suggestions?
 Thanks
 Eoghan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

I was rebuilding one of my servers yesterday. I was having trouble getting ldap
support to build, but I was also seeing the same issue you describe. The
configtest reported no errors and Apache appeared to start and I could see it in
the process list, but could not contact the server. Out of frustration i bounced
the box and when it came back up Apache started as expected (minus ldap of
course).


--
Michael Galvez http://www.people.virginia.edu/~mrg8n
Information Technology Specialist University of Virginia


Hi
By bounced the box, do  you mean restarted it?
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Weird apache problem

2006-06-05 Thread Paul Schmehl
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_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html index.htm
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html index.htm
IfModule !mod_php4.c
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
Files ~ \.(cgi|shtml|phtml|php|php3?|php4?)$
#Files ~ \.(cgi|shtml|phtml|php3?|php4?)$
Files ~ \.(cgi|shtml|phtml|php3?)$

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 ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Weird apache problem

2006-06-05 Thread Derek Ragona

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_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html index.htm
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html index.htm
IfModule !mod_php4.c
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
Files ~ \.(cgi|shtml|phtml|php|php3?|php4?)$
#Files ~ \.(cgi|shtml|phtml|php3?|php4?)$
Files ~ \.(cgi|shtml|phtml|php3?)$

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 ([EMAIL PROTECTED])
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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird apache problem

2006-06-05 Thread Mikhail Goriachev
Derek Ragona wrote:
 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.
 


Same here. Loads fine on Mac's Firefox.

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird apache problem

2006-06-05 Thread Chris Hill

On Tue, 6 Jun 2006, Mikhail Goriachev wrote:


Derek Ragona wrote:

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.



Same here. Loads fine on Mac's Firefox.


Since nobody's mentioned it yet... The page loads fine on Firefox under 
FreeBSD. For me.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird apache problem

2006-06-05 Thread Paul Schmehl

Chris Hill wrote:

On Tue, 6 Jun 2006, Mikhail Goriachev wrote:


Derek Ragona wrote:

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.



Same here. Loads fine on Mac's Firefox.


Since nobody's mentioned it yet... The page loads fine on Firefox under 
FreeBSD. For me.



Yeah.  It was an ID 10 T problem.  :-(

I needed to clear the browser cache and history.

Thanks for checking, everyone.

--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Perl + apache problem

2005-07-01 Thread Greg Maruszeczka
Jack Raats wrote:
 I've a little question. After upgrading perl to 5.8.7. I'm getting an error 
 of Apache. It says
 
 Syntax error on line 239 of /usr/local/etc/apache/httpd.conf:
 Cannot load /usr/local/libexec/apache/libperl.so into server: Shared object 
 libperl.so not found, required by libperl.so
 
 After the upgrade I ran the perl-after-upgrade script. Do you have any clues?
 


How did you run the script? Did you use the -f option as specified on
the manpage? Please provide output from `perl-after-upgrade`.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Perl + apache problem

2005-06-30 Thread Jack Raats
I've a little question. After upgrading perl to 5.8.7. I'm getting an error of 
Apache. It says

Syntax error on line 239 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libperl.so into server: Shared object 
libperl.so not found, required by libperl.so

After the upgrade I ran the perl-after-upgrade script. Do you have any clues?

Met vriendelijke groeten
Jack Raats
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache problem

2004-04-19 Thread Jiye Zeng
Dear Sir,

First of all, I apologize for bothering you. The number of emails you have to deal 
with is 
beyond my imagination. I apologize for adding another.

I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an internal 
server 
for our research group, I installed no package except for mod_php4-4.3.5_7,1 and 
mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as 
dependent 
packages of those two. The security level was set to 2 during installation. The 
problem is 
apache won't start by boot and can't be restarted by apachectl.

I tried to find the solution from the manual and from searching the web, but no luck. 
I 
tried by changing configuration of rc.conf (e.g., enable/disable security and inetd) 
and 
checking httpd.conf, still no luck. I dont't know where is problem. Would please give 
me 
advice. Many thanks.


Regards.


Jiye Zeng

~
Data Management Group
Center For Global Environmental Research
National Institute For Environmental Studies
16-2, Onongawa, Tsukuba, Ibaraki
305-8506 Japan

Phone: 81-29-850-2968
Internal: 3624

[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache problem

2004-04-19 Thread albi
On Mon, 19 Apr 2004 18:56:05 +0900
Jiye Zeng [EMAIL PROTECTED] wrote:

 I installed FreeBSD 5.2.1 without X. Since I intend to use the system
 as an internal server for our research group, I installed no package
 except for mod_php4-4.3.5_7,1 and mc-4.6.0_7. Apache-1.3.29_3 and a
 few other packages are installed as well as dependent packages of
 those two. The security level was set to 2 during installation. The
 problem is apache won't start by boot and can't be restarted by
 apachectl.

did you check the apache-logfiles in /var/log/ ?
if you don't have a valid hostname for apache to use it won't start,
that could be the case

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache problem

2004-04-19 Thread Peter Risdon
Jiye Zeng wrote:

Dear Sir,

First of all, I apologize for bothering you. The number of emails you have to deal with is 
beyond my imagination. I apologize for adding another.

I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an internal server 
for our research group, I installed no package except for mod_php4-4.3.5_7,1 and 
mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as dependent 
packages of those two. The security level was set to 2 during installation. The problem is 
apache won't start by boot and can't be restarted by apachectl.

I tried to find the solution from the manual and from searching the web, but no luck. I 
tried by changing configuration of rc.conf (e.g., enable/disable security and inetd) and 
checking httpd.conf, still no luck. I dont't know where is problem. Would please give me 
advice. Many thanks.
 



Assuming the daemon doesn't start, what happens when you run:

#apachectl configtest

If no errors are reported, what output do you get from the console when 
you type:

#apachectl start

If that fails to start the daemon (test with #ps ax | grep httpd), try:

#/usr/local/etc/rc.d/apache.sh start

and also check the logs for messages that might help understand the 
problem. By default, /var/log/httpd-errors.log



HTH

PWR
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache problem

2004-04-19 Thread Jerry McAllister
 
 Jiye Zeng wrote:
 
 Dear Sir,
 
 First of all, I apologize for bothering you. The number of emails you have to deal 
 with is 
 beyond my imagination. I apologize for adding another.
 
 I installed FreeBSD 5.2.1 without X. Since I intend to use the system as an 
 internal server 
 for our research group, I installed no package except for mod_php4-4.3.5_7,1 and 
 mc-4.6.0_7. Apache-1.3.29_3 and a few other packages are installed as well as 
 dependent 
 packages of those two. The security level was set to 2 during installation. The 
 problem is 
 apache won't start by boot and can't be restarted by apachectl.
 
 I tried to find the solution from the manual and from searching the web, but no 
 luck. I 
 tried by changing configuration of rc.conf (e.g., enable/disable security and 
 inetd) and 
 checking httpd.conf, still no luck. I dont't know where is problem. Would please 
 give me 
 advice. Many thanks.
   
 
 Assuming the daemon doesn't start, what happens when you run:
 
 #apachectl configtest
 
 If no errors are reported, what output do you get from the console when 
 you type:
 
 #apachectl start
 
 If that fails to start the daemon (test with #ps ax | grep httpd), 

Just a hint here - you might need the 'w' flag to see the httpdas in

ps -axw | grep httpd
 
Depends on how wide the display line is.

Of course I usually use the 'u' flag which makes the output line
longer, so...

jerry


 try:
 
 #/usr/local/etc/rc.d/apache.sh start
 
 and also check the logs for messages that might help understand the 
 problem. By default, /var/log/httpd-errors.log
 
 
 
 
 HTH
 
 PWR
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache problem

2003-05-31 Thread Rob O'Donnell
At 03:41 01/05/2003 -0700, Darren Pilgrim wrote:

[Redirected to -questions]

Nucking Futs [EMAIL PROTECTED] wrote:

   I have installed the apache 1.3.27-fp port in my FBSD 4.8 
system.  Apache
will not start automatically when the system boots.  I receive an error
120: Syntax error: Unterminated quoted string  I tried chmod 755 the
apache.sh in /usr/local/etc/rc.d but this didn't help either.  Have I done
something wrong, is this a known problem?  Any suggestions as to what I can
do to fix this would be appreciated.  Thanks

What was the exact command you issued that returned the error?


I have just installed FreeBSD 4.8, and this same port, and got the same error.

There appears to be a problem in apache.sh - running `apachectl start` 
manually works
fine.  I also had another copy of this file appear as 
\usr\local\etc\rc.d\srm.conf  !

My own problem is that despite installing apache_fp, I don't seem to be 
able to
access the frontpage extensions!  Fp2000 elsewhere on the network refuses to
admit that the server has FP extensions installed.  The access.log shows 
404 errors
trying to access an .exe file in _vti_bin.  I understand that these files 
don't really
exist, but that the patches to apache itself should redirect requests to 
the real files.
Is there anything I can do to verify that the relevant patches to apache 
have been
applied properly?  Alternatively, is there a good how-to about on 
installing apache
and adding the extensions manually, rather than use this port?  Do the 
version 5
FP extensions still support Frontpage 2000 ?

Thanks in advance

Rob

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]