[EMAIL PROTECTED] Re: mod_ssl missing

2005-07-28 Thread Joost de Heer
Tom Ray [Lists] said: > We built a box months ago using SuSE 9.1, and installed everything > straight from the CD's via YaST but it seems that when we tried to get a > SSL enabled site to work, it gave us errors. Doing a quick search on the > box it seems that mod_ssl.c isn't installed. When I do a

Re: [EMAIL PROTECTED] mod_proxy_html Segmentation fault problem with Apache 2.1.6 on FreeBSD 4.9

2005-07-28 Thread Joost de Heer
>> I am running Apache 2.1.6 on FreeBSD 4.9. It is running on port 8080 >> because another version of Apache is running on port 80. >> My apxs command to install mod_proxy_html: >> ./apache21/bin/apxs -c -I/usr/local/include/libxml2 >> -I/usr/local/include/apache -i mod_proxy_html.c Is /usr/loca

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
I think I spoke to soon. I think I ran into an infinite look problem. I have this under the root web site: RewriteRule ^/exchange /exchange/ [R,NC] Which results in an infinite loop. If I do: RewriteRule ^/~/exchange /exchange/ [R,NC] And then go to /~/ExchAngE then we are good. Is there a wor

Re: [EMAIL PROTECTED] CGI via suexec

2005-07-28 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, Joshua Slive wrote: Well, that's not quite true. If you're talking about a *single* script (like a password change script or something)... first, realize that there's a number of reasons doing auth against /etc/passwd is BAD. http://httpd.apache.org/docs/1.3/misc/FAQ.h

Re: [EMAIL PROTECTED] Mod_proxy ProxyMatch

2005-07-28 Thread Joshua Slive
On 7/28/05, Kuntze, Darin <[EMAIL PROTECTED]> wrote: > > > I'm trying to do some proxy work on my apache 2 server. I have requests for > a couple of asp files that need to be proxied to another server. Therefore > I'm trying to use ProxyMatch to match only the files with the ".asp" > extension.

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
Thanks, the NC worked like a champ. So I created one called ^/~/bob /exchange/ [R,NC] as for testing and tested it with /~/BoB and it did indeed redirect. > -Original Message- > From: Dan Goodes [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 28, 2005 3:01 PM > To: users@httpd.apache.org

Re: [EMAIL PROTECTED] Apache 2.0: mod_cache: "Cache-Control: no-cache" not preventing content from being served from cache

2005-07-28 Thread Joshua Slive
On 7/28/05, Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote: > As far as I have understood RFC2616 14.9.1 and 14.9.2, no-cache is supposed > to prevent content from being served from cache without revalidation, and > no-store forbids storing content altogether. > > Tests I made with Apache 2.0

[EMAIL PROTECTED] CGI via suexec

2005-07-28 Thread Joshua Slive
On 7/27/05, Atte Peltomaki <[EMAIL PROTECTED]> wrote: > > > I'm trying to implement such scenario where a cgi script would be run as > > > the user that just authed against the local passwd. This way the cgi > > > script would have the same rights as the local user does. > > > > > > Anyone have any

Re: [EMAIL PROTECTED] mod_ssl missing

2005-07-28 Thread Tom Ray [Lists]
Craig- To answer you question, no I was not. I did a search for mod_ssl.so and I found it in /usr/lib/apache2 when I looked in httpd.conf however, there was no reference to it. I also found reference to it in loadmodule.conf under /etc/apache2 the line is: LoadModule ssl_module

[EMAIL PROTECTED] Lionel Roux/Marnes/FR/BIO-RAD est absent(e). Lionel Roux/Marnes/FR/BIO-RADis in vacation

2005-07-28 Thread Lionel Roux
Je serai absent(e) du 28/07/2005 au 08/08/2005. Je répondrai à votre message dès mon retour le 8 Aout I will be back the 8th of August - The official User-To-User support forum of the Apache HTTP Server Project. See http://htt

[EMAIL PROTECTED] lots of near-simultaneous requests the same file

2005-07-28 Thread Chase
i have a tiny little cgi script (one line of code) that will be called at least once a minute by at least 1000 users of a piece of software that i'm developing. the user can, if they want, set the refresh time to up to an hour, but let's consider the worst-case scenario for the purpose of t

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Dan Goodes
On Thu, 28 Jul 2005 at 14:45, Gary W. Smith wrote: > So for that question, is there any way to force the case insensitivity > for the entire string when doing a RuleRewrite. Try the [NC] flag at the end of your RewriteRule:: RewriteRule ^/~/exchange /exchange/ [R,NC] (and whatever else you need

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
Unfortunately no, the sample didn’t appear to work.  I think that you gave me another sample some time ago (/[Ee]xchange) which worked for the two cases but there is a little more behind the scenes that we are worried about.  A little more detail on the rest of the problem.  We have 25 shar

Re: [EMAIL PROTECTED] mod_ssl missing

2005-07-28 Thread Craig Dunigan
On Thu, 28 Jul 2005, Tom Ray [Lists] wrote: > We built a box months ago using SuSE 9.1, and installed everything > straight from the CD's via YaST but it seems that when we tried to get a > SSL enabled site to work, it gave us errors. Doing a quick search on the > box it seems that mod_ssl.c is

[EMAIL PROTECTED] mod_ssl missing

2005-07-28 Thread Tom Ray [Lists]
We built a box months ago using SuSE 9.1, and installed everything straight from the CD's via YaST but it seems that when we tried to get a SSL enabled site to work, it gave us errors. Doing a quick search on the box it seems that mod_ssl.c isn't installed. When I do a /usr/sbin/httpd2 -l mod_s

Re: [EMAIL PROTECTED] Re: Why does each Apache child process consume 5 MB of RAM?

2005-07-28 Thread Sean Conner
It was thus said that the Great dtufs once stated: > > > try a different webserver > > The last thing we were going to try was Apache 2.x. > Could it help? I mean the support for threads which > share common memory could reduce the overall memory > consumption. Is my assumption correct? Are MySQ

[EMAIL PROTECTED] Re: Why does each Apache child process consume 5 MB of RAM?

2005-07-28 Thread dtufs
> try a different webserver The last thing we were going to try was Apache 2.x. Could it help? I mean the support for threads which share common memory could reduce the overall memory consumption. Is my assumption correct? Are MySQL libs and other necessary libs for php thread-safe? Also, do yo

Re: [EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread André Malo
* Brian Candler wrote: > To answer my own question, by looking at the source: there's a "magic" > MIME type for this case. > > [T=text/x-server-parsed-html] > > will use the server-parsed handler, but set the return MIME type to > text/html. Further, in 2.1/2.2 it will be possible to explicit

Re: AW: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread Sean Conner
It was thus said that the Great Oliver Kirchel once stated: > > Hi, > if I do this "more /proc/sys/fs/file-max" I get the value 104857. With > the command /proc/sys/fs/file-nr I get these values: 3744 1184 104857 > I checked these values the last twelve hours. The file numbers never > reach the ma

Re: [EMAIL PROTECTED] Re: Why does each Apache child process consume 5 MB of RAM?

2005-07-28 Thread Sean Conner
It was thus said that the Great dtufs once stated: > > The Apache server runs on Debian 3.1 (latest stable), > 2.4.x kernel. > > The following modules are loaded: > > mod_php4.c, mod_ssl.c, mod_setenvif.c, mod_expires.c, > mod_auth.c, mod_access.c, mod_rewrite.c, mod_alias.c, > mod_cgi.c, mod_di

Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Brian Candler
On Thu, Jul 28, 2005 at 10:28:09AM -0400, Dan Mahoney, System Admin wrote: > On Thu, 28 Jul 2005, Brian Candler wrote: > > If you don't have a shell, then your system runs /bin/echo, no? No. Firstly, suexec calls execv(), which does not do a search in $PATH. Secondly, "echo foo" is treated as a s

Re: [EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread Brian Candler
On Thu, Jul 28, 2005 at 12:42:32PM +0100, Brian Candler wrote: > Question: is it possible to set the MIME-type and the handler separately in > mod_rewrite? > > (1) If I do > > RewriteRule \.shtml?$ - [T=server-parsed,L] > > then the page is parsed, but the wrong MIME type is sent to the client

Re: [EMAIL PROTECTED] mod_proxy_html Segmentation fault problem with Apache 2.1.6 on FreeBSD 4.9

2005-07-28 Thread Nick Kew
On Thursday 28 July 2005 02:00, R Mills wrote: > I am running Apache 2.1.6 on FreeBSD 4.9. It is running on port 8080 > because another version of Apache is running on port 80. An unusual combination (are you doing anything else unusual, like using a threaded MPM on FBSD4.x?) What happens if you

RE: [EMAIL PROTECTED] Re: Why does each Apache child process consume 5 MB of RAM?

2005-07-28 Thread Boyle Owen
> -Original Message- > From: dtufs [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 28. Juli 2005 11:13 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Re: Why does each Apache child process > consume 5 > MB of RAM? > > > The Apache server runs on Debian 3.1 (latest stable), > 2.4

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Axel-Stéphane SMORGRAV
Does it work for you? If it does, leave it as it is. I do however suspect that the example you saw was was some Perl stuff.   Anyway, what are you trying to achieve with that particular directive?   I guess that the SSL stuff you mentioned is you priority. It would be nice if you gave sus o

Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, Brian Candler wrote: Also, if you want the wrapper to run a shell, call a script, like one that starts with #!/bin/sh -Dan I have a suexec-related question. I'm running (and looking at the source code for) Apache 1.3.33. I am mapping the Host: header to the filesystem

Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, Brian Candler wrote: If you don't have a shell, then your system runs /bin/echo, no? However, shell environment variables are not present, correct. -Dan I have a suexec-related question. I'm running (and looking at the source code for) Apache 1.3.33. I am mapping the Ho

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
I found it in a sample somewhere.  I’m not a regexp guy so I basically use what I can find.  It’s one of those things on my to do list but I haven’t got to it yet.       From: Axel-Stéphane SMORGRAV [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 12:35 AM To: users@ht

[EMAIL PROTECTED] Mod_proxy ProxyMatch

2005-07-28 Thread Kuntze, Darin
Title: Mod_proxy ProxyMatch I'm trying to do some proxy work on my apache 2 server. I have requests for a couple of asp files that need to be proxied to another server. Therefore I'm trying to use ProxyMatch to match only the files with the ".asp" extension. Here's what I have so far (and it

[EMAIL PROTECTED] How to set up apache proxy load balancer for two different ISP

2005-07-28 Thread ASAD BIN IMTIAZ
Hi, Though new to apache, I have heard that apache web server can be configured as a proxy server that load balance the internal network traffic going out to internet between two different ISP connections. I have a small network of few computers connected to a gateway computer (all running linux)

RE: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread PMilanese
Is that all you're running? Are you running any fancy xml nonsense? Xslt? Any other preprocessors? Sometimes those open up a bizzilion temp files. Especially search indexes (like lucene) if the indexes are not built correctly. -Original Message- From: Oliver Kirchel [mailto:[EMAIL PROT

[EMAIL PROTECTED] Apache 2.0: mod_cache: "Cache-Control: no-cache" not preventing content from being served from cache

2005-07-28 Thread Axel-Stéphane SMORGRAV
As far as I have understood RFC2616 14.9.1 and 14.9.2, no-cache is supposed to prevent content from being served from cache without revalidation, and no-store forbids storing content altogether. Tests I made with Apache 2.0.49 and 2.0.54 show that Apache gladly serves contents containing "Cache

[EMAIL PROTECTED] Re: three web on the same machine but I get the wrong page for a request using HTTPS (client side)

2005-07-28 Thread Joost de Heer
> > ServerName ultra.secret.com > > ServerName www.secret.com > Every thing works fine when I try to reach ultra.secret.com on HTTP > protocole. But when I try to reach ultra.secret.com on HTTPS I get > www.secret.com page. How can I configure apache so that I will get > ultra.secret.com on HTT

Re: [EMAIL PROTECTED] three web on the same machine but I get the wrong page for a request using HTTPS (client side)

2005-07-28 Thread Krist van Besien
On 7/28/05, Karim Hamed-abdelouahab <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I've a web machine running on Fedora core 3.0. Apache 1.33 with mod_ssl. > > This is an extract of my configuration file: > > > Listen 80 > Listen 443 > > > > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /v

[EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread Brian Candler
Question: is it possible to set the MIME-type and the handler separately in mod_rewrite? (1) If I do RewriteRule \.shtml?$ - [T=server-parsed,L] then the page is parsed, but the wrong MIME type is sent to the client ("server-parsed" instead of "text/html") (2) If I do AddHandler server-parse

[EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Brian Candler
I have a suexec-related question. I'm running (and looking at the source code for) Apache 1.3.33. I am mapping the Host: header to the filesystem path using mod_rewrite and a dbm map, for mass virtual hosting. Since "User" can only be set statically inside a container, it looks like I can't use A

[EMAIL PROTECTED] can apache use 2 different auth modules?

2005-07-28 Thread Duane Winner
hello, I'm trying to find out if it's possible to configure Apache2 with two seperate authentication modules (mod_auth_mysql and mod_auth_pgsql) running in the same server. I have two virtual servers running, and one needs mod_auth_mysql to authenticate users against fields in a MySQL databa

Re: [EMAIL PROTECTED] Re: Why does each Apache child process consume 5 MB of RAM?

2005-07-28 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, dtufs wrote: The Apache server runs on Debian 3.1 (latest stable), 2.4.x kernel. Okay, so first, remove all the modules (if they're being dynamically loaded) and see how much ram each child uses. If it's not <1.5 megs, stop there and try a different webserver (or compil

[EMAIL PROTECTED] three web on the same machine but I get the wrong page for a request using HTTPS (client side)

2005-07-28 Thread Karim Hamed-abdelouahab
Hello everybody, I've a web machine running on Fedora core 3.0. Apache 1.33 with mod_ssl. This is an extract of my configuration file: Listen 80 Listen 443 ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/secret ServerName ultra.secret.com ErrorLog /usr/apache/logs/secret_cl/error_log.l

Re: [EMAIL PROTECTED] want help

2005-07-28 Thread Ismail Idriss
iam using apache 2.0 and have two site i want to serve them iam but the documentroot (DocumentRoot "C:/Program Files/Apache Group/Apache2/ekp) its work for one site iam trying to use virtual host but the apache doesn't work. did i want to disable the deflaut Documetroot or olny make two virstual

[EMAIL PROTECTED] Re: Why does each Apache child process consume 5 MB of RAM?

2005-07-28 Thread dtufs
The Apache server runs on Debian 3.1 (latest stable), 2.4.x kernel. The following modules are loaded: mod_php4.c, mod_ssl.c, mod_setenvif.c, mod_expires.c, mod_auth.c, mod_access.c, mod_rewrite.c, mod_alias.c, mod_cgi.c, mod_dir.c, mod_autoindex.c, mod_info.c, mod_status.c, mod_negotiation.c, mod

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Axel-Stéphane SMORGRAV
Pardon my ignorance, but what is that tilde (~) stuff doing in the RewriteRule ??   Regarding the HTTP responses to HTTPS requests, that is just not possible.   What is possible though, is that a page received in response to a HTTPS request contains absolute URLs in links (i.e. prepended wi

Re: [EMAIL PROTECTED] [RESOLVED] Regular Expression Question

2005-07-28 Thread Chase
i mean, looking at the script, which i yanked from an online tutorial, it's obvious where the problem is: http://www.foo.com"; ); ?> i just need to figure out how in php to get it to respect the entire original file path. it probably won't be too hard. if i get stuck, i'll post on a php

RE: [EMAIL PROTECTED] Regular Expression Question

2005-07-28 Thread Axel-Stéphane SMORGRAV
>From what I understand from this post and others on the same subject, what you >probably want is: !^/cgi-bin/mycgiscript$ Works for me with mod_rewrite. Haven't tried it with RedirectMatch. -ascs -Original Message- From: Chase [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005

Re: [EMAIL PROTECTED] Regular Expression Question

2005-07-28 Thread Chase
On Jul 28, 2005, at 1:43 AM, Chase wrote: You could always create an errordocument CGI that returns a LOCATION header that sends them to foo.net :) actually, that was one of the first things i tried, but i couldn't get it working. let me make sure that i understand you: do you mean t

AW: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread Oliver Kirchel
Hi, if I do this "more /proc/sys/fs/file-max" I get the value 104857. With the command /proc/sys/fs/file-nr I get these values: 3744 1184 104857 I checked these values the last twelve hours. The file numbers never reach the maximum. Olli > -Ursprüngliche Nachricht- > Von: Boyle Owen [mail

RE: [EMAIL PROTECTED] MPM type

2005-07-28 Thread Axel-Stéphane SMORGRAV
# httpd -l Compiled in modules: core.c mod_access.c mod_log_config.c mod_env.c mod_headers.c mod_setenvif.c mod_proxy.c proxy_connect.c proxy_ftp.c proxy_http.c WORKER.C http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_cgi.c mod_negotiation.c mod_dir.c m