Re: [us...@httpd] Capturing server response

2009-02-06 Thread anson ho
for apache 2.0.x, I think apache filter is the way to go. http://httpd.apache.org/docs/2.0/filter.html On Sat, Feb 7, 2009 at 1:43 PM, Solutio at Gmail wrote: > Thanks, I'll take a closer look at the module. But my first impression is > that it works with Apache 1.3.x, and we have already switc

Re: [us...@httpd] Capturing server response

2009-02-06 Thread Solutio at Gmail
Thanks, I'll take a closer look at the module. But my first impression is that it works with Apache 1.3.x, and we have already switched to Apache 2.0.x. BTW, where the actual code of handlers and filters is supposed to be deployed? I'm afraid the documentation omits this, perhaps, assuming it'

Re: [us...@httpd] Capturing server response

2009-02-06 Thread anson ho
mod_trace_output do exactly what you want, except that headers are not saved. But you can do it by myself with the source included. http://trace-output.sourceforge.net/ On Mon, Feb 2, 2009 at 2:56 AM, Solutio at Gmail wrote: > Thank you for the advice and introduction to the forum rules. I "low

[us...@httpd] Switching load between two Tomcat servers without outage WITH sticky sessions...is it possible?

2009-02-06 Thread some_cs_student
Hi, So the challenge is simple, in the WebSphere world, the plugin self auto-reloads, and therefore you have the option of having say balancing between 2 servers and changing the "weight" (amount of traffic) sent to that server to zero, so no new traffic goes to that server, but any existing stic

[us...@httpd] RewriteRule and matching URI with *before* rewriting

2009-02-06 Thread Reto Kaiser
Hi, I'm using the Zend PHP Framework with Apache 2. The ZF uses a bootstrap file, so all requests are rewritten to index.php: RewriteRule .* index.php Now I'd like to serve CSS and JS resources dynamically with the index.php. So a request to "/resource/css/test.css" should deliver a CSS file (ec

[us...@httpd] Apache 2.2.11 - Load Balancer Question

2009-02-06 Thread Raghu Govindaraj
Hi, I'm new to Apache, this may look like a silly question. I'm trying to configure Apache for load balancing, Apache as been installed successfully and the proxy configuration is working fine, my issue is when I add the load balancing module the request is not being forwarded to the servers de

Re: [us...@httpd] [client 127.0.0.1] (20025)The given path contained wildcard characters Error why is that ?

2009-02-06 Thread Meir Yanovich
The configuration is out of the box i didn't change any thing there . what part do you what to see? is there any reason its happening because im using XMLHttpRequest to send the request ? if i copy the request string and pass it to browser url it does work . On Fri, Feb 6, 2009 at 8:16 PM, Eri

[us...@httpd] APR-util 1.3.4 Does not create correct connection string for Mod_dbd on Solaris & Oracle Instant Client

2009-02-06 Thread Kevin Castellow
I am using apache 2.2.11 on Solaris10 with apr-1.3.3 and apr-util 1.3.4. The Oracle Instant Client 11_1 is installed and verified to be working with the Instant Client Sql Plus client. I am trying to use the dbd module to authenticate to Oracle. I set the configuration up in this order: DBDriver

Re: [us...@httpd] [client 127.0.0.1] (20025)The given path contained wildcard characters Error why is that ?

2009-02-06 Thread Eric Covener
On Fri, Feb 6, 2009 at 12:58 PM, Meir Yanovich wrote: > Thanks for the reply i didn't know Apache have problem with this .. > any way now after fixing the variable names im having problem that the > Apache returns me 404 error > [info] [client 127.0.0.1] found %2f (encoded '/') in URI > (decoded='

Re: [us...@httpd] [client 127.0.0.1] (20025)The given path contained wildcard characters Error why is that ?

2009-02-06 Thread Meir Yanovich
Thanks for the reply i didn't know Apache have problem with this .. any way now after fixing the variable names im having problem that the Apache returns me 404 error [info] [client 127.0.0.1] found %2f (encoded '/') in URI (decoded='/ http://localhost/index.php?A=1&data=857&data_category=All '), r

Re: [us...@httpd] [client 127.0.0.1] (20025)The given path contained wildcard characters Error why is that ?

2009-02-06 Thread chint
remember the rules of variable name _data ,_data_category is invalid variable name. choose data, data_category instead. Meir Yanovich wrote: Hello all im doing simple request to apache 2.2 on win xp with php the request is processed throw browser XMLHttpRequest object on the client side the

Re: [us...@httpd] Using more than one authentication resources

2009-02-06 Thread André Warnier
Éibhear wrote: Hi. In the Apache on-line docs, I think when they talk about the , , stuff, they warn you that you should be careful with Location, because two Location could point to the same place, and that would allow some people to bypass, for example, authentication. So I believe that th

[us...@httpd] Using more than one authentication resources

2009-02-06 Thread Éibhear
Hi, I hope you can help me. I am using apache Apache/2.2.9 on Solaris 8 to control access to my subversion 1.5.5 repository. The following authentication directives work: Satisfy Any Require valid-user # Where the authentication file for Subversion is -- it's a normal # htpasswd file.

Re: [us...@httpd] URL encodig - percent encoding

2009-02-06 Thread André Warnier
Carlos Alarcón wrote: Hi, I am facing a problem which I haven't found any help over Internet (maybe I did the wrong search): I have:Apache/2.2.3 (CentOS), Centos 5. I am trying to access specials URLs ( containing non ASCII chars) So my browser (MZ or IE) converts URL http://rewrite.tyven/eñe.h

Re: [us...@httpd] RewriteMap & hashes: dealing with a hash miss

2009-02-06 Thread Eric Covener
> The answer: > > RewriteCond %{REQUEST_URI} ^/id/(.*) > RewriteCond ${ids:%1} !^$ > RewriteRule ^/id/(.*)$ ${ids:$1} [R=301] > It's a bit filthy that the first RewriteCond and the pattern in the > RewriteRule are duplicated, but I don't know if there's a way to improve > that. Maybe some roo

[us...@httpd] RewriteMap & hashes: dealing with a hash miss

2009-02-06 Thread Sacha Varma
(In the course of writing this e-mail I worked out the answer, but I thought I'd post it anyway, for future hapless rewriters such as myself.) I have a website whose URLs often include an identifier for the underlying database record that powers the page. Simplified example for illustra

Re: [us...@httpd] Fixed Content-Length using mod_ext_filter in mode=input

2009-02-06 Thread Cris Webea
Hi Nick, Thanks for your suggestion. I tried setting the Content-Length to an arbitrary value (I know, this is a kludge) and also to unset this header and in both cases it seemed to confuse Apache, as the post data was completely removed. Anyway, I will post this as a potential defect. Many

Re: [us...@httpd] URL encodig - percent encoding

2009-02-06 Thread Eric Covener
On Fri, Feb 6, 2009 at 5:27 AM, Carlos Alarcón wrote: > Hi, I am facing a problem which I haven't found any help over Internet > (maybe I did the wrong search): > I have:Apache/2.2.3 (CentOS), Centos 5. > I am trying to access specials URLs ( containing non ASCII chars) > > So my browser (MZ or IE

[us...@httpd] [client 127.0.0.1] (20025)The given path contained wildcard characters Error why is that ?

2009-02-06 Thread Meir Yanovich
Hello all im doing simple request to apache 2.2 on win xp with php the request is processed throw browser XMLHttpRequest object on the client side the request looks like this : index.php?A=1&_data=857&_data_category=All failed, referer: http://localhost/index.php?_data=cars&category=All&ItemPage=1

[us...@httpd] URL encodig - percent encoding

2009-02-06 Thread Carlos Alarcón
Hi, I am facing a problem which I haven't found any help over Internet (maybe I did the wrong search): I have:Apache/2.2.3 (CentOS), Centos 5. I am trying to access specials URLs ( containing non ASCII chars) So my browser (MZ or IE) converts URL http://rewrite.tyven/eñe.html into http://rewrit

Re: [us...@httpd] directives in Include-d file in

2009-02-06 Thread Matus UHLAR - fantomas
> Matus UHLAR - fantomas wrote: > > > >I would like to use the same accesslist for more directories (include it > >more times), but it seems that I can't iclude directives into the > > section, but the must lie inside of the included > >file. > > > >Am I right or did I miss something? On 05.02.09

[us...@httpd] mod gzip doesn't seem to work with proxied content

2009-02-06 Thread Otheus
Greetings, We are using Apache 2.0.52, 32-bit, and I have tried to enable mod_deflate. It works for some content, but most notably, it does not work for content that is directed via the Rewrite engine to a proxy server. I am separately logging all requests that do *not* have "no-gzip" environment

[us...@httpd] Cookie-based busy filter to avoid peak loads?

2009-02-06 Thread Karel Kubat
Hi, On our infrastructure we want to implement a "busy filter" as a gateway, before users access the rest of the infrastructure (appservers). I have thought up the following approach: - During low-load times, the user's session is injected with a cookie LAST_ACCESS, having the current timestamp

[us...@httpd] mod_proxy_balancer works slowly (many proxy_util.c(1820): proxy: worker http://XXX already initialized messages)

2009-02-06 Thread Романов Олег
Hello All! Please help me with the following: I have a server running Gentoo with apache 2.2.11 installed, which is used as a loadbalancer. I see that it works really slow.. In the error log I see many debug messages. These appear from time to time and if I try to enter the site when these messag

[us...@httpd] Each httpd process consumes so much swap server crashes

2009-02-06 Thread Stargazer
Hi There are about 80 PHP virtual hosts, all using MySql, a mix of joomla, mantis, pligg etc. Its RH linux/Apache 2.2.8, Mem 1G, Swap 4G. The server gets ~ 1 hit/sec across all hosts. About an hour after a restart top shows some swap being used which creeps up until free swap hits zero. I've g