From jflynn@example.net Sat Nov 01 16:00:43 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 33933 invoked from network); 1 Nov 2008 16:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2008 16:00:43 -0000 Received: (qmail 13361 invoked by uid 500); 1 Nov 2008 16:00:37 -0000 Delivered-To: jflynn@example.net Received: (qmail 13346 invoked by uid 500); 1 Nov 2008 16:00:37 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 13335 invoked by uid 99); 1 Nov 2008 16:00:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2008 09:00:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2008 15:59:22 +0000 Received: by fg-out-1718.google.com with SMTP id 16so1439633fgg.40 for <jflynn@example.net>; Sat, 01 Nov 2008 09:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rPlOtMZvh6vM5fZU60KY/z/c7JHY00FKnL9yLbBXxS4=; b=tVFXcztJhR6f/gGlSzAHcYtxuPWxaKurIY2OatNjPyjY/mDKG2t/OnK8xIvFHqjUcH SA65LkkzMeV8cv1B959yV0VvbYn/3LA3luC6P7Gs2dK/77w028BryPEwMk3ejc5AXaDI zUXHTyD9CAbl0CDQlcUyMCPzHTUjxvFQXZEbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gV+OHE4zQE9sr7+ab+U4nX4/R4V273rHElLlkCstudafDINe/FQJvmSIn6m8y91dim VKqpV7vdtAaUdUrTgVZXMHckGfs2v4dTM9DUvr4THvv58euirD2iJO9JnLN3I0ZAmU+l tRsuranOQjgLOquCIwz82f9N7YChaJzeqCzjo= Received: by 83.161.120.155 with SMTP id c3mr2453885fga.33.1225555202485; Sat, 01 Nov 2008 09:00:02 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Sat, 1 Nov 2008 09:00:02 -0700 (PDT) Message-ID: <jflynn@example.net> Date: Sat, 1 Nov 2008 17:00:02 +0100 From: "Krist van Besien" <jflynn@example.net> To: jflynn@example.net In-Reply-To: <jflynn@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jflynn@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] htaccess help On Fri, Oct 31, 2008 at 8:09 PM, debussy007 <jflynn@example.net> wrote: > > Hi, > > this is the content of my .htaccess file: > > RewriteEngine on > RewriteCond %{REQUEST_URI} !files/rapporten/instant/* > RewriteCond %{REQUEST_URI} !files/rapporten/dag/* > RewriteCond %{REQUEST_URI} !files/rapporten/week/* > Rewrite Rule \.csv$ - [L] > RewriteRule .* index.php > php_flag magic_quotes_gpc off > php_flag register_globals off > > > The problem is that since I added the line: RewriteRule \.csv$ - [L] > all of the three RewriteCond are not working anymore. They are still working, but now they are working for the RewriteRule \.csv$ - [L] rule, and this is probably not what you want. Just put this rule before the RewriteCond lines. RewriteCond lines only apply to a single RewriteRule. Krist -- jflynn@example.net jflynn@example.net Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sat Nov 01 19:56:27 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 26980 invoked from network); 1 Nov 2008 19:56:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2008 19:56:27 -0000 Received: (qmail 51676 invoked by uid 500); 1 Nov 2008 19:56:22 -0000 Delivered-To: jflynn@example.net Received: (qmail 51655 invoked by uid 500); 1 Nov 2008 19:56:22 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 51644 invoked by uid 99); 1 Nov 2008 19:56:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2008 12:56:22 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wf-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2008 19:55:08 +0000 Received: by wf-out-1314.google.com with SMTP id 24so2018198wfg.15 for <jflynn@example.net>; Sat, 01 Nov 2008 12:55:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=AgdkDvBj6cCSRkVKAiAaGFk45To+lMJF29omaIwbyy8=; b=RS2juQzBViHSnn2tFFuryY53ZmBit/9o8Gv89fln+3YjeOjGpqO0lNjA7bmRuZxEAr 5ALHd75Adez9fAUptpsLmThCKOSIfFwb7Id43b2g2NkzXi/zI95YqRq0isUxYsXkvxam oMAYSuTWAXzpkCMH6Kh61HsKvreMXfh6OpAP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=v6oWPBRBEXcdunhnGfBm02GZl9Qcg8dO9PfT69+p0QDJ5IYkICbhmkJuZRtTc8In71 1sHOltxUVKApM3BvvwEbrwIDpg47dqo7h2DJ1Z8GxQCZOQ+n8GH/Gj0eYTLjDBO0g/ZY JA+Th9SmGuxH4Ctol12v9F2XOzF0mYEBh7HW8= Received: by 83.161.120.155 with SMTP id u4mr6184910wfg.329.1225569340305; Sat, 01 Nov 2008 12:55:40 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Sat, 1 Nov 2008 12:55:40 -0700 (PDT) Message-ID: <jflynn@example.net> Date: Sat, 1 Nov 2008 20:55:40 +0100 From: "=?WINDOWS-1252?Q?Tom=E1=9A_Brambora?=" <jflynn@example.net> To: jflynn@example.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Using mod_proxy as a "dechunker" Hello everyone, I'm trying to use mod_proxy as a dechunker (ie. something that will buffer the chunks of chunk-encoded messages and then return them as one) for my Django application. I don't know how to configure my apache server though, so I'd really appreciate any help. My configuration regarding the mod_proxy looks like that: SetEnv proxy-sendcl 1 ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPassReverse http://localhost:80/mbsync/test http://localhost:8000/mbsync/test I was hoping that this would make all the requests coming to http://localhost:80/mbsync/test to be dechunked and redirected to http://localhost:8000/mbsync/test (where my Django server is running). But the Django server doesn't get any hit, so it apparently does not work... --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sat Nov 01 22:50:03 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 75825 invoked from network); 1 Nov 2008 22:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2008 22:50:02 -0000 Received: (qmail 32854 invoked by uid 500); 1 Nov 2008 22:49:54 -0000 Delivered-To: jflynn@example.net Received: (qmail 32841 invoked by uid 500); 1 Nov 2008 22:49:54 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 32826 invoked by uid 99); 1 Nov 2008 22:49:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2008 15:49:54 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO munin.local) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2008 22:48:40 +0000 Received: from [83.161.120.155] (localhost [83.161.120.155]) by munin.local (Postfix) with ESMTP id 862E1277BBF for <jflynn@example.net>; Sat, 1 Nov 2008 22:49:10 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <jflynn@example.net> References: <jflynn@example.net> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Message-Id: <jflynn@example.net> Content-Transfer-Encoding: quoted-printable From: Nick Kew <jflynn@example.net> Date: Sat, 1 Nov 2008 22:49:09 +0000 To: jflynn@example.net X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Using mod_proxy as a "dechunker" On 1 Nov 2008, at 19:55, Tom=E1=9A Brambora wrote: > > ProxyPassReverse http://localhost:80/mbsync/test > http://localhost:8000/mbsync/test That's wrong, and won't catch anything. If the proxypass documentation isn't clear enough, you could also check the jflynn@example.net. --=20 Nick Kew= --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sun Nov 02 11:58:15 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 34017 invoked from network); 2 Nov 2008 11:58:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2008 11:58:15 -0000 Received: (qmail 73040 invoked by uid 500); 2 Nov 2008 11:58:10 -0000 Delivered-To: jflynn@example.net Received: (qmail 73015 invoked by uid 500); 2 Nov 2008 11:58:10 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 73004 invoked by uid 99); 2 Nov 2008 11:58:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 03:58:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO popeye.combios.es) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 11:56:54 +0000 Received: from [83.161.120.155] (p549E9CFE.dip0.t-ipconnect.de [83.161.120.155]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id mA2BvTdk030143 for <jflynn@example.net>; Sun, 2 Nov 2008 12:57:30 +0100 Message-ID: <jflynn@example.net> Date: Sun, 02 Nov 2008 12:54:52 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= <jflynn@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20080708) MIME-Version: 1.0 To: jflynn@example.net References: <{{EMAIL+PHONE}}> In-Reply-To: <{{EMAIL+PHONE}}> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on popeye.combios.es X-Virus-Scanned: ClamAV 0.92.1/8554/Sun Nov 2 04:28:42 2008 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-97.7 required=2.5 tests=DNS_FROM_SECURITYSAGE, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,USER_IN_WHITELIST autolearn=no version=3.2.3 Subject: Re: [users@httpd] Cannot change User for httpd.exe with Apache2.2 for Windows Li Xin wrote: > Hi Eric, > > I basically followed the second link. I don't know that the Apache for Windows won't be able to set the User for httpd.exe. So it means, that the "User" directive in httpd.conf is useless for Windows? > Hi. I believe you are right, and the "User" and "Group" directives do nothing under Windows. The very first thing to tell us maybe, is *how* you started Apache under Windows. If it is started as a Windows Service, then the user under which it runs is the user under which the Windows Service runs. You can check (and change) that as follows : - right-click on the "My Computer" icon - choose Manage.. Services and Applications .. Services .. Apache... - right-click on the Apache line - select the second tab "login as" or "run as" By default, it is set as "LocalSystem", but you can change this to any valid Windows user-id, within some limits. (*) "LocalSystem" is a special user under Windows : it has almost all rights on the local machine, but is a not a Domain user and has no rights to access any network resource (e.g. shared server directories, network printers etc). If you start Apache within a command window, it runs as the user under which you logged in. Another couple of notes : "Administrators" (with "s") is not a Windows user, it is a User Group, in which there can be several users. Also, if you get a page or a file from Apache (through the browser), and save it to disk, the owner of that file is not the user under which Apache is running. It is the user under which *you* are running the browser that saves this file. (*) - For example, in order to be able to have Apache listen on any port =< 1024, the user may need to be a least member of the local Administrators group. - if you change the user, make sure you pick one whose password does not "age", otherwise when the password runs out, you won't be able to restart the Apache service. - be aware that "Administrator" (user) and "Administrators" (group) are names that change depending on the international version of Windows you are using. On a Spanish Windows e.g., these are "Administrador" and "Administradores" respectively. I don't even want to guess what they might be in a Chinese Windows ;-). But LocalSystem never changes, and that is probably why the Apache installer always uses that one by default. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sun Nov 02 16:57:51 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 80278 invoked from network); 2 Nov 2008 16:57:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2008 16:57:51 -0000 Received: (qmail 89500 invoked by uid 500); 2 Nov 2008 16:57:46 -0000 Delivered-To: jflynn@example.net Received: (qmail 89483 invoked by uid 500); 2 Nov 2008 16:57:46 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 89472 invoked by uid 99); 2 Nov 2008 16:57:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 08:57:45 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL,WEIRD_PORT,WHOIS_DMNBYPROXY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of jflynn@example.net) Received: from [83.161.120.155] (HELO mh5.mail.rice.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 16:56:26 +0000 Received: from mh5.mail.rice.edu (localhost.localdomain [83.161.120.155]) by mh5.mail.rice.edu (Postfix) with ESMTP id 1E53F15C00D for <jflynn@example.net>; Sun, 2 Nov 2008 10:57:07 -0600 (CST) X-Virus-Scanned: by jflynn@example.net Received: from mh5.mail.rice.edu ([83.161.120.155]) by mh5.mail.rice.edu (mh5.mail.rice.edu [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id Q9r5VR8mj3Hx for <jflynn@example.net>; Sun, 2 Nov 2008 10:57:07 -0600 (CST) Received: from [83.161.120.155] (student-101-mar42-246.rice.edu [83.161.120.155]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mh5.mail.rice.edu (Postfix) with ESMTPSA id EC45F15C003 for <jflynn@example.net>; Sun, 2 Nov 2008 10:57:06 -0600 (CST) Message-ID: <jflynn@example.net> Date: Sun, 02 Nov 2008 10:57:06 -0600 From: Mike Benza <jflynn@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20080925) MIME-Version: 1.0 To: jflynn@example.net References: <jflynn@example.net> <jflynn@example.net> In-Reply-To: <jflynn@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] LDAP hangs when trying to authenticate Well, I've solved this problem with a lot of help. The issue is that Apache's mod_ldap is ignoring "LDAPVerifyServerCert Off" I had to replace that with: LDAPTrustedMode SSL LDAPVerifyServerCert On LDAPTrustedGlobalCert CA_BASE64 /etc/ssl/certs/Thawte_Premium_Server_CA.pem (if you have the same problem, make sure you use the right CA certificate...I'm not sure how to figure out which to use -- the person who helped me told me) - Mike Benza Tod wrote: > Mike Benza wrote: >> Hello, >> >> I've been stuck with a problem where LDAP hangs when it's trying to >> authenticate. >> >> I'm running Apache on Ubuntu 8.04, Hardy Heron. This problem occurs >> with the Ubuntu version (both 32 and 64 bit) as well as compiled >> directly from source. I can produce the problem in Apache 2.2.8 >> (from Ubuntu) and 2.2.10 (compiled from source). I posted about the >> problem on ubuntuforums.org <http://ubuntuforums.org> a few weeks ago >> but I didn't get any useful responses. I've searched the web >> multiple times. Tonight I downloaded the source and built it, and I >> still have the problem. >> >> I've a <Location> in a certain site that needs to be ldap >> authenticated. It doesn't get authenticated. Here is the location: >> >> <Location /blah> >> AuthzLDAPAuthoritative Off >> AuthName "EWB Documents" >> AuthType Basic >> AuthBasicProvider ldap >> AuthLDAPBindDN "cn=ewb,ou=Service Accounts,dc=rice,dc=edu" >> AuthLDAPBindPassword ********* >> AuthLDAPURL "ldaps://ldap.rice.edu:636/ou=People,dc=rice,dc=edu?uid >> <http://ldap.rice.edu:636/ou=People,dc=rice,dc=edu?uid>" >> >> <Limit GET POST PROPFIND OPTIONS REPORT> >> Require valid-user >> </Limit> >> </Location> >> >> When I browse to http://site/blah, I get prompted for my username and >> password. I've confirmed that this <Location> configuration is >> causing the prompt, since when I remove the <Location>, I don't get >> prompted for a username and password. After I type my username and >> password in and click OK, nothing happens on the browser side. I can >> watch my browser send my credentials back the server, and I can see >> the beginning of an LDAP conversation using wireshark on the server. >> However, after the conversation begins, it abruptly stops, and >> nothing happens. It just sits there. >> >> I tested logging into the LDAP with a variation of the following >> (using a hostname and port, but I don't remember the format and >> switches now): >> Code: >> >> ldapsearch -x -W -D "cn=ewb,ou=service accounts,dc=rice,dc=edu" -b >> "ou=People,dc=rice,dc=edu" '(uid=XYZ)' >> >> It prompts me for my password (the ***s in the above apache >> configuration), then finds the user named XYZ. >> >> So, in summary I can connect via ldaps and lookup a user at the >> command line, but somewhere, apache fails. >> >> I turned logging in apache to debug, and discovered that ldap doesn't >> log much: >> Code: >> >> [Wed Sep 17 20:07:10 2008] [error] (2)No such file or directory: >> mod_mime_magic: can't read magic file /etc/apache2/conf/magic >> [Wed Sep 17 20:07:10 2008] [notice] suEXEC mechanism enabled >> (wrapper: /usr/lib/apache2/suexec) >> [Wed Sep 17 20:07:10 2008] [info] Init: Seeding PRNG with 256 bytes >> of entropy >> [Wed Sep 17 20:07:10 2008] [info] Init: Generating temporary RSA >> private keys (512/1024 bits) >> [Wed Sep 17 20:07:10 2008] [info] Init: Generating temporary DH >> parameters (512/1024 bits) >> [Wed Sep 17 20:07:10 2008] [info] Init: Initializing (virtual) >> servers for SSL >> [Wed Sep 17 20:07:10 2008] [info] mod_ssl/2.2.8 compiled against >> Server: Apache/2.2.8, Library: OpenSSL/0.9.8g >> [Wed Sep 17 20:07:10 2008] [error] (2)No such file or directory: >> mod_mime_magic: can't read magic file /etc/apache2/conf/magic >> [Wed Sep 17 20:07:10 2008] [notice] Digest: generating secret for >> digest authentication ... >> [Wed Sep 17 20:07:10 2008] [notice] Digest: done >> [Wed Sep 17 20:07:10 2008] [debug] util_ldap.c(1977): LDAP merging >> Shared Cache conf: shm=0x80f2188 rmm=0x80f21b8 for VHOST: >> ewb.rice.edu <http://ewb.rice.edu> >> [Wed Sep 17 20:07:10 2008] [debug] util_ldap.c(1977): LDAP merging >> Shared Cache conf: shm=0x80f2188 rmm=0x80f21b8 for VHOST: >> wiki.ewb.rice.edu <http://wiki.ewb.rice.edu> >> [Wed Sep 17 20:07:10 2008] [debug] util_ldap.c(1977): LDAP merging >> Shared Cache conf: shm=0x80f2188 rmm=0x80f21b8 for VHOST: >> ewb.rice.edu <http://ewb.rice.edu> >> [Wed Sep 17 20:07:10 2008] [info] APR LDAP: Built with OpenLDAP LDAP SDK >> [Wed Sep 17 20:07:10 2008] [info] LDAP: SSL support available >> [Wed Sep 17 20:07:10 2008] [info] Init: Seeding PRNG with 256 bytes >> of entropy >> [Wed Sep 17 20:07:10 2008] [info] Init: Generating temporary RSA >> private keys (512/1024 bits) >> [Wed Sep 17 20:07:10 2008] [info] Init: Generating temporary DH >> parameters (512/1024 bits) >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(374): >> shmcb_init allocated 512000 bytes of shared memory >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(554): entered >> shmcb_init_memory() >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(576): for >> 512000 bytes, recommending 4266 indexes >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(619): >> shmcb_init_memory choices follow >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(621): >> division_mask = 0x1F >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(623): >> division_offset = 64 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(625): >> division_size = 15998 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(627): >> queue_size = 1604 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(629): index_num >> = 133 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(631): >> index_offset = 8 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(633): >> index_size = 12 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(635): >> cache_data_offset = 8 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(637): >> cache_data_size = 14386 >> [Wed Sep 17 20:07:10 2008] [debug] ssl_scache_shmcb.c(650): leaving >> shmcb_init_memory() >> [Wed Sep 17 20:07:10 2008] [info] Shared memory session cache >> initialised >> [Wed Sep 17 20:07:10 2008] [info] Init: Initializing (virtual) >> servers for SSL >> [Wed Sep 17 20:07:10 2008] [info] mod_ssl/2.2.8 compiled against >> Server: Apache/2.2.8, Library: OpenSSL/0.9.8g >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24788 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24788 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24789 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24789 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24790 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24790 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24791 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24791 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24792 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24792 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24793 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24793 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24794 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24794 for (*) >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1670): proxy: grabbed >> scoreboard slot 0 in child 24795 for worker proxy:reverse >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1689): proxy: worker >> proxy:reverse already initialized >> [Wed Sep 17 20:07:10 2008] [debug] proxy_util.c(1778): proxy: >> initialized single connection worker 0 in child 24795 for (*) >> [Wed Sep 17 20:07:10 2008] [notice] Apache/2.2.8 (Ubuntu) DAV/2 >> SVN/1.4.6 PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ssl/2.2.8 >> OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 configu >> red -- resuming normal operations >> >> Nothing is logged in the error log when I try to load the page >> requiring my username and password. >> >> Now here is where it gets a bit more complicated: If it's hanging >> waiting to authenticate and I restart apache, the authentication >> succeeds, then apache restarts just fine. >> >> I don't know very much about the LDAP server. I know there are a >> number of machines with apache that successfully authenticate against >> this ldap. >> >> Has anyone had problems like this? Please help me. I can't find >> anyone who knows enough about apache and ldap. I've been working at >> this for weeks now. Thank you. >> >> - Mike Benza >> > > Try doing the ldapsearch from the apache box to ldap.rice.edu to rule > out firewall a issue. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: jflynn@example.net > " from the digest: jflynn@example.net > For additional commands, e-mail: jflynn@example.net > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sun Nov 02 19:20:46 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 50320 invoked from network); 2 Nov 2008 19:20:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2008 19:20:46 -0000 Received: (qmail 85290 invoked by uid 500); 2 Nov 2008 19:20:41 -0000 Delivered-To: jflynn@example.net Received: (qmail 85273 invoked by uid 500); 2 Nov 2008 19:20:41 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 85262 invoked by uid 99); 2 Nov 2008 19:20:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 11:20:41 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 19:19:24 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KwiUU-0007wp-J7 for jflynn@example.net; Sun, 02 Nov 2008 19:20:02 +0000 Received: from halleracaffe-14.broadband.pl ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <jflynn@example.net>; Sun, 02 Nov 2008 19:20:02 +0000 Received: from mszpak by halleracaffe-14.broadband.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <jflynn@example.net>; Sun, 02 Nov 2008 19:20:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: jflynn@example.net From: =?ISO-8859-2?Q?Marcin_Zaj=B1czkowski?= <jflynn@example.net> Date: Sun, 02 Nov 2008 18:52:57 +0100 Lines: 30 Message-ID: <jflynn@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: jflynn@example.net X-Gmane-NNTP-Posting-Host: halleracaffe-14.broadband.pl User-Agent: Thunderbird 2.0 Sender: news <jflynn@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] One <Directory> tag for public_html in various paths Hi, How can I set Options and other configuration for user public_html directories which are placed in a different paths: /home/foo/user1 /home/bar/user2 /home/2007/aa/user3 /home/2007/ab/user4 /home/too/2005/z/user5 ? In normal situation there could be something like that: <Directory /home/*/public_html> AllowOverride AuthConfig FileInfo Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec +ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> </Directory> but in my situation I can only use "<Directory "~">" which can't be overridden for specified subdirectories directories :( It's an one of the problems mentioned in my previous post (which maybe was too long): http://marc.info/?l=apache-httpd-users&m=122444710729770 Regards Marcin --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sun Nov 02 19:26:49 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 51176 invoked from network); 2 Nov 2008 19:26:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2008 19:26:47 -0000 Received: (qmail 92741 invoked by uid 500); 2 Nov 2008 19:26:43 -0000 Delivered-To: jflynn@example.net Received: (qmail 92723 invoked by uid 500); 2 Nov 2008 19:26:43 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 92712 invoked by uid 99); 2 Nov 2008 19:26:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 11:26:43 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO liet.localdomain) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 19:25:27 +0000 Received: from localhost (localhost [83.161.120.155]) by liet.localdomain (Postfix) with ESMTP id 2AB3C24581 for <jflynn@example.net>; Sun, 2 Nov 2008 14:26:07 -0500 (EST) X-Virus-Scanned: Debian jflynn@example.net Received: from liet.localdomain ([83.161.120.155]) by localhost (liet.fidoki.com [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id JPbv9d9sS-U8 for <jflynn@example.net>; Sun, 2 Nov 2008 14:26:07 -0500 (EST) Received: from Muaddib.local (nmd.sbx10521.pittspa.wayport.net [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jflynn@example.net) by liet.localdomain (Postfix) with ESMTPSA id AF1A624580 for <jflynn@example.net>; Sun, 2 Nov 2008 14:26:06 -0500 (EST) Message-ID: <jflynn@example.net> Date: Sun, 02 Nov 2008 14:25:56 -0500 From: "Douglas K. Fischer" <jflynn@example.net> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20080914) MIME-Version: 1.0 To: jflynn@example.net References: <jflynn@example.net> <jflynn@example.net> <jflynn@example.net> In-Reply-To: <jflynn@example.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache 1.3.37 64bit For posterity sake (and easy archive searching for the solution), here's all that's needed to patch mod_ssl: diff -PurN mod_ssl-2.8.31-1.3.41.orig/pkg.sslmod/libssl.module mod_ssl-2.8.31-1.3.41/pkg.sslmod/libssl.module --- mod_ssl-2.8.31-1.3.41.orig/pkg.sslmod/libssl.module 2006-05-08 03:15:37.000000000 -0400 +++ mod_ssl-2.8.31-1.3.41/pkg.sslmod/libssl.module 2008-10-17 18:57:34.000000000 -0400 @@ -410,7 +410,7 @@ # if [ ".$SSL_BASE" = .SYSTEM ]; then SSL_LIBDIR="" - for p in . /lib /usr/lib /usr/local/lib; do + for p in . /lib /lib64 /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64; do if [ -f "$p/libssl.a" -o -f "$p/libssl.so" ]; then SSL_LIBDIR="$p" my_real_ssl_libdir="$p" @@ -419,7 +419,7 @@ done if [ ".$SSL_LIBDIR" = . ]; then echo "Error: Cannot find SSL library files in any of the following dirs:" 1>&2 - echo "Error: . /lib /usr/lib /usr/local/lib" 1>&2 + echo "Error: . /lib /lib64 /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64" 1>&2 exit 1 fi else @@ -429,6 +429,9 @@ elif [ -f "$SSL_BASE/lib/libssl.a" -o -f "$SSL_BASE/lib/libssl.so" ]; then SSL_LIBDIR='$(SSL_BASE)/lib' my_real_ssl_libdir="$SSL_BASE/lib" + elif [ -f "$SSL_BASE/lib64/libssl.a" -o -f "$SSL_BASE/lib64/libssl.so" ]; then + SSL_LIBDIR='$(SSL_BASE)/lib64' + my_real_ssl_libdir="$SSL_BASE/lib64" else echo "Error: Cannot find SSL library files under $SSL_BASE" 1>&2 exit 1 Cheers, Doug William A. Rowe, Jr. wrote: > André Warnier wrote: > >> Andre Hübner wrote: >> >>> Hi List, >>> >>> try to compile older Apache 1.3.37 on opensuse 11 64bit. I have some >>> Problems with my configure-line. >>> configure tries to find my base-libs in wrong folders: >>> >>> Error: Cannot find SSL library files in any of the following dirs: >>> Error: . /lib /usr/lib /usr/local/lib >>> >>> SSL is installed but Files are located in lib64 Folder. I cannot find >>> a configure-switch to use correct lib64 Folder. >>> Is there something i can do now? >>> I use also new apache 2.2.9 but older 1.3.37 i need for compatibility >>> and for nostalgic reasons ;) >>> >>> >> I'm no expert on the subject, but if it is really for nostalgic reasons, >> and a one-off, maybe you can trick him into finding them in >> /usr/local/lib by some judicious use of symlinks ? >> > > Probably easier to just hack in the appropriate system lib paths (just > look in configure script to determine where /usr/local/lib - one of those > paths - originated from and add 64 flavors). > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: jflynn@example.net > " from the digest: jflynn@example.net > For additional commands, e-mail: jflynn@example.net > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Sun Nov 02 19:55:11 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 57058 invoked from network); 2 Nov 2008 19:55:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2008 19:55:11 -0000 Received: (qmail 5313 invoked by uid 500); 2 Nov 2008 19:55:07 -0000 Delivered-To: jflynn@example.net Received: (qmail 5291 invoked by uid 500); 2 Nov 2008 19:55:07 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 5280 invoked by uid 99); 2 Nov 2008 19:55:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 11:55:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 19:53:52 +0000 Received: by ug-out-1314.google.com with SMTP id c2so551129ugf.23 for <jflynn@example.net>; Sun, 02 Nov 2008 11:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WzjQ4ELFvNp0btGbLuSRWSKNItqlwlMIVznIJFDKM9I=; b=x4cBOT6IYG9MkZqs/KR4wd8z6xvIDhEB80PEJumBFyhrz/yNBmSxLdfYXk71KBOBy+ 795oZa5PkLsKTdkxEiwGg9wjm9LPLYZUpFuiqUEoQd2nna21jHqYeEgwPOyrvD0vIqCV pbJFs30UcjADJUiMkk0/GW1hUVvp3ATwsp2K8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lhdGwc44CNSw9C/GqCLky3qY2ounwowqaPeicq2MvH/wQ34VXSiyVtplD1lx00QFyZ PNqtzlDy/+9wNQ0R8x5qOxBBeDimY/9hRboV/k58X7r0oGum5J4KB9yJjx3NZ4lEit3/ u2VEhngryiDpNdb4RlInihVxBcGRgR4Y7NEMs= Received: by 83.161.120.155 with SMTP id s5mr1468857ugm.63.1225655069317; Sun, 02 Nov 2008 11:44:29 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 2 Nov 2008 11:44:29 -0800 (PST) Message-ID: <jflynn@example.net> Date: Sun, 2 Nov 2008 15:44:29 -0400 From: "Eric Covener" <jflynn@example.net> To: jflynn@example.net In-Reply-To: <jflynn@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <jflynn@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] One <Directory> tag for public_html in various paths T24gU3VuLCBOb3YgMiwgMjAwOCBhdCAxOjUyIFBNLCBNYXJjaW4gWmFqsWN6a293c2tpIDxtc3pw YWtAd3AucGw+IHdyb3RlOgo+IEhpLAo+Cj4KPiBIb3cgY2FuIEkgc2V0IE9wdGlvbnMgYW5kIG90 aGVyIGNvbmZpZ3VyYXRpb24gZm9yIHVzZXIgcHVibGljX2h0bWwKPiBkaXJlY3RvcmllcyB3aGlj aCBhcmUgcGxhY2VkIGluIGEgZGlmZmVyZW50IHBhdGhzOgo+IC9ob21lL2Zvby91c2VyMQo+IC9o b21lL2Jhci91c2VyMgo+IC9ob21lLzIwMDcvYWEvdXNlcjMKPiAvaG9tZS8yMDA3L2FiL3VzZXI0 Cj4gL2hvbWUvdG9vLzIwMDUvei91c2VyNSA/CgpJdCdzIHVuY2xlYXIgd2hhdCB0aGUgZXhjZXB0 aW9ucyBhcmUgc3VwcG9zZWQgdG8gYmUsIGJ1dCB5b3UgY291bGQKcHJvYmFibHkgZmluZCBhIHNo b3J0IGZldyBEaXJlY3RvcnlNYXRjaGVzIChQQ1JFIGluc3RlYWQgb2Ygc2hlbGwKZ2xvYikgdGhh dCBjYXB0dXJlIHdoYXQgeW91IHdhbnQuCgotLSAKRXJpYyBDb3ZlbmVyCmNvdmVuZXJAZ21haWwu Y29tCg== From jflynn@example.net Mon Nov 03 03:05:17 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 23307 invoked from network); 3 Nov 2008 03:05:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 03:05:17 -0000 Received: (qmail 201 invoked by uid 500); 3 Nov 2008 03:05:12 -0000 Delivered-To: jflynn@example.net Received: (qmail 184 invoked by uid 500); 3 Nov 2008 03:05:12 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 173 invoked by uid 99); 3 Nov 2008 03:05:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 19:05:12 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mailout2.pacific.net.au) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 03:03:54 +0000 Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [83.161.120.155]) by mailout2.pacific.net.au (Postfix) with ESMTP id AB654FB83C for <jflynn@example.net>; Mon, 3 Nov 2008 14:04:33 +1100 (EST) Received: from deepthought.Elpro.local (ppp2609.dsl.pacific.net.au [83.161.120.155]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 812E38C2A for <jflynn@example.net>; Mon, 3 Nov 2008 14:04:33 +1100 (EST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 3 Nov 2008 13:04:32 +1000 Message-ID: <jflynn@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache - URL based environment variables thread-index: Ack9YOTjpT2bZKVPS+CVnkTM7aJalw== From: "Stephen Brennan" <jflynn@example.net> To: <jflynn@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Apache - URL based environment variables Hi all, I am trying to figure out how to configure appache webserver to set different UNIX environment variables depending on the url text entered. eg. =20 <base url>/A would be required to set an enviroment variable Config=3DA and <base url>/B would be required to set an environment variable Config=3DB These two urls will share a common system directory and therefore a common <Directory> directive. The CGI scripts in that directory use the environment variable to determine what database to use etc. =20 I have tried with a combination of one <Directory> directive and two <Location> directives, but the location directives are having no affect. eg. Alias <base url>/A <system dir> Alias <base url>/B <system dir>=20 <Directory <system dir>> ...=20 </Directory> <Location <base url>/A> SetEnv Config A ... </Location> <Location <base url>/B> SetEnv Config B =20 ... </Location> I am quite sure that this used to work in versions of apache before 2.2. Any practical sugestions would be appreciated. Cheers Stephen Brennan=20 PS: previous posting was sent without a subject line. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Mon Nov 03 06:11:38 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 90752 invoked from network); 3 Nov 2008 06:11:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 06:11:38 -0000 Received: (qmail 11512 invoked by uid 500); 3 Nov 2008 06:11:34 -0000 Delivered-To: jflynn@example.net Received: (qmail 11493 invoked by uid 500); 3 Nov 2008 06:11:34 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 11482 invoked by uid 99); 3 Nov 2008 06:11:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 22:11:34 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mblast02.rtp.epa.gov) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 06:10:18 +0000 Received: from mblast02.rtp.epa.gov (localhost.localdomain [83.161.120.155]) by localhost (Postfix) with SMTP id 77AA4444EA for <jflynn@example.net>; Mon, 3 Nov 2008 01:10:59 -0500 (EST) Received: from mintra01.rtp.epa.gov (mintra01.rtp.epa.gov [83.161.120.155]) by mblast02.rtp.epa.gov (Postfix) with ESMTP id 5F5D3444AA for <jflynn@example.net>; Mon, 3 Nov 2008 01:10:59 -0500 (EST) Received: from mintra01.rtp.epa.gov (localhost.localdomain [83.161.120.155]) by localhost (Postfix) with SMTP id 5380044685 for <jflynn@example.net>; Mon, 3 Nov 2008 01:10:59 -0500 (EST) Received: from epahub11.rtp.epa.gov (v18h1drtgu011.aa.ad.epa.gov [83.161.120.155]) by mintra01.rtp.epa.gov (Postfix) with ESMTP id 3E7C844652 for <jflynn@example.net>; Mon, 3 Nov 2008 01:10:59 -0500 (EST) To: jflynn@example.net X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 Message-ID: <jflynn@example.net> From: jflynn@example.net Date: Mon, 3 Nov 2008 01:10:42 -0500 X-MIMETrack: Serialize by Router on EPAHUB11/USEPA/US(Release 8.0.1|February 07, 2008) at 11/03/2008 01:11:09 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] 2.2.10 Make fails on Solaris - undefined symbols in ab.o? I'm trying to make httpd 2.2.10 on Solaris 10 (SunOS ######### 5.10 Generic_137111-06 ) . I've set LDFLAGS and my PATH includes /usr/local/bin, /usr/ccs/bin and /usr/sfw/bin ( gcc is in /usr/sfw/bin ). -- Installed openssl version: OpenSSL 0.9.8e 23 Feb 2007 -- gcc shows the following build information: $ ./gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) The make has failed each time with this set of errors: /maint/downloads/httpd-2.2.10/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/usr/sfw/lib -R/usr/local/ssl/lib -L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib -o ab ab.lo -lm /maint/downloads/httpd-2.2.10/srclib/pcre/libpcre.la /maint/downloads/httpd-2.2.10/srclib/apr-util/libaprutil-1.la -lexpat /maint/downloads/httpd-2.2.10/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread -lssl -lcrypto -lsocket -lnsl -ldl Undefined first referenced symbol in file BIO_set_callback .libs/ab.o BIO_set_callback_arg .libs/ab.o BIO_get_callback_arg .libs/ab.o SSL_CTX_set_info_callback .libs/ab.o ld: fatal: Symbol referencing errors. No output written to .libs/ab collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `ab' Current working directory /maint/downloads/httpd-2.2.10/support *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \. list=' '; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'htpasswd htdigest rotatelogs logresolve ab checkgid htdbm htcacheclean httxt2dbm'; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' Current working directory /maint/downloads/httpd-2.2.10/support *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \. list=' srclib os server modules support'; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \; fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'httpd shared-build '; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' There are errors in the config log, but they look like the output of the expected tests, and not "real" errors. The config.log for the previously-installed 2.2.8 build looks nearly identical, yet somehow it appears to have made and installed OK ( I did not build that one, so I'm not sure of what was done). The only libtools on the box are in the Apache httpd build directories ( the previous one and the 2.2.10 one). ld is in several places on the box, but the one in /usr/ccs/bin would be the first to be found given my PATH, which corresponds to the build settings for gcc as per above. My limited powers of Google-fu have turned up a few similar issues, but nothing matching exactly; the most similar set of errors was for a build on Mac OS, which I wasn't sure how to, uh, "translate" to Solaris. I'm feeling pretty clueless at this point, plus my Solaris knowledge is not that deep, so any and all suggestions are appreciated. Thanks all. P --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Mon Nov 03 10:06:29 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 89120 invoked from network); 3 Nov 2008 10:06:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 10:06:29 -0000 Received: (qmail 57937 invoked by uid 500); 3 Nov 2008 10:06:24 -0000 Delivered-To: jflynn@example.net Received: (qmail 57918 invoked by uid 500); 3 Nov 2008 10:06:24 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 57907 invoked by uid 99); 3 Nov 2008 10:06:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 02:06:24 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO grimnir.webthing.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 10:05:08 +0000 Received: from grimnir (localhost [83.161.120.155]) by grimnir.webthing.com (Postfix) with ESMTP id A50A82135 for <jflynn@example.net>; Mon, 3 Nov 2008 10:05:16 +0000 (GMT) Date: Mon, 3 Nov 2008 10:05:14 +0000 From: Nick Kew <jflynn@example.net> To: jflynn@example.net Message-ID: <20081103100514.02222a31@grimnir> In-Reply-To: <jflynn@example.net> References: <jflynn@example.net> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] 2.2.10 Make fails on Solaris - undefined symbols in ab.o? On Mon, 3 Nov 2008 01:10:42 -0500 jflynn@example.net wrote: > /maint/downloads/httpd-2.2.10/srclib/apr/libtool --silent --mode=link > gcc -g -O2 -L/usr/sfw/lib -R/usr/local/ssl/lib > -L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib -o ab ab.lo > -lm /maint/downloads/httpd-2.2.10/srclib/pcre/libpcre.la /maint/downloads/httpd-2.2.10/srclib/apr-util/libaprutil-1.la > -lexpat /maint/downloads/httpd-2.2.10/srclib/apr/libapr-1.la -luuid > -lsendfile -lrt -lsocket -lnsl -lpthread -lssl -lcrypto -lsocket -lnsl > -ldl > Undefined first referenced > symbol in file > BIO_set_callback .libs/ab.o > BIO_set_callback_arg .libs/ab.o > BIO_get_callback_arg .libs/ab.o > SSL_CTX_set_info_callback .libs/ab.o Those are SSL library symbols. I note you have -L/usr/local/lib and *in particular* -L/usr/local/ssl/lib in your library path. What have you got installed there? Could it be you're trying to link an SSL library version that doesn't match up with the headers you compiled against? -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Mon Nov 03 10:25:20 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 97782 invoked from network); 3 Nov 2008 10:25:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 10:25:20 -0000 Received: (qmail 73075 invoked by uid 500); 3 Nov 2008 10:25:17 -0000 Delivered-To: jflynn@example.net Received: (qmail 73058 invoked by uid 500); 3 Nov 2008 10:25:17 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 73047 invoked by uid 99); 3 Nov 2008 10:25:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 02:25:17 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO grimnir.webthing.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 10:23:59 +0000 Received: from grimnir (localhost [83.161.120.155]) by grimnir.webthing.com (Postfix) with ESMTP id A1DF72135 for <jflynn@example.net>; Mon, 3 Nov 2008 10:24:39 +0000 (GMT) Date: Mon, 3 Nov 2008 10:24:37 +0000 From: Nick Kew <jflynn@example.net> To: jflynn@example.net Message-ID: <20081103102437.5e962248@grimnir> In-Reply-To: <jflynn@example.net> References: <jflynn@example.net> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache - URL based environment variables On Mon, 3 Nov 2008 13:04:32 +1000 "Stephen Brennan" <jflynn@example.net> wrote: > Hi all, > > I am trying to figure out how to configure appache webserver to set > different UNIX environment variables depending on the url text > entered. RewriteRule. Capture the path component you want, and use it with the E flag and the - target. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Mon Nov 03 12:20:02 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 30728 invoked from network); 3 Nov 2008 12:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 12:20:02 -0000 Received: (qmail 82045 invoked by uid 500); 3 Nov 2008 12:19:57 -0000 Delivered-To: jflynn@example.net Received: (qmail 82018 invoked by uid 500); 3 Nov 2008 12:19:57 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 82007 invoked by uid 99); 3 Nov 2008 12:19:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 04:19:57 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO yw-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 12:18:42 +0000 Received: by yw-out-1718.google.com with SMTP id 6so967903ywa.84 for <jflynn@example.net>; Mon, 03 Nov 2008 04:19:11 -0800 (PST) Received: by 83.161.120.155 with SMTP id u11mr4038ank.88.1225714751626; Mon, 03 Nov 2008 04:19:11 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 3 Nov 2008 04:19:11 -0800 (PST) Message-ID: <jflynn@example.net> Date: Mon, 3 Nov 2008 12:19:11 +0000 From: "Andrew Dixon" <jflynn@example.net> To: jflynn@example.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79016_7511059.1225714751634" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_cache and mod_mem_cache ------=_Part_79016_7511059.1225714751634 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I have enabled mod_cache and I'm using mem caching (mod_mem_cache) as my caching type, but how can I check if it is actually doing anything. Is there anyway to see what is in the cache, being served from the cache, what the cache hit rate is, etc...??? Thanks Kind regards, Andrew. ------=_Part_79016_7511059.1225714751634 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All,<br><br>I have enabled mod_cache and I&#39;m using mem caching (mod_mem_cache) as my caching type, but how can I check if it is actually doing anything. Is there anyway to see what is in the cache, being served from the cache, what the cache hit rate is, etc...???<br><br>Thanks<br><br>Kind regards,<br><br>Andrew.<br> ------=_Part_79016_7511059.1225714751634-- From jflynn@example.net Mon Nov 03 13:10:04 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 44627 invoked from network); 3 Nov 2008 13:10:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 13:10:04 -0000 Received: (qmail 29264 invoked by uid 500); 3 Nov 2008 13:09:52 -0000 Delivered-To: jflynn@example.net Received: (qmail 29248 invoked by uid 500); 3 Nov 2008 13:09:52 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 29225 invoked by uid 99); 3 Nov 2008 13:09:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 05:09:52 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 13:08:35 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <jflynn@example.net>) id 1KwzBD-0002F0-MT for jflynn@example.net; Mon, 03 Nov 2008 05:09:15 -0800 Message-ID: <jflynn@example.net> Date: Mon, 3 Nov 2008 05:09:15 -0800 (PST) From: JimRaynor <jflynn@example.net> To: jflynn@example.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jflynn@example.net X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_rewrite behaving differently on different apache servers. What to do? As part of SEO optimization, I use this code in my .htaccess file : RewriteEngine On RewriteRule ^some/(.*)/(.*).html$ some.php?&reqa=$1&reqb=$2 This code should rewrite this link: some/valuea/valueb.html into this: some.php?&reqa=valuea&reqb=valueb I tried this on several apache servers. On some it works perfectly. On some it doesn't jflynn@example.net. And on some it rewrites first part of the link, but not query string (part after ? ) . How to configure Apache for this to work? Should I change something in Apache config file? Is there another piece of code that does the same thing, but more consistently? Thanks for reading this -- View this message in context: http://www.nabble.com/mod_rewrite-behaving-differently-on-different-apache-servers.-What-to-do--tp20302459p20302459.html Sent from the Apache HTTP Server - Users mailing list jflynn@example.net. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: jflynn@example.net " from the digest: jflynn@example.net For additional commands, e-mail: jflynn@example.net From jflynn@example.net Mon Nov 03 19:18:07 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 97463 invoked from network); 3 Nov 2008 19:18:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 19:18:07 -0000 Received: (qmail 46092 invoked by uid 500); 3 Nov 2008 19:18:04 -0000 Delivered-To: jflynn@example.net Received: (qmail 45720 invoked by uid 500); 3 Nov 2008 19:18:03 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 45709 invoked by uid 99); 3 Nov 2008 19:18:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 11:18:03 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web53912.mail.re2.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Nov 2008 19:16:46 +0000 Received: (qmail 54593 invoked by uid 60001); 3 Nov 2008 19:17:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=mKx0jzXYeOPaKqEMNz0Wlt1mtvvZIJST2aN44I/aIHlk9OCbbBQ+g4vRSAVItqet31hPeTcaFUx0HwtMSN/+ZNx5UBYwh23q/wEFyFfmCWJy46EIunLfgImC/HY4z643NfLWh+wzF+TA2cYDnsOK4SGZ3W5fI2iW2s3yPij+yaY=; X-YMail-OSG: SU4Qv40VM1muHfEGRPXth2WEv4KdGWWN4NcVYpZMWlAQ0B4GXmZVRcWYtPoSIPfkDldLhVNpQNZckWpVmeGeY35jn6aa0ahLgS6BImIgWLCsy9KU7BG_sEUlmqf61h4AXRtMuBAh76g.kNRB7SOSyKFG_43UPY2.b8iSnNs- Received: from [83.161.120.155] by web53912.mail.re2.yahoo.com via HTTP; Mon, 03 Nov 2008 11:17:26 PST X-Mailer: YahooMailWebService/83.161.120.155 Date: Mon, 3 Nov 2008 11:17:26 -0800 (PST) From: xhu1 <jflynn@example.net> Reply-To: jflynn@example.net To: jflynn@example.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1629922720-1225739846=:54072" Message-ID: <jflynn@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Apache verison for Windows vista --0-1629922720-1225739846=:54072 Content-Type: text/plain; charset=us-ascii Hi, which version is Vista compatible? Thanks --0-1629922720-1225739846=:54072 Content-Type: text/html; charset=us-ascii <table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, which version is Vista compatible? Thanks</td></tr></table><br> --0-1629922720-1225739846=:54072-- From jflynn@example.net Mon Nov 03 19:33:02 2008 Return-Path: <jflynn@example.net> Delivered-To: jflynn@example.net Received: (qmail 2186 invoked from network); 3 Nov 2008 19:33:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2008 19:33:02 -0000 Received: (qmail 70329 invoked by uid 500); 3 Nov 2008 19:32:53 -0000 Delivered-To: jflynn@example.net Received: (qmail 70312 invoked by uid 500); 3 Nov 2008 19:32:53 -0000 Mailing-List: contact jflynn@example.net; run by ezmlm Precedence: bulk Reply-To: jflynn@example.net list-help: <mailto:jflynn@example.net> list-unsubscribe: <mailto:jflynn@example.net> List-Post: <mailto:jflynn@example.net> List-Id: <users.httpd.apache.org> Delivered-To: mailing list jflynn@example.net Received: (qmail 70298 invoked by uid 99); 3 Nov 2008 19:32:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 11:32:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jflynn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ey-out-1920.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 19:31:37 +0000 Received: by ey-out-1920.google.com with SMTP id 4so891041eyg.48 for <jflynn@example.net>; Mon, 03
{'source': 'Apache Software Foundation Public Mail Archives'}