Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-09 Thread Igor Cicimov
Actually I would even change the name of the variable HTTPS because it clashes with the HTTPS apache one. SetEnvIf Request_Protocol ^HTTPS.* IS_HTTPS if you want to use this variable later. But basically don't you get the same logic still, I mean you are setting the variable but still by checking

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-09 Thread Igor Cicimov
http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html#setenvif Request_Protocol - the name and version of the protocol with which the request was made (*e.g.*, "HTTP/0.9", "HTTP/1.1", *etc.*) so I would try SetEnvIf Request_Protocol ^HTTPS.* HTTPS Cheers, Igor On Fri, Dec 10, 2010 at 11:31

[us...@httpd] SetEnv HTTPS on... not working.

2010-12-09 Thread Mxrgus Pxrt
Hello! I have SSL offloader sending HTTPS header to backend server. In backend server I have: SetEnvIf HTTPS "(..*)" HTTPS=$1 RewriteCond %{HTTPS} !=on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}?%{HTTPS} [L,R=301] And it causes infinite redirect loop (to https://server/url/?off),

[us...@httpd] Module specific logging not working

2010-12-09 Thread Dustin Chesterman
Hello all -   I am having trouble getting logging to work for some modules, specifically mod_rewrite and mod_jk.  Here is a portion of my httpd.conf.  I get mod_jk logging for the startup process in my mod_jk.log but not the request level logging.  But the forwarding is working.  The rewrite.log ha

Re: [us...@httpd] Some VirtualHosts extremely slow, others very fast

2010-12-09 Thread Igor Galić
- "Craig A. James" wrote: > I have found the trigger for my horrible performance problem, but it > is surprising. > > Apache gets slow when there are too many "Allow from" directives, in > this case, about 105 "Allow from" specs that are a mix of single IP > addresses, partial IP address an

Re: [us...@httpd] Noobie Htaccess/ SSL authentication

2010-12-09 Thread Igor Galić
- "Anthony Kowalick" wrote: > Igor, > > Thanks for the response. > > My only issue with your response is that specifying the exact folder > name > /secure isnt an option. Here's why > > We allow users to create any directory name they want with the > understanding > that if they name the

Re: [us...@httpd] Some VirtualHosts extremely slow, others very fast

2010-12-09 Thread Craig A. James
I have found the trigger for my horrible performance problem, but it is surprising. Apache gets slow when there are too many "Allow from" directives, in this case, about 105 "Allow from" specs that are a mix of single IP addresses, partial IP address and netmasks: 11.12.13.14 21.22. 21.1

Re: [us...@httpd] Noobie Htaccess/ SSL authentication

2010-12-09 Thread Anthony Kowalick
Igor, Thanks for the response. My only issue with your response is that specifying the exact folder name /secure isnt an option. Here's why We allow users to create any directory name they want with the understanding that if they name the folder ending with "login-only" that it will be a protect

Re: [us...@httpd] Noobie Htaccess/ SSL authentication

2010-12-09 Thread Igor Galić
- "Anthony Kowalick" wrote: > Excuse me for my ignorance on Apache up front and sorry if this email > is duplicated > > Here Is my situation (hopefully Im explaining it correctly). > > We have an apache 2 server, using AuthLDAP for htaccess user/pass. Lets hear what #httpd Channel bot

Re: [us...@httpd] Some VirtualHosts extremely slow, others very fast

2010-12-09 Thread Craig A. James
On 12/8/10 10:15 PM, Igor Cicimov wrote: Check the dns resolution for the xyz host. There is no problem with DNS. All of the subdomains use the wildcard *.ourdomain.com, which resolves to both www and xzy. The problem isn't with DNS. Each TCP/IP conversation starts instantly. But with xyz

[us...@httpd] Noobie Htaccess/ SSL authentication

2010-12-09 Thread Anthony Kowalick
Excuse me for my ignorance on Apache up front and sorry if this email is duplicated Here Is my situation (hopefully Im explaining it correctly). We have an apache 2 server, using AuthLDAP for htaccess user/pass. I am trying to set it up so that if a user goes to a page which requires authent

Re: [us...@httpd] question about an error in the error log

2010-12-09 Thread Rainer Jung
On 08.12.2010 23:23, Nathan Belk wrote: I am seeing this error come up every once in a while in a log I am reviewing. I have tried to find its meaning on google and find lots of way you can try fixing it but not what it means. This is the error: [error] mod_jk child init 1 -2 At this point, I d