Audio,
You can always start your scripts with [re]nice() syscall to lower
your process (perl script in this case) priority.
Regards,
Tamer
-Original Message-
From: Audio Phile [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2008 8:57 PM
To: users@httpd.apache.org
Subject: [EMAIL PROT
Knute,
I believe this would depend on detecting the user agent and serving
content accordingly. PDAs and phones declare themselves (mostly)
in User-Agent HTTP header.
Regards,
Tamer
-Original Message-
From: Knute Johnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 7:53 PM
Wi,
Apache mod_cache hooks itself before mod_rewrite (APR_HOOK_FIRST vs.
APR_HOOK_MIDDLE), so the cache will get called first, if content doesn't
exist, request will be passed to next handler which is mod_rewrite,
which will handle getting the page, then Apache will CACHE_SAVE the
response so that
Karim,
I'm afraid you have to do that programmatically. We've done that in a
project before with Apache 2.0 by knowing how Apache encodes
URL for storing in internal cache directories, read it from:
modules/cache_util.c:
cache_hash(...)
Which is controlled using:
CacheDirLevels X
D] RE: Clearing cache selectively on Apache + mod_cache
Why do you think using request headers would not work?
From: Tamer Embaby [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2008 1:39 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache + mod_cache
Eric,
So using 2 vhosts would be:
# External vhost
ServerName www.example.com
CacheRoot /path/to/cache
Cache disk /url
CacheIgnoreCacheControl On
CacheMaxExpire 86400
CacheDefaultExpire 86400
# Internal vhost
ServerName cache-internal.ex
3:50 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] RE: Clearing cache selectively on Apache +
mod_cache
On Mon, Dec 1, 2008 at 8:42 AM, Tamer Embaby <[EMAIL PROTECTED]> wrote:
> Eric,
>
> So using 2 vhosts would be:
>
> # External vhost
>
>ServerNa
Vinay,
You should use:
$ export CFLAGS="-m32"
Then continue with the ./configure and Apache compilation
as usual.
Tamer
-Original Message-
From: Vinay Purohit [mailto:vinay.puro...@trianz.com]
Sent: Tuesday, December 30, 2008 3:01 PM
To: users@httpd.apache.org
Subject: [us...@httpd] 32
Dear all,
I have the following simple setup:
[1] LoadModule rewrite_module modules/mod_rewrite.so
[2] LoadModule proxy_module modules/mod_proxy.so
[3] LoadModule proxy_http_module modules/mod_proxy_http.so
[4] RewriteEngine on
[5] ProxyPass /testing http://myserverB/
[6] ProxyPassReverse /testing
:19 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?
Tamer Embaby wrote:
> I have the following simple setup:
>
> [1] LoadModule rewrite_module modules/mod_rewrite.so
> [2] LoadModule proxy_module modules/mod_proxy.so
>
ould have gotten the upper
hand on RewriteRule and there would have been nothing you could do about it
except from what was suggested to you.
-ascs
-Message d'origine-
De : Tamer Embaby [mailto:[EMAIL PROTECTED]
Envoyé : lundi 10 décembre 2007 16:05
À : users@httpd.apache.org
Objet
e. The fixup handler of mod_proxy is a predecessor of the
one of mod_rewrite.
Have a look at mod_rewrite.c and mod_proxy.c. You will find the function
register_hooks() at the bottom of each file.
-ascs
-Message d'origine-
De : Tamer Embaby [mailto:[EMAIL PROTECTED]
Envoyé : lundi
Hello all,
I'm trying to compile Apache 2.2.8 but failing with something that I
believe to be error on the generated "libtool" utility, or may be a
mistake from my side, but I'm not sure which.
Information about the system:
$ uname -a
HP-UX SPHINX B.11.23 U ia64 4017848671 unlimited-user license
iler I get the same error you do and when I utilize the HP ANSI C
compiler if receive a message:
ld: Can't find dependent library "libapr-1.so.2"
Hopefully someone will have a suggestion. If I find anything I'll pass
it along.
-----Original Message-
From: Tamer Embaby
Krishna,
You may use mod_mem_cache when appropriate as this improves number of
concurrency dramatically.
Also, IMO, avoid using "rotatelogs", it's a huge bottleneck!
Regards,
Tamer
From: Krishna Chandra Prajapati [mailto:[EMAIL PROTECTED]
Sent: Friday, February
Hello all,
I have the below configuration on my Apache 2.2.8 test server,
my 2 backends are BEA WebLogic 8.1 servers, basically I'm testing
if I can achieve the same load balancing feature that third party
BEA WL 8.1 weblogic_module is doing.
I open a browser window and wnet to: http://myserver/
1. for example 423423434134
2. . for example 423423434134.weblogic1
Can you please confirm me from logs which option as above r u getting from
Cookies JSESSIONID value?
-Original Message-
From: Tamer Embaby [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 12:18 AM
To: us
Hello,
According to http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html:
^/somepath(.*) /otherpath$1 [P]: doesn't make sense, not supported
I have a client who has:
ServerName example.com
RewriteCond %{REQUEST_URI} !^/SomePath/
[1] RewriteRule ^/(.*)$ /SomePath/$1 [L,P]
[2] ProxyPass /SomePath
Yavor,
I'm not quite sure about how to setup proxy_load_balancer to stick
by source IP, but I guess you can install 2 frontend Apaches infront of your
backends
webclients to be sure that those Apaches will always send beackend specific
Cookie
header for your load balancer. May be that would hel
Salih,
Here is a patch that could be run against mod_headers.c that will
add a new action "fset" which will set a header only if the header is
not set before.
Apply the patch using:
$ patch mod_headers.c < mod_headers.c.fset_patch
Compile and install to your 2.2.X Apache using:
$ /path/to/apache
Soumendu,
Moreover, you can use mod_security to change it using SecServerSignature
directive.
Tamer
From: Tamer Embaby [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2008 6:31 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Trying to modify Server
Soumendu,
You cannot achieve that with mod_headers AFAIK. "Server" header is an
exception,
you have to change it in code and recompile Apache.
Regards,
Tamer
From: Nir Peled [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2008 4:38 PM
To: Nir Peled; users@httpd
22 matches
Mail list logo