[EMAIL PROTECTED] proformance problem with apache - php handles a request 5 or 10 sec too late.

2007-01-29 Thread Yair Eshel
Hi all. I'm using Apache/2.2.4 with Php 5.2.0, installed from source on a Centos 4.3. I'm using IP based virtualhosting, to allow multiple site handling. As my sites went a bit slow from time to time, I've created a test, that sends a request using http 1.0 , from another machine to those site

Re: [EMAIL PROTECTED] Query-String Access from SetEnvIf

2007-01-29 Thread Bob
tyju tiui wrote: Hello, Is there a way to access the query-string using regular expression from SetEnvIf? [...] I believe that the query-string is not available with Request_URI That's right, but did you try Query_String? -- Bob

[EMAIL PROTECTED] virtual host shuffle

2007-01-29 Thread David S .
I have 3 web mod_python apps running on different ports. It behaves as if it is mixing up ports. When I hit http://a.server.name/secure/ it redirects correctly and https://a.server.name/secure/ looks and works fine. Then I try http://a.server.name:8000/ and again fine. Then I try https://a.serv

Re: [EMAIL PROTECTED] Virtual Hosts in 2.2

2007-01-29 Thread tyju tiui
Hi Jay, I think you should change '*.haderach.net' to 'www.haderach.net' What you are trying to accomplish with the '*.haderach.net' should actually be done with something called a dns wildcard. The dns wilcard is a standard setup for most hosting companies these days I believe, otherwise you mi

[EMAIL PROTECTED] Virtual Hosts in 2.2

2007-01-29 Thread Jay Chandler
Attempting to set up my virtual hosts so that www.haderach.net goes to the normal DocumentRoot, and mail.haderach.net goes to my squirrelmail folder. Contents of extra/httpd-vhost.conf: NameVirtualHost *:80 ServerName www.haderach.net ServerAlias haderach.net *.haderach.net DocumentRoot /usr

[EMAIL PROTECTED] Query-String Access from SetEnvIf

2007-01-29 Thread tyju tiui
Hello, Is there a way to access the query-string using regular expression from SetEnvIf? I am trying to do some custom logging and I want to determine which format to use based on an item in the query-string. I believe that the query-string is not available with Request_URI Thanks, Ty

[EMAIL PROTECTED] RE: Enable SSL

2007-01-29 Thread Tracy12
Following error appeared in the log, What does this mean [Tue Jan 30 09:10:49 2007] [info] SSL Library Error: 336105671 error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate No CAs known to server for verification? alex-250 wrote: > > Anything in the Apach

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread herauthon
problem solved - or no errors did /configure without --enable-so ?? - Original Message - From: "herauthon" <[EMAIL PROTECTED]> To: Sent: Monday, January 29, 2007 8:42 PM Subject: Re: [EMAIL PROTECTED] make error (embryo state user) > Before i send a load of snippets with errors > i fou

[EMAIL PROTECTED] DAV on + ssl ?

2007-01-29 Thread arry
Have anyone succeeded to set up DAV running on top of SSL ? If so please post your configs.Thanks. Every time I turn dav on, ssl stops!? see you H.Todorov - The official User-To-User support forum of the Apache HTTP Server

Re: [EMAIL PROTECTED] ProxyPass

2007-01-29 Thread Joshua Slive
On 1/29/07, Tony Heal <[EMAIL PROTECTED]> wrote: What I would rather do if possible is for each virtual host use only 2 line something like this ProxyPass /$1 http://other-server/$1 ProxyPassReverse /$1 http://other-server/$1 Is this possible? If so how? If not is there a better alternati

[EMAIL PROTECTED] ProxyPass

2007-01-29 Thread Tony Heal
I have configured several virtual hosts on my apache 1.3-33 system. Each host has several webs. What I would like to do is simplify this a little. Here is what I have and this works fine ProxyPass /web1 http://other-server/web1 ProxyPassReverse /web1 http:// other-server/web1 ProxyPass /w

Re: [EMAIL PROTECTED] apache + ssl lock down

2007-01-29 Thread Eric Covener
On 1/29/07, Sam Carleton <[EMAIL PROTECTED]> wrote: . I need this very secure for a very limited number of users, so I would like to set it up where the server requires the client to have a specific key. You can configure your server to request client certificates and inspect the cert data: h

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread herauthon
Before i send a load of snippets with errors i found a few in confdefs.h. >>> configure:25734: checking pthread.h usability configure:25746: gcc -c -g -O2 -DNETBSD -w conftest.c >&5 configure:25752: $? = 0 configure:25756: test -z || test ! -s conftest.err configure:25

Re: [EMAIL PROTECTED] Locating the origin of segmentation faults

2007-01-29 Thread Steve Swift
Thanks - That looks to be just what I wanted, with the added bonus that I actually understand the instructions! On 29/01/07, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: http://httpd.apache.org/dev/debugging.html#crashes Steve Swift wrote: > Our apache (v2.0.46-61.ent) under Linux 2.4.21-27

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread Sander Temme
On Jan 29, 2007, at 10:12 AM, herauthon wrote: - On what OS you are trying to compile. ** NetBSD 3.1 i386 on P-II MMX 333 Unfortunately, I haven ever had the chance to try compiling Apache on netbsd. - What options you gave the "configure" command. ** --enable-so When you run ./confi

[EMAIL PROTECTED] Re: digest authentication with apache2.2 and mod_authn_dbd

2007-01-29 Thread Jon Rosebaugh
On 1/28/07, Jon Rosebaugh <[EMAIL PROTECTED]> wrote: I'm trying to set up digest authentication with mod_authn_dbd by adapting the basic authentication examples and looking at the reference for mod_auth_digest, and I'm getting the error "No DBD Authn configured!" Everything appears fine when the

Re: [EMAIL PROTECTED] Status of per-user MPMs

2007-01-29 Thread Bob
Florian Lindner wrote: Are there any MPMs (from apache or 3rd party) available that are stable for (very low load) systems with PHP? (Apache 2) May be http://mpm.metux.de/index.php/Main_Page is worth a look? -- Bob - The off

Re: [EMAIL PROTECTED] Reverse proxy with cache

2007-01-29 Thread Joshua Slive
On 1/28/07, arun kumar <[EMAIL PROTECTED]> wrote: If i request page from backend server then i'ts not caching any content..i found there was no files under /local/apache2/logs/cache directory. i also set 777 permission for directory local/apache2/logs/cache but no use. Please let me know what

Re: [EMAIL PROTECTED] .htaccess LogOn Oddity

2007-01-29 Thread Bob Cohen
On Jan 29, 2007, at 1:35 PM, Joshua Slive wrote: I would recommend doing this: http://wiki.apache.org/httpd/Recipes/CanonicalHostNames which assures that you are redirected to the canonical name before any authentication happens. But if you are looking for an easy solution, 3 works just fine (

Re: [EMAIL PROTECTED] apache and php on windows

2007-01-29 Thread William A. Rowe, Jr.
Sam Carleton wrote: > > I was simply thinking that if I could statically link apache and php > so that there was simply one executable, it would make packaging and > distribution simpler for me. I could be wrong;) What you save in having one binary is mitigated by the fact that pushing out one s

Re: [EMAIL PROTECTED] .htaccess LogOn Oddity

2007-01-29 Thread Joshua Slive
On 1/29/07, Bob Cohen <[EMAIL PROTECTED]> wrote: On Jan 29, 2007, at 1:07 PM, Joshua Slive wrote: >> From the 1.3 FAQ, but applies to all versions: > http://httpd.apache.org/docs/1.3/misc/FAQ.html#prompted-twice Thank you very much Joshua! Three remedies are suggested: 1. Always use the trail

Re: [EMAIL PROTECTED] Patrick Presto is out of the office.

2007-01-29 Thread Joshua Slive
> At 12:02 PM 1/28/2007, you wrote: >> I will be out of the office starting 01/26/2007 and will not return >> until >> 01/29/2007. >> >> I am out of the office today. Please contact pin # 19005 for any >> emergencies in my absence. Thank you! > I knew this name sounded familiar.. Can we plea

Re: [EMAIL PROTECTED] apache and php on windows

2007-01-29 Thread Sam Carleton
On 1/29/07, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: Sam Carleton wrote: > Is there any way to statically build PHP5 into any version of apache on > Windows? 1. yes. 2. it's non-trivial. 3. it's possible to compile mod_php.c in, it's also possible to compile in all of mod_php.c and the

Re: [EMAIL PROTECTED] .htaccess LogOn Oddity

2007-01-29 Thread Bob Cohen
On Jan 29, 2007, at 1:07 PM, Joshua Slive wrote: From the 1.3 FAQ, but applies to all versions: http://httpd.apache.org/docs/1.3/misc/FAQ.html#prompted-twice Thank you very much Joshua! Three remedies are suggested: 1. Always use the trailing slash when requesting directories; 2. Change the

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread herauthon
- Original Message - From: "Krist van Besien" <[EMAIL PROTECTED]> To: Sent: Monday, January 29, 2007 5:57 PM Subject: Re: [EMAIL PROTECTED] make error (embryo state user) > On 1/29/07, herauthon <[EMAIL PROTECTED]> wrote: > > This happens for me after make > > > Please tell us: > - Whi

Re: [EMAIL PROTECTED] Status of per-user MPMs

2007-01-29 Thread Joshua Slive
On 1/29/07, Florian Lindner <[EMAIL PROTECTED]> wrote: Hello, what is the status of MPMs that can assign each vhost a userID and execute request for this vhosts as this user? Dead. Are there any MPMs (from apache or 3rd party) available that are stable for (very low load) systems with PHP? (A

Re: [EMAIL PROTECTED] .htaccess LogOn Oddity

2007-01-29 Thread Joshua Slive
On 1/29/07, Bob Cohen <[EMAIL PROTECTED]> wrote: Hi, I password protect some areas on some web sites on my server using .htaccess. I'm currently running httpd 2.0.49 compiled from source on a RedHat 7.3 web server. For some reason unknown to me, the logon screen never works on the first try.

Re: [EMAIL PROTECTED] apache and php on windows

2007-01-29 Thread William A. Rowe, Jr.
Sam Carleton wrote: > Is there any way to statically build PHP5 into any version of apache on > Windows? 1. yes. 2. it's non-trivial. 3. it's possible to compile mod_php.c in, it's also possible to compile in all of mod_php.c and the php4ts.dll modules. The definition of static can vary. 4.

Re: [EMAIL PROTECTED] Locating the origin of segmentation faults

2007-01-29 Thread William A. Rowe, Jr.
http://httpd.apache.org/dev/debugging.html#crashes Steve Swift wrote: > Our apache (v2.0.46-61.ent) under Linux 2.4.21-27.0.2.ELsmp is > generating error.log entries: > > child pid 20355 exit signal Segmentation fault (11) > > We have strong circumstantial evidence that these are occurring in ou

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread Sander Temme
On Jan 29, 2007, at 7:45 AM, herauthon wrote: include/apr_portable.h:46:23: #if with no expression Looks like APR_HAVE_PTHREAD_H is not set, and it's all pear-shaped from there. This should not happen as it is defined in include/ apr.h, which is generated from include/apr.h.in by ./config

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread Krist van Besien
On 1/29/07, herauthon <[EMAIL PROTECTED]> wrote: This happens for me after make Please tell us: - Which version of apache you are trying to compile. - On what OS you are trying to compile. - What compiler you are using. - What options you gave the "configure" command. that would be a start...

RE: [EMAIL PROTECTED] using Apache module

2007-01-29 Thread Garnier, Jeremie
Hi all, I want to make a C application using apache module as i want to use mod_dbd in order to use mod_dbd (connection pooling). I want to perform the connection to oracle. (I have configured apache in MPM worker mode.) Jérémie -Message d'origine- De : Sander Temme [mailto:[EMAIL PROT

[EMAIL PROTECTED] Segmentation fault after upgrade

2007-01-29 Thread Paul
Hello, I have upgraded my Mandriva 2006 to Mandriva 2007 this weekend, and since then Apache2 does not load anymore. service httpd debug tells me there is a segmentation fault: [EMAIL PROTECTED] init.d]# service httpd debug Starting httpd (debug mode and in the foreground): /etc/init.d/httpd: li

[EMAIL PROTECTED] .htaccess LogOn Oddity

2007-01-29 Thread Bob Cohen
Hi, I password protect some areas on some web sites on my server using .htaccess. I'm currently running httpd 2.0.49 compiled from source on a RedHat 7.3 web server. For some reason unknown to me, the logon screen never works on the first try. I'll fill out authentication dialog box, e

Re: [EMAIL PROTECTED] using Apache module

2007-01-29 Thread Sander Temme
On Jan 29, 2007, at 6:00 AM, Garnier, Jeremie wrote: How can I use an apache module in a C application? Why would you want to do such a thing? Is it possible to use mod_dbd? Actually there are some undefined references (ap_hook_post_config, ap_hook_child_init…). You would have to provide

Re: [EMAIL PROTECTED] make error (embryo state user)

2007-01-29 Thread herauthon
This happens for me after make ___ include/apr_portable.h:46:23: #if with no expression include/apr_portable.h:151:43: operator '&&' has no right operand In file included from strings/apr_snprintf.c:23: include/apr_portable.h:285: error: parse error before '*' token incl

[EMAIL PROTECTED] apache and php on windows

2007-01-29 Thread Sam Carleton
Is there any way to statically build PHP5 into any version of apache on Windows? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscri

[EMAIL PROTECTED] using Apache module

2007-01-29 Thread Garnier, Jeremie
Hi all, How can I use an apache module in a C application? Is it possible to use mod_dbd? Actually there are some undefined references (ap_hook_post_config, ap_hook_child_init...). Why the APR/APU in srclib of httpd 2.x are old versions and not APR/APU 1.3? Thanks for your help... Jérémie

Re: [EMAIL PROTECTED] is it possible ? (ssl-tunneling)

2007-01-29 Thread Krist van Besien
On 1/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, Tnanks for the reply and the configurations. I made a similar configuration - but just without virtualhost directive - and it works. But with firefox it shows the locker (ssl picture on the browser) crossed by a line. With IE it doe

RE: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: status "...reading..." & TCP state "FIN_WAIT_2"

2007-01-29 Thread Chirouze Olivier
Hi Sander, Thanks for your very precise comments. Below are mine... > Chirouze, My actual firstname is Olivier :-) > > On Jan 26, 2007, at 8:41 AM, Chirouze Olivier wrote: > > > Thanks for your prompt reply. We will definitively upgrade > soon, just > > "to be up to date"... But because nothi

[EMAIL PROTECTED] Status of per-user MPMs

2007-01-29 Thread Florian Lindner
Hello, what is the status of MPMs that can assign each vhost a userID and execute request for this vhosts as this user? Are there any MPMs (from apache or 3rd party) available that are stable for (very low load) systems with PHP? (Apache 2) Thanks, Florian -

[EMAIL PROTECTED] apache + ssl lock down

2007-01-29 Thread Sam Carleton
Folks, I am almost done with setting up my apache subversion server. There is one last thing I would like to do and I need some pointers on what to look at. I know the concept, but not the terms. Right now I have apache/ssl working in the normal way where it does the normal public exchanging o

[EMAIL PROTECTED] htpasswd and Windows AD auth in one config?

2007-01-29 Thread goofi mon
Is it possible to make a small group of external users authenticate via htpasswd passwords and the rest via internal LAN Windows AD auth with Apache on *nix? Moreover what is the preferred method of authenticating against Windows AD? Kerberos, LDAP, Winbind? Thanks in advance for any useful hint

RE: [EMAIL PROTECTED] SSL Certificate on Intranet Virtual Host

2007-01-29 Thread Chirouze Olivier
Well, this is not supported by Apache, I admit. But in some conditions, it works. I should have specified that you will HAVE TO use the same SSL certificate for all virtual hosts you're accessing through SSL on THE SAME IP. You can use different certificates at the condition your virtual hosts ar

[EMAIL PROTECTED] Locating the origin of segmentation faults

2007-01-29 Thread Steve Swift
Our apache (v2.0.46-61.ent) under Linux 2.4.21-27.0.2.ELsmp is generating error.log entries: child pid 20355 exit signal Segmentation fault (11) We have strong circumstantial evidence that these are occurring in our modified basic authentication handler, but how can we find out more details of e