RE: [EMAIL PROTECTED] unknown in .htaccess files

2007-05-31 Thread Boyle Owen
> -Original Message- > From: morgan gangwere [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 31, 2007 10:30 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] unknown in .htaccess files > > ... > > well, thanks for pointing that out (im suprised at the face that it > didnt

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Josh Trutwin
On Thu, 31 May 2007 13:20:03 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > Yes, but I was thinking of having your script just output the > /custom/404.php directly. Hoping this is my last question - I have the following .htaccess file: RewriteEngine On # Rewrite Map for Page Rewrites Rewri

Re: [EMAIL PROTECTED] Random SSL Problems

2007-05-31 Thread Graeme Fowler
On Thu, 2007-05-31 at 09:59 -0400, John Nichel wrote: > The install is configured and compiled from source on a RHEL4 box: > > Apache 1.3.37 > mod_ssl 2.8.28 > OpenSSL 0.9.8e Try making sure that you have the redoubtable BrowserMatch lines for MSIE: BrowserMatch "MSIE 4\.0" nokeepalive downgrad

Re: [EMAIL PROTECTED] unknown in .htaccess files

2007-05-31 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boyle Owen wrote: >> -Original Message- >> From: morgan gangwere [mailto:[EMAIL PROTECTED] >> Sent: Thursday, May 31, 2007 12:29 AM >> To: users@httpd.apache.org >> Subject: [EMAIL PROTECTED] unknown in .htaccess files >> > @all > > im settin

Re: [EMAIL PROTECTED] WAMP stack

2007-05-31 Thread Sander Temme
Nat, On May 31, 2007, at 11:34 AM, Nat Colley wrote: That should really do the trick. However, you mentioned before that your client arrives at the wrong virtual host, so we'll need to find out what exactly happens and why. # Use name-based virtual hosting. # NameVirtualHost *:80 #Virtua

Re: [EMAIL PROTECTED] Mod_proxy problem in 2.2.4

2007-05-31 Thread Joshua Slive
On 5/31/07, Pavel Mateja <[EMAIL PROTECTED]> wrote: > But the disk cache often has better performance than the memory cache > even on a normal disk. There are two reasons for this: > > 1. The disk cache is shared between all processes, while the mem cache > must keep copies of each object for eac

Re: [EMAIL PROTECTED] How to store loginformation in user specified directory?

2007-05-31 Thread Joshua Slive
On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am sorry to mention my original problem.Our client wants to read logfile path from his custom .conf file which is also placed under conf/ directory.So our problem boils down to this.How to read logfile path from another .conf file

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Josh Trutwin
On Thu, 31 May 2007 13:20:03 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > Yes, but I was thinking of having your script just output the > /custom/404.php directly. A step ahead of you, have it not check for /custom/404.php otherwise it just goes to /. Thanks for your help, I think this is w

Re: [EMAIL PROTECTED] WAMP stack

2007-05-31 Thread Nat Colley
# Use name-based virtual hosting. # NameVirtualHost *:80 #VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any block. ServerAdmin [EMAIL PROTE

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Joshua Slive
On 5/31/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: On Thu, 31 May 2007 11:02:54 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > On 5/31/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: > > > One last problem I seem to be having is how the program returns > > NULL > > - I have this when the program

Re: [EMAIL PROTECTED] Mod_proxy problem in 2.2.4

2007-05-31 Thread Pavel Mateja
> But the disk cache often has better performance than the memory cache > even on a normal disk. There are two reasons for this: > > 1. The disk cache is shared between all processes, while the mem cache > must keep copies of each object for each processes. > > 2. The disk cache takes full advantag

RE: [EMAIL PROTECTED] How to store loginformation in user specified directory?

2007-05-31 Thread ramakrishnaprasad.annasamudram
Hi, I am sorry to mention my original problem.Our client wants to read logfile path from his custom .conf file which is also placed under conf/ directory.So our problem boils down to this.How to read logfile path from another .conf file not from httpd.conf file? Thanks & regards, Ramakrishn

[EMAIL PROTECTED] trouble with ssl on windows server 2003

2007-05-31 Thread Eben
My server currently hosts about 50 sites using name based vhosts. I enabled one site on the box to use SSL via port 443. When I enable the SSLEngine directive for the one site, Apache won't restart. Here are the specs: win server 2003 standard ed. apache 2.0.59 php 4.4.7 openssl 0.9.8d Here

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Josh Trutwin
On Thu, 31 May 2007 11:02:54 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > On 5/31/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: > > > One last problem I seem to be having is how the program returns > > NULL > > - I have this when the program finds a match in the map file: > > > > fputs(STDOUT,

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Joshua Slive
On 5/31/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: One last problem I seem to be having is how the program returns NULL - I have this when the program finds a match in the map file: fputs(STDOUT, $map[$uri] . "\n"); When it doesn't find a match though I have it doing this: fputs(STDOUT, "NUL

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Josh Trutwin
On Thu, 31 May 2007 10:06:10 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > If you can get that to work under load, that's great. But I'd worry > about that program becoming a choke point. Only one request at a > time can be processed through the program. (Make sure you are using > RewriteLock

Re: [EMAIL PROTECTED] Mod_proxy problem in 2.2.4

2007-05-31 Thread Joshua Slive
On 5/31/07, Pavel Mateja <[EMAIL PROTECTED]> wrote: On Thursday 31 of May 2007 15:32:43 Joshua Slive wrote: > Yes, it is likely a mod_mem_cache problem. Try using the disk cache > instead. It is better tested, and likely just as performant as the mem > cache in most circumstances. Unfortunatelly

Re: [EMAIL PROTECTED] Mod_proxy problem in 2.2.4

2007-05-31 Thread Pavel Mateja
On Thursday 31 of May 2007 15:32:43 Joshua Slive wrote: > Yes, it is likely a mod_mem_cache problem. Try using the disk cache > instead. It is better tested, and likely just as performant as the mem > cache in most circumstances. Unfortunatelly it's not an option for us. We have to use some sort o

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Joshua Slive
On 5/31/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: Here's what I'm currently doing: In httpd.conf: RewriteMap rewriter prg:/usr/local/bin/rewriter.php In vhosts .htaccess file: RewriteEngine On RewriteRule .* ${rewriter:%{REQUEST_FILENAME}^%{REQUEST_URI}} [L,QSA] I have to "pass" in the b

[EMAIL PROTECTED] Random SSL Problems

2007-05-31 Thread John Nichel
Hi List, I having an issue here on a newly setup webserver that I'm hoping you can help me with. For some reason, when some of our customers click to go into the secure area of our site, they're getting the Plain Jane IE error page of "Page cannot be displayed". When this happens, I get an

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-31 Thread Josh Trutwin
On Wed, 30 May 2007 22:29:53 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > > Out of curiosity - how would you use the hostname in the lookup > > key? > > Adjust your db file to use host/path instead of just path as the > key, and then: > > RewriteCond ${existing:%{HTTP_HOST}$1|NOT-FOUND} =NO

Re: [EMAIL PROTECTED] Mod_proxy problem in 2.2.4

2007-05-31 Thread Joshua Slive
On 5/31/07, Pavel Mateja <[EMAIL PROTECTED]> wrote: Had anybody seen such problem? It's related with mod_cache_mem because I was uable to replicate it without mod_cache_mem compiled in. Yes, it is likely a mod_mem_cache problem. Try using the disk cache instead. It is better tested, and likely

[EMAIL PROTECTED] mod_ssl and client cert

2007-05-31 Thread Manuela . Vorazzo
Hello everyone. I've an apache 2.2.4 up and running! I've this configuration in my ssl.conf file: Listen xxx.xxx.xxx.xxx:443 ServerName xxx.xxx.xxx.xxx:443 ErrorLog /opt/CHROOT/HTTPD-2.2.4/logs/error_log TransferLog /opt/CHROOT/HTTPD-2.2.4/logs/access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EX

RE: [EMAIL PROTECTED] Undefined symbol ap_run_http_method

2007-05-31 Thread Malladi, Sasikanth
Hi Sander, thank you for your help. That's what I thought as well. I'll downgrade to 2.0. Regards, Sashi -Original Message- From: Sander Temme [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 7:26 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Undefined symbol ap_ru

[EMAIL PROTECTED] Mod_proxy problem in 2.2.4

2007-05-31 Thread Pavel Mateja
Hey! I have problem with mod_proxy in apache 2.2.4. I got wrong data In cca 1 request of 1000 via my proxy apache. There is end of another page requested by someone else at begin of page requested by me. It's like HTTP/1.0 200 OK ..generated HTTP header - we are using UTF-8 almost everywhere.. Co

Re: [EMAIL PROTECTED] http start up issue

2007-05-31 Thread Vincent Bray
On 31/05/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Starting httpd: httpd: bad group name apache. but in my /etc/passwd there is user apache and also there is a group apache Is the apache user in the apache group? Are you able to 'su - apache' from the shell? -- noodl --

Re: [EMAIL PROTECTED] How to read environmental variables from httpd.conf files

2007-05-31 Thread Nick Kew
On Thu, 31 May 2007 15:13:44 +0530 <[EMAIL PROTECTED]> wrote: > I want to read this variable in a program.I > understoo that we cannot read using request_rec structure. Yes you can. It's in r->subprocess_env. -- Nick Kew Application Development with Apache - the Apache Modules Book http://ww

[EMAIL PROTECTED] http start up issue

2007-05-31 Thread simon
Dear All i have a redhad linux server 9 running apache httpd-2.0.40-8 and has been workin fine for long time. recently i found that after a restart httpd was not running and when i try to restart it it said Starting httpd: httpd: bad group name apache. but in my /etc/passwd there is user apache

Re: [EMAIL PROTECTED] How to read environmental variables from httpd.conf files

2007-05-31 Thread Vincent Bray
On 31/05/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Pardon me if this is a silly question.But i have started using apache just now.I have set an environmental variable in httpd.conf in httpd.conf using SetEnv. I want to read this variable in a program.I understoo that we cannot read using r

[EMAIL PROTECTED] How to read environmental variables from httpd.conf files

2007-05-31 Thread ramakrishnaprasad.annasamudram
Hi All, Pardon me if this is a silly question.But i have started using apache just now.I have set an environmental variable in httpd.conf in httpd.conf using SetEnv. I want to read this variable in a program.I understoo that we cannot read using request_rec structure.Is there any apache api t