Re: [us...@httpd] setenvif and mod_authnz_ldap

2010-07-01 Thread Christian Unger
On 01.07.2010, at 16:12, Eric Covener wrote: > On Thu, Jul 1, 2010 at 9:56 AM, Christian Unger > wrote: >> >> Hi there, >> >> I'd like to know whether it is possible to check a request for a string via >> regex, store this into an envvar and match an ldap attribute against this >> variable?

[us...@httpd] mod_rewrite - Error when trying to rewrite one cgi script to another

2010-07-01 Thread S. Saberi
Hi all, I am getting a 404 error when trying to rewrite one cgi script to another one such as: Options FollowSymLinks RewriteEngine on RewriteRule ^from.cgi to.cgi With this rule above my expectaion is that the following url: mydomain/cgi-bin/from.cgi will be rewritten to mydomain/cgi-bin/to

Re: [us...@httpd] Win32 Apache HTTP performance/reliability problem

2010-07-01 Thread William A. Rowe Jr.
>> n Thu, Jul 1, 2010 at 7:35 PM, Joe Novak wrote: >> >> ThreadLimit 3600 >> ThreadsPerChild 3200 At these values, you are hitting the boundries of how many stacks are possible on win32 (by default). Adding workers isn't usually the solution, you are increasing the overall content

Re: [us...@httpd] Win32 Apache HTTP performance/reliability problem

2010-07-01 Thread Eric Covener
> n Thu, Jul 1, 2010 at 7:35 PM, Joe Novak wrote: > I set up a jmeter test to open a socket to Apache HTTP, request a very > small file, and close the socket.  Jmeter is running on the same box as > the Apache HTTP service.  At 2 sockets/second, there is a 3% error rate. > At 5 sockets/second, the

Re: [us...@httpd] (104)Connection reset by peer: SSL input filter read failed.

2010-07-01 Thread Igor Cicimov
Hi, Using "ProxyRequests off" means the apache is going to be a reverse proxy but I can't see your ProxyPassreverse statement. Also the order of the proxy commands is little bit weird. I wold do it in this way: ProxyRequests off ProxyHTMLLogVerbose On ProxyPreserveHost On ProxyPass / https://10.1

Re: [us...@httpd] Warning worker http://192.168.1.5/ already used by another worker

2010-07-01 Thread Igor Cicimov
Yes you did have. The statements doesn't need to be literally identical to be duplicate, it's enough if they have the same effect. The first proxy statement: ProxyPass / http://192.168.1.5/ ProxyPassReverse / http://192.168.1.5/ means proxy the root AND everything below the root which incl

[us...@httpd] Win32 Apache HTTP performance/reliability problem

2010-07-01 Thread Joe Novak
I set up a jmeter test to open a socket to Apache HTTP, request a very small file, and close the socket. Jmeter is running on the same box as the Apache HTTP service. At 2 sockets/second, there is a 3% error rate. At 5 sockets/second, the error rate increases to 8%. Failures occur at regular int

Re: [us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread alin vasile
thanks. I completely forgot about the greedy matching. now my qustion looks silly :) From: Eric Covener To: users@httpd.apache.org Sent: Thu, July 1, 2010 10:53:56 PM Subject: Re: [us...@httpd] RewriteRule for requests without additional slashes >    Does any

Re: [us...@httpd] Name-based virtual hosting SSL (seems to work)

2010-07-01 Thread Scott Whitney
Thanks, Eric. I'm a little confused. I _think_ you're saying that the vhost-scope configuration _for the SSL Certificate stuff only_ will be served up to all, but the remaining directives (Directory, FastCGI stuff, etc) will be on a per NVH basis? At least those are the results that I'm seeing

Re: [us...@httpd] Name-based virtual hosting SSL (seems to work)

2010-07-01 Thread Eric Covener
On Thu, Jul 1, 2010 at 3:51 PM, Eric Covener wrote: >> >> Am I missing something? I'm using the same certificate for all sites. The >> statement is very clear that this cannot and will not work, but it seems to >> be working for me. >> >> Can someone elucidate? > > The FAQ for that release should

Re: [us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread Eric Covener
>    Does anyone know how can a RewriteRule must be written to match only > requests urls that have no slashes except the initial one? For example to > match /index.html, /login.do but not /path/login.jsp or > /home/reports/daily.pdf. IOW "completely non-slash characters between the first slash an

Re: [us...@httpd] Name-based virtual hosting SSL (seems to work)

2010-07-01 Thread Eric Covener
> > Am I missing something? I'm using the same certificate for all sites. The > statement is very clear that this cannot and will not work, but it seems to > be working for me. > > Can someone elucidate? The FAQ for that release should say that the vhost-scope SSL configuration of the first-listed

Re: [us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread alin vasile
sorry, I meant RewriteCond and not RewriteRule. From: alin vasile To: users@httpd.apache.org Sent: Thu, July 1, 2010 10:07:59 PM Subject: [us...@httpd] RewriteRule for requests without additional slashes Hi,      Does anyone know how can a RewriteRule must b

[us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread alin vasile
Hi,      Does anyone know how can a RewriteRule must be written to match only requests urls that have no slashes except the initial one? For example to match /index.html, /login.do but not /path/login.jsp or /home/reports/daily.pdf. Thanks, Alin

[us...@httpd] Name-based virtual hosting SSL (seems to work)

2010-07-01 Thread Scott Whitney
I've read this: http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts and it seems to state that this: AddHandler fastcgi-script .fcgi .fcg .fpl .py .pyc DocumentRoot /home/eggs/jt/pi/www/htdocs ServerName eggs.test.mycompany.com FastCgiExternalServer /home/eggs/jt/pi/pylib -host 127.0

[us...@httpd] (104)Connection reset by peer: SSL input filter read failed.

2010-07-01 Thread Mauri
Hi expert, my application crashes (BMC Remedy) in the same point. This is my enviroment: Client --> SSL to Apache Prox --> Tomcat on 8996. In the apache log i'm reading this error: [Thu Jul 01 16:37:25 2010] [debug] ssl_engine_io.c(1821): OpenSSL: I/O error, 3237 bytes expected to read on BIO#8a

Re: [us...@httpd] setenvif and mod_authnz_ldap

2010-07-01 Thread Eric Covener
On Thu, Jul 1, 2010 at 9:56 AM, Christian Unger wrote: > > Hi there, > > I'd like to know whether it is possible to check a request for a string via > regex, store this into an envvar and match an ldap attribute against this > variable? nope > > below is my directory block. from the logs I can

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tom Evans
Look at your configuration again. First, ProxyPass ProxyPass /olat http://192.168.1.5:8080/olat ProxyPassReverse /olat http://192.168.1.5:8080/olat This says, when someone requests a URL starting with '/olat', proxy to 'http://192.168.1.5:8080/olat' It also says to rewrite some header

[us...@httpd] setenvif and mod_authnz_ldap

2010-07-01 Thread Christian Unger
Hi there, I'd like to know whether it is possible to check a request for a string via regex, store this into an envvar and match an ldap attribute against this variable? below is my directory block. from the logs I can tell that the match in the require ldap-attribute shows that the variable

Re: [us...@httpd] Warning worker http://192.168.1.5/ already used by another worker

2010-07-01 Thread Tapas Mishra
I did not had that thing twice for which I reported the problem. On Thu, Jul 1, 2010 at 4:36 AM, Igor Cicimov wrote: > That error means you have same statement twice in the config. > > Sent from my phone > > On Jun 30, 2010 9:31 PM, "Tapas Mishra" wrote: > > It did worked man great awesome thank

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tapas Mishra
> Really? You can't see what's wrong there? Yes I am not clear with ReWriteRule. > Your rewrite rule says to look for the URLs beginning with '/olat/' > and you went to '/olat'. That is how olat works when some one types in browser http://mydomain.com/olat then they get a page http://mydomain.com

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tom Evans
On Thu, Jul 1, 2010 at 7:32 AM, Tapas Mishra wrote: > I have an application which is accessible on LAN as > http://192.168.1.5:8080/olat/ > > it is a java application > my proxy pass rule work correctly for this as follows > > >        ProxyPass /olat http://192.168.1.5:8080/olat >       ProxyPass