Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread Krist van Besien
On Wed, Apr 1, 2009 at 5:10 AM, Mike Lyon mike.l...@gmail.com wrote: Howdy All, Is anyone out there using mod_rewrite to rewrite URLs that pass through their reverse proxies? I am using Apache as an SSL offloader for some web / app servers that sit behind it. I have it up and working great.

[us...@httpd] mod_status 404 Not Found

2009-04-01 Thread Lincoln Zuljewic Silva - Claro SP -
Good morning to all, I have a apache with SSL and the mod_status is not working. The config I made was: Location /server-status SetHandler server-status Order deny,allow Deny from all Allow from all - the all is just for tests propose! /Location ExtendedStatus On After a kill

[us...@httpd] Re: Apache 2.2 mod_include mis-interpreting back-references

2009-04-01 Thread Dan Poirier
hugh williams hu...@soco.agilent.com writes: My question still remains - what changed in Apache that a construct it formerly parsed one way is now treated differently? Or not so much what changed, but why? Why does Apache now care what is inside an exec cmd' string? Even in 1.3, mod_include

Re: [us...@httpd] Rewriting Response header from proxied server with Apache 2.0

2009-04-01 Thread Krist van Besien
On Wed, Apr 1, 2009 at 2:02 PM, pthys...@intec.ugent.be wrote: However, the proxied application has login functionality and thus sets a cookie. While I have been working on the revrese proxy setup for the last couple of days, I believe I'm now stuck: the proxied app is generating cookies

Re: [us...@httpd] Rewriting Response header from proxied server with Apache 2.0

2009-04-01 Thread pthyseba
On Wed, Apr 1, 2009 at 2:02 PM, pthys...@intec.ugent.be wrote: However, the proxied application has login functionality and thus sets a cookie. While I have been working on the revrese proxy setup for the last couple of days, I believe I'm now stuck: the proxied app is generating cookies

Re: [us...@httpd] Rewriting Response header from proxied server with Apache 2.0

2009-04-01 Thread André Warnier
pthys...@intec.ugent.be wrote: [...] So my question boils down to: what is a valid Apache 2.0 workaround for the functionality offered by proxypassreversecookiedomain and proxypassreversecookiepath, given that I cannot upgrade to Apache 2.2 and cannot modify the proxied server (e.g. change

Re: [us...@httpd] Re: Files not found

2009-04-01 Thread bruno
On Tue, 2009-03-31 at 23:24 +, Jonesy wrote: On Tue, 31 Mar 2009 23:10:18 +0100, bruno wrote: I have installed apache 2.2 on my computer and start server but only I can launch index.html on the browser. When I try to load other file browser show me error Not found. What's in the

Re: [us...@httpd] Re: Files not found

2009-04-01 Thread bruno
On Tue, 2009-03-31 at 20:48 -0400, Brian Mearns wrote: On Tue, Mar 31, 2009 at 7:24 PM, Jonesy gm...@jonz.net wrote: On Tue, 31 Mar 2009 23:10:18 +0100, bruno wrote: I have installed apache 2.2 on my computer and start server but only I can launch index.html on the browser. When I try to

Re: [us...@httpd] Rewriting Response header from proxied server with Apache 2.0

2009-04-01 Thread Nick Kew
On 1 Apr 2009, at 15:39, pthys...@intec.ugent.be wrote: Yes I have: it's for Apache 2.2 and does not have an equivalent in Apache 2.0 it seems. Somewhere in bugzilla (issues.apache.org) there's a patch for 2.0. -- Nick Kew

Re: [us...@httpd] Re: Files not found

2009-04-01 Thread Tom Evans
On Wed, 2009-04-01 at 15:55 +0100, bruno wrote: I tried to load html files from a few computers in my lan. I wrote 127.0.0.1 on localhost and sever's IP address from others computers but only I can load index.html saying It works. Thanks, Bruno. 127.0.0.1 will only work if the browser

Re: [us...@httpd] Switching between http and https

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 11:19 AM, inas inassen mezgh...@hotmail.com wrote: Hi all, I'm using mod_proxy balancer with tomcat and apache. I used mod_rewrite to switch between http and https When I have the pattern /nossl == I want to redirect to http When I have the pattern /ssl   == I want

Re: [us...@httpd] Using Expires...

2009-04-01 Thread ntwrkd
If you have cached content, using expires is a very good thing to do. It depends on your architecture and needs. Here are posts from two differing camps: http://developer.yahoo.com/performance/rules.html#expires http://www.codinghorror.com/blog/archives/000932.html Hope this helps @msacks On

RE: [us...@httpd] Switching between http and https

2009-04-01 Thread inas inassen
Thanks Brian, you right, I did correction, but it seems not working for ssl and it works for nossl this is my rewrite rules RewriteEngine On RewriteLog logs/webserver1/rewrite_log # RewriteCond %{HTTP_HOST} ^webserver1.* RewriteCond %{HTTPS} =off RewriteCond %{SERVER_PORT} ^80

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread John Armstrong
We use relative url's to bypass this issue. It also prevents other 'backend URL leakage' and generally allows for proper load balancing without having to write software alter your display output. John- On Tue, Mar 31, 2009 at 11:36 PM, Krist van Besien krist.vanbes...@gmail.com wrote: On Wed,

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread Mike Lyon
That would be the best thing to do. Please excuse my ignorance though. If the hrefs were written in relative, would you still specify the http or https in the string? Or would you not include those? Thanks, Mike On Wed, Apr 1, 2009 at 10:43 AM, John Armstrong jarmstr...@bepress.comwrote: We

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread John Armstrong
You wouldn't specify anything, they would adopt the requesting scope. This lets the browser deal with it. So '/relativeurl.html' is returned to the browser and the browser appends the full URL based on the page its being requested in. The only time this gets weird is when you need to enforce SSL

Re: [us...@httpd] Using Expires...

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 1:01 PM, ntwrkd ntw...@gmail.com wrote: If you have cached content, using expires is a very good thing to do. It depends on your architecture and needs. Here are posts from two differing camps: http://developer.yahoo.com/performance/rules.html#expires

Re: [us...@httpd] Switching between http and https

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 1:24 PM, inas inassen mezgh...@hotmail.com wrote: Thanks Brian, you right, I did correction, but it seems not working for ssl and it works for nossl this is my rewrite rules RewriteEngine On RewriteLog logs/webserver1/rewrite_log # RewriteCond %{HTTP_HOST}

[us...@httpd] allow only 20 concurrent connections per IP?

2009-04-01 Thread Tomasz Chmielewski
What is the best way to limit concurrent connections per IP to, say, 20? I'm having some problems with connection storms caused by bots harvesting websites. -- Tomasz Chmielewski http://wpkg.org - The official User-To-User

Re: [us...@httpd] allow only 20 concurrent connections per IP?

2009-04-01 Thread Evan Platt
At 12:59 PM 4/1/2009, you wrote: What is the best way to limit concurrent connections per IP to, say, 20? I'm having some problems with connection storms caused by bots harvesting websites. mod_limitipconn.c ? http://dominia.org/djao/limitipconn2.html Never tried it, but looks like it

Re: [us...@httpd] multi threaded apache with thread safe disable php - will this be an issue?

2009-04-01 Thread Eric Covener
On Wed, Apr 1, 2009 at 8:45 AM, rats1027-segfa...@yahoo.co.in wrote: Hi, we have a multi threaded apache with 'thread safe' DISABLED php on our production server. we used to have a good amount of traffic to our application. will this be an issue and do you guys have any idea? actually we

Re: [us...@httpd] allow only 20 concurrent connections per IP?

2009-04-01 Thread Tomasz Chmielewski
Evan Platt schrieb: At 12:59 PM 4/1/2009, you wrote: What is the best way to limit concurrent connections per IP to, say, 20? I'm having some problems with connection storms caused by bots harvesting websites. mod_limitipconn.c ? http://dominia.org/djao/limitipconn2.html Never tried it,

[us...@httpd] separating users on aoache user logs

2009-04-01 Thread moda preethi
Hi,  I have to check the apache user access logs and then separate the users based on timestamp.I have to check how to take data from apache access logs and see if it is possible to graph the data to show number of users access system with what time (of day, week, month ?I am not able to

Re: [us...@httpd] allow only 20 concurrent connections per IP?

2009-04-01 Thread Justin Pasher
Evan Platt wrote: At 12:59 PM 4/1/2009, you wrote: What is the best way to limit concurrent connections per IP to, say, 20? I'm having some problems with connection storms caused by bots harvesting websites. mod_limitipconn.c ? http://dominia.org/djao/limitipconn2.html I can vouch for

RES: [us...@httpd] separating users on aoache user logs

2009-04-01 Thread Lincoln Zuljewic Silva - Claro SP -
Why don't you use mod_status (http://httpd.apache.org/docs/1.3/mod/mod_status.html) ? You can create a shell that read that information in a interval of 5-5 minutes. Regards Lincoln Zuljewic Silva De: moda preethi [mailto:preethim...@yahoo.com] Enviada em: quarta-feira, 1 de abril de 2009

Re: [us...@httpd] Re: Files not found

2009-04-01 Thread bruno
On Wed, 2009-04-01 at 16:36 +0100, Tom Evans wrote: On Wed, 2009-04-01 at 15:55 +0100, bruno wrote: I tried to load html files from a few computers in my lan. I wrote 127.0.0.1 on localhost and sever's IP address from others computers but only I can load index.html saying It works.

RE: [us...@httpd] Switching between http and https

2009-04-01 Thread inas inassen
Thanks Brian I figured out the issue, here is the solution RewriteEngine On RewriteLogLevel 8 RewriteLog logs/webserver/rewrite_log # RewriteCond %{HTTP_HOST} ^webserver1.* RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} (ssl1(.*)|ssl2(.*)) RewriteRule (.*)

[us...@httpd] Can I post here about Jmeter ??

2009-04-01 Thread ricardo13
Hi all, Can I post doubts about Jmeter here ??? Thank You !! Ricardo -- View this message in context: http://www.nabble.com/Can-I-post-here-about-Jmetertp22834780p22834780.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.

[us...@httpd] Authenticate only once for IP address or DNS name or alias

2009-04-01 Thread jblack4
I have Digest authentication working if the user enters IP address in the browser. If that application then makes a request for data to either the fully qualified DNS name or intranet alias (of that same server), the user gets prompted again for username and password. Is there a way to make the

[us...@httpd] Does APR works in Kernel Level ?

2009-04-01 Thread ricardo13
Hi all, I have other doubt.When I'm programming in APR, it works in kernel-level ?? My friend told it and I was confuse !!! Thank You !! Ricardo -- View this message in context: http://www.nabble.com/Does-APR-works-in-Kernel-Level---tp22834996p22834996.html Sent from the Apache HTTP Server -