Re: [EMAIL PROTECTED] virtual server problems SOLVED

2006-03-21 Thread Krist van Besien
On 3/20/06, RYAN M. vAN GINNEKEN <[EMAIL PROTECTED]> wrote: > > - Krist van Besien <[EMAIL PROTECTED]> wrote: > > On 3/20/06, RYAN M. vAN GINNEKEN <[EMAIL PROTECTED]> wrote: > > I suspect you have somewhere in /etc/httpd/conf.v/computerking.ca > > something like this: > > > > > > > > ServerNa

[EMAIL PROTECTED] HTTP implementation by hand

2006-03-21 Thread Copies
Hi. In my diploma thesis I have to add a HTTP(S) support to the application server. I have two possibilities I'm aware of: 1] Implement HTTP myself. I need a very basic HTTP support. Just get POST request, check for Content-Length, pass body of the request to the server. 2] Use libwww. I a

RE: [EMAIL PROTECTED] SSL Handshake error handling

2006-03-21 Thread Boyle Owen
> -Original Message- > From: TAYLOR, TIM (CONTRACTOR) [mailto:[EMAIL PROTECTED] > Sent: Montag, 20. März 2006 17:41 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] SSL Handshake error handling > > Does anyone know if it is possible to put in a custom > response for errors that

[EMAIL PROTECTED] pwauth won't compile with PAM support

2006-03-21 Thread koen . vdvelde
Dear, I would like to add authentication (against the unix shadow file) to my apache web server. But with the ability to lockout a user after 5 incorrect attempts (in order to lockout script-kiddies / password-trial-programs). For what I 've read about this on the web. This combination should w

RE: [EMAIL PROTECTED] mod_proxy_balance sticky sessions without cookies?

2006-03-21 Thread Oliver.Schaudt
>can you send your patch details so that I >can see exactly what change you made in mod_proxy_balancer.c? Here it is what i did from "mod_proxy_balancer.c": --- mod_proxy_balancer.c.ORIG 2005-11-10 16:20:05.0 +0100 +++ mod_proxy_balancer.c2006-01-31 18:03:56.0 +0100 @@ -

[EMAIL PROTECTED] SSLCARevocationFile

2006-03-21 Thread abel . nivault
Hello I built a web server with apache 2.xx. I secure the access with SSLVerifyClient directive Next I revoke a certificate and then generate my crl. I can verify that the revocated certificate is in the crl. Pb I'm still able to connect the server with my revocated certificate. Here's my httpd.c

Re: [EMAIL PROTECTED] SoS - mod_authn_pop3 compilation

2006-03-21 Thread Nick Kew
On Tuesday 21 March 2006 14:08, Odhiambo Washington wrote: > warta# apxs -i -a -c mod_authn_pop3.c Where did this mod_authn_pop3 come from? The error messages look like something written for an incompatible API version - perhaps an early 2.1, or trunk before there was any 2.1. There's no guaran

[EMAIL PROTECTED] SoS - mod_authn_pop3 compilation

2006-03-21 Thread Odhiambo Washington
Hi, Thank you for reading this. Someone may be able to pull me out of the mud. I am stuck! I have tried this with both apache22 and also apache21 after downgrading, thinking it might come out differently: warta# apxs -i -a -c mod_authn_pop3.c /usr/local/build-1/libtool --silent --mode=compile

[EMAIL PROTECTED] problem with logging on JServ

2006-03-21 Thread Khalid Akram
Hello, I need to see System.out.println messages that are output from a JSP program. They are not appearing in jserv.log. What do I need to do to enable these messages to appear in jserv.log? I am running jserv on windows. Rgds Khalid -

[EMAIL PROTECTED] Connection refused, most times.

2006-03-21 Thread Brian Wagener
I am having problems with my local webserver, where 9 out of 10 times when I try to access page, I get connection refused, but if I come back an hour later 1 out of 10 times it does work. The clients are windows XP, and apache is running on gentoo Linux. At first I thought maybe a firewall was to

RE: [EMAIL PROTECTED] Connection refused, most times.

2006-03-21 Thread Wagner, Aaron
Look at 'server-status' and see how many workers you have available. Maybe you also have a bunch of 'zombie' threads that need to killed. URL: http://servername/server-status You may need to enable the server-status in the httpd.conf file. ##

[EMAIL PROTECTED] apache 2.2.0 + configure + expat woes

2006-03-21 Thread ben
I have a deployment which suffers from this problem:  http://www.dscpl.com.au/articles/modpython-006.htmlI solved my basic problem by downloading apr and apr-util individually, and configuring them (apr-util) by hand, w/ apr-util taking the --with-expat=foobar argument. Is there a way to get apache

[EMAIL PROTECTED] Apache2 and lingerd

2006-03-21 Thread Khai Doan
Hello, I am using Apache2, and want to know if I need to use lingerd. Has Apache2 fixed the lingering_close problem? Thank you, Khai - The official User-To-User support forum of the Apache HTTP Server Project. See http://h

[EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
Hello, I have a very strange situation here. I installed Apache 2.2.0 I installed php 4.4.2 Apache works great, but whenever I try to load a php page in a browser, apache immediately seg-faults. no error message is produced. THIS IS A MISSION CRITICAL PROBLEM!! Can anybody help?? Thanks,

Re: [EMAIL PROTECTED] Apache 2.2 - how to disable "dummy internal connection" requests?

2006-03-21 Thread Alexey Polyakov
On 3/21/06, Robert Ionescu <[EMAIL PROTECTED]> wrote: > Changing the MPM from prefork to worker will solve this "problem", too. I tried using it, but unfortunately my mod_perl filters do memory leaks when running in worker MPM. :( -- Alexey Polyakov -

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Michael Crute
On 3/21/06, Noah Silverman <[EMAIL PROTECTED]> wrote: > Hello, > > I have a very strange situation here. > > I installed Apache 2.2.0 > I installed php 4.4.2 > > Apache works great, but whenever I try to load a php page in a > browser, apache immediately seg-faults. no error message is produced. >

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
I thought 4.4.2 WAS the stable version?? I don't think our current PHP pages will work with php 5. Is there much of a difference between 4.4 and 5? Would we need to rewrite code? Thanks, -N On Mar 21, 2006, at 1:00 PM, Michael Crute wrote: On 3/21/06, Noah Silverman <[EMAIL PROTECTED]>

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Michael Crute
On 3/21/06, Noah Silverman <[EMAIL PROTECTED]> wrote: > I thought 4.4.2 WAS the stable version?? > > I don't think our current PHP pages will work with php 5. Is there > much of a difference between 4.4 and 5? Would we need to rewrite code? > > Thanks, Note that I said unstable version. In any c

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
Ok, I tried installing php 5. I still get the same crash problem. This leads me to believe that something is wrong with my apache install. I did have some weird problems with it complaining about not finding "apr". Is that any kind of clue? -N On Mar 21, 2006, at 1:05 PM, Michael Crut

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
This link might be of interest to you Noah. Something similar I posted on the php-install mailing list that mentions how to use php4 code with the php5 module. http://marc.theaimsgroup.com/?l=php-install&m=114269393127473&w=2 Also, are you actually compiling your php4 module against apache 2.

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
What OS are you using please? Are you using pre-built versions of php and Apache or compiling things yourself? Keith In theory, theory and practice are the same; in practice they are not. On Tue, 21 Mar 2006, Noah Silverman wrote: > To: users@httpd.apache.org > From: Noah Silverman <[EMAIL P

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
Thanks Keith, I DID a fresh compile of php4 and php5. Both give me the same crash. No difference. I'm starting to think that the problem might be with the Apache installation. Maybe Apache doesn't like the shared modules or something like that. I compiled with the 'shared' option, but don

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
I'm using Slackware Linux with 2.6.11.8. it WAS running 2.0 and php.4.3.5 Everything was working find. I decided to upgrade to apache 2.2 and php 4.4 to keep up with the latest versions. One bit of weirdness is that wen compiling apache, it complains about not having the APR files. This s

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
Have you compiled mysql and mysqli for use in php4/5? If so, you need to compile them both at the same time with the same mysql library. Keith On Tue, 21 Mar 2006, Noah Silverman wrote: > To: users@httpd.apache.org > From: Noah Silverman <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] We

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Sean Conner
It was thus said that the Great Noah Silverman once stated: > > Thanks Keith, > > I DID a fresh compile of php4 and php5. > > Both give me the same crash. No difference. > > I'm starting to think that the problem might be with the Apache > installation. Are you compiling Apache with mpm=pr

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
VERY interesting idea. I didn't compile mysql. I just have a pre-compiled version that I downloaded a while back. I did indicate "--with-mysql=/usr/local/mysql" when I configured php. Do you think that I need more? -N On Mar 21, 2006, at 1:53 PM, [EMAIL PROTECTED] wrote: Have you c

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
Keith, I didn't indicate anything special for this with apache. My configuration line was: ./configure --enable-so --enable-rewrite --disable-autoindex --enable- ssl --with-ssl=/usr/local/ssl Thanks, -N On Mar 21, 2006, at 2:11 PM, Sean Conner wrote: It was thus said that the Great N

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Michael Crute
On 3/21/06, Noah Silverman <[EMAIL PROTECTED]> wrote: > VERY interesting idea. > > I didn't compile mysql. I just have a pre-compiled version that I > downloaded a while back. > > I did indicate "--with-mysql=/usr/local/mysql" when I configured > php. Do you think that I need more? That would pr

[EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Thanks, -N -- The issue: when I load a php file in a browser that references mysql, it crashes the a

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Michael Crute
On 3/21/06, Noah Silverman <[EMAIL PROTECTED]> wrote: > Hello, > > I have a mission critical problem that I cant seem to solve. Can > anyone help?? > > I'll even offer $100 paypal if someone gives me the answer to solve > this issue. > > Thanks, > > -N > > -- > > The issue: >

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Mike, Can't seem to find more than one php.ini file The problem existed with php 4.4.2. I then tried 5.1.2 to see if it would help. The problem is identical for either version... -N On Mar 21, 2006, at 2:57 PM, Michael Crute wrote: On 3/21/06, Noah Silverman <[EMAIL PROTECTED]> wrote: He

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Nick Jones
--- Noah Silverman <[EMAIL PROTECTED]> wrote: > Mike, > > Can't seem to find more than one php.ini file > > The problem existed with php 4.4.2. > I then tried 5.1.2 to see if it would help. > > The problem is identical for either version... > > -N > Noah, What happens if you try to access

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Works fine. I can even call the SAME php file that the browser calls and IT WORKS FROM THE COMMAND LINE. It only fails when calling the php file through a browser (and apache.) -N On Mar 21, 2006, at 3:11 PM, Nick Jones wrote: --- Noah Silverman <[EMAIL PROTECTED]> wrote: Mike, Ca

[EMAIL PROTECTED] Re: HTTP implementation by hand

2006-03-21 Thread Shankar Unni
Copies wrote: In my diploma thesis I have to add a HTTP(S) support to the application server. You haven't said whether the implementation of HTTP(s) is somehow supposed to be an actual learning/research exercise for you, or not. If it is, you should obviously implement it from scratch. Other

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
I can't remember having Apache complain about not being able to find the APR files when compiling 2.2.0 Can you not downgrade Apache to 2.0.55 and see if that will get you by for now? Keith In theory, theory and practice are the same; in practice they are not. On Tue, 21 Mar 2006, Noah Silve

Re: [EMAIL PROTECTED] Apache 2.2 - how to disable "dummy internal connection" requests?

2006-03-21 Thread Robert Ionescu
William A. Rowe, Jr. wrote: I'm unfamiliar with what MPM is doing this, Every MPM using POD (pipe of death). It's defined in /server/mpm_common.c: | This function connects to the server, then immediately closes the | connection. | This permits the MPM to skip the poll when there is only one li

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread Noah Silverman
I tried to downgrade and it didn't work. The EXACT same problem persists. -N On Mar 21, 2006, at 3:21 PM, [EMAIL PROTECTED] wrote: I can't remember having Apache complain about not being able to find the APR files when compiling 2.2.0 Can you not downgrade Apache to 2.0.55 and see if tha

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Kishore Jalleda
I am assuming this has to do with permissions on mysql So is the client machine (from which you are loading the php page through a browser) on a different box than the one on which mysql is installed???, if so check to make sure that this client is allowed to access the mysql server by giving

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Kishore,I think you are very close!!Mysql is on a different box than the webserver.I can use the CLI from the same box as the webserver.  Works for the CLI, doesn't for for apache.The Crash is literally a segmentation fault of the apache thread.I tried doing a su to the apache user.  The CLI then s

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Kishore Jalleda
ok first try doing this on the mysql box ( giving liberal permissions initially) GRANT ALL ON *.* TO 'user'@'%' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; where user--- the mysql user with which your php on apache is accessing mysql. password-- the users password i am assuming you know the user/pa

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Wrong permissions.The mysql box is fine. This isn't a database issue at all, but some kind of resource/permission error on the webserver.There is SOME FILE on the webserver that has a permission error.  The user that apache is running under doesn't have permission to access something local that it

[EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Thanks, -N -- The issue: when I load a php file in a browser that references mysql, it crashes the a

[EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Thanks, -N -- The issue: when I load a php file in a browser that references mysql, it crashes the a

[EMAIL PROTECTED] Password protect apache home directories

2006-03-21 Thread Paul Matthews
hi there, what i'm trying to do is set apache so that when i user trys to access there home directory http://www.example.com/~username they have to enter there password/username? without adding in each home directory into my httpd.conf file and then adding require valid username is there a way i c

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Nick Kew
On Wednesday 22 March 2006 01:23, Noah Silverman wrote: > Hello, > > I have a mission critical problem that I cant seem to solve. Can > anyone help?? > > I'll even offer $100 paypal if someone gives me the answer to solve > this issue. If it's mission-critical, consider paying a professional rate

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Nick, I'll happily pay a "professional" rate if someone wants to fix this. On Mar 21, 2006, at 6:39 PM, Nick Kew wrote: On Wednesday 22 March 2006 01:23, Noah Silverman wrote: Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypa

[EMAIL PROTECTED] Re: php crashes with msyql

2006-03-21 Thread Joshua Kugler
You don't per chance have mod_scramble loaded too, do you? j- k- On Tuesday 21 March 2006 16:28, Noah Silverman wrote: > Hello, > > I have a mission critical problem that I cant seem to solve. Can > anyone help?? > > I'll even offer $100 paypal if someone gives me the answer to solve > t

Re: [EMAIL PROTECTED] Re: php crashes with msyql

2006-03-21 Thread Noah Silverman
Nope... On Mar 21, 2006, at 7:38 PM, Joshua Kugler wrote: You don't per chance have mod_scramble loaded too, do you? j- k- On Tuesday 21 March 2006 16:28, Noah Silverman wrote: Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $

[EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Thanks, -N -- The issue: when I load a php file in a browser that references mysql, it crashes the a

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread William A. Rowe, Jr.
Noah Silverman wrote: Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. You don't enable zts so I seriously doubt your php is threadsafe; you configure httpd without speci

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Thanks, I'll try it now. if it works, paypal will be on the way. Thanks again, -N On Mar 21, 2006, at 7:43 PM, William A. Rowe, Jr. wrote: Noah Silverman wrote: Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread William A. Rowe, Jr.
Noah Silverman wrote: Hello, I have a mission critical problem that I cant seem to solve. Can anyone help?? I'll even offer $100 paypal if someone gives me the answer to solve this issue. Noah - do this again and will simply unsub you from at least the apache.org lists, and I'm sure the

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
William, I regret the accusations. i am an accomplished developer working for a major firm. This was going to be a simple task of updating apache to 2.2. Something along the way got screwed up. I've spent close to 24 hours on this with no sleep. We, of course, tried this on a test seve

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Rod Macpherson
I can tell it's important because you offered a hundred bucks for a solution -- I hope the sarcasm is clear. You have a 100% reproducible problem that PHP will not let you debug? This sounds like a PHP problem. Replace the page with something that works and fix it later. On 3/21/06, Noah Silverman

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread Noah Silverman
Thanks for the suggestion, but not that easy. We have an entire dynamic content system that interfaces with mysql. The problem is something internal with PHP, not our code. I wish it was that easy. -N On Mar 21, 2006, at 8:19 PM, Rod Macpherson wrote: I can tell it's important becaus

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread William A. Rowe, Jr.
Noah Silverman wrote: This was going to be a simple task of updating apache to 2.2. Noah - from the Apache side of this coin, if this is mission critical, why go with the bleeding edge / dot-zero release? Why not stay at something proven, and attempt to change gears at the last minute, which

Re: [EMAIL PROTECTED] Password protect apache home directories

2006-03-21 Thread Paul Matthews
> hi there, > > what i'm trying to do is set apache so that when i user trys to access > there home directory http://www.example.com/~username they have to enter > there password/username? without adding in each home directory into my > httpd.conf file and then adding require valid username is ther

[EMAIL PROTECTED] RedirectMatch

2006-03-21 Thread Sanjay Saha
Hi , I require a very unique expression matching with apache . Basically i would be redirecting this way, http://abc.domain.com -> http://domain.com/abc/index.jsp . Let me know the right expression at vhosts.conf.. I am using ServerName abc.domain.com RedirectMatch (.*)\.*$ https:

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread httpd2
Amen Bill! Keith Roberts In theory, theory and practice are the same; in practice they are not. On Tue, 21 Mar 2006, William A. Rowe, Jr. wrote: > To: users@httpd.apache.org > From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] php crashes with msyql > > Noah Sil