On Mon, Oct 22, 2007 at 11:06:29PM +0200, Alan AZZERA wrote:
> Seems to be the same idea you describe, but with more flexibility &
> robustness - thanks to real DNS records.
Same idea, yes. But I would not exactly call it robust in
the sense of the KISS principle. I think it is never a good
idea t
Another idea in the same direction:
Use a RewriteMap on every request and have the
rewrite map do something ressuorce intensive.
...
RewriteEngine On
RewriteMapmymap prg:/tmp/tmp.pl
RewriteRule ^/(.*) ${mymap:$1}
And the map /tmp/tmp.pl:
#!/usr/bin/perl -w
use
On Oct 22, 2007, at 2:06 PM, Alan AZZERA wrote:
I thought about another approach : leaving as is my public DNS zone,
and modifying my private one to distribute private IP for public
domain names. My Reverse Proxies have just to be taught to use the
private DNS, and all I have to do is to config
On Oct 22, 2007, at 7:31 PM, Joshua Slive wrote:
On 10/22/07, Eric Covener <[EMAIL PROTECTED]> wrote:
On 10/22/07, Jim Albert <[EMAIL PROTECTED]> wrote:
For the purposes of testing a heavy load situation, I'd like to
configure one of my apache web servers to intentionally respond
slow to
a
ChiaTzung Liu -??? wrote:
Hi..
My configuration directive is showed as following:
./configure \
--without-apr \
--without-apr-util \
And I got the error message "checking for APR... configure: error: --with-apr
requires a directory to be provided".
Right
Anyone knows how t
Hi..
My configuration directive is showed as following:
./configure \
--disable-ssl \
--disable-v4-mapped \
--disable-maintainer-mode \
--disable-dbm \
--disable-auth-dbm \
--disable-echo \
--disable-example \
--disable-ldap \
On 10/22/07, Eric Covener <[EMAIL PROTECTED]> wrote:
> On 10/22/07, Jim Albert <[EMAIL PROTECTED]> wrote:
> > For the purposes of testing a heavy load situation, I'd like to
> > configure one of my apache web servers to intentionally respond slow to
> > a request.
>
> mod_ext_filter might help you
On 10/22/07, Jim Albert <[EMAIL PROTECTED]> wrote:
> For the purposes of testing a heavy load situation, I'd like to
> configure one of my apache web servers to intentionally respond slow to
> a request.
mod_ext_filter might help you simulate some of this by adding some
silly perl/php/python as an
Or if you are just benching a page like
http://www.yourdomain.com/test.html you could switch it to test.php
and have it do the sleep for you. Seems a little simple and I am not
sure it's what you are going for exactly.
On 10/22/07, Tom Hart <[EMAIL PROTECTED]> wrote:
> I don't know about anything
I don't know about anything in apache to do this, but there are a couple
other options that popped into mind, depending on what exactly you're
trying to test.
The first is netlimiter (http://www.netlimiter.com) that will let you
simulate network congestion/low bandwidth scenarios, with a littl
'nite
I'll try your tips tomorrow. Thanks a lot.
> If you want to get your hands really dirty, you can also
> leave mod_headers aside and set www.example.com statically
> in /etc/hosts to point to the backend. That way the proxy
> server will still believe that he is www.example.com via
> servern
For the purposes of testing a heavy load situation, I'd like to
configure one of my apache web servers to intentionally respond slow to
a request.
Is anyone aware of some type of apache sleep or delay configuration that
will easily allow me to configure this? For example, tell apache to wait
Hello,
I configure my virtual server:
# bug.mj41.cz
ServerName bug.mj41.cz
# etc
RemoveHandler .php
ForceType text/plain
RemoveHandler .php
ForceType text/plain
I put the same 'index.php' to directories
'/'
'/dir/'
'/dir/subdir'
(inside
Hello there,
I hope you can help or at least point me in the right direction.
I'm currently trying to setup an Apache 2.2.6 for cygwin as a
Reverse Proxy in front of a different server. This server is expected to
produce long (in time) response as a series of chunk-encoded pieces
(actua
Thanks for all the hints, finally I got it working with LDAP authentication.
For now, I'm happy with that although indeed seems a bit slow...
For future references here is my config (although is staright forward and it can
be found on many web resources)
# Enable Subversion
D
Does anyone know if Apache 2.0.52 on Windows will have any issue serving
files files from a Windows share using aliases?
Specifically, will Apache ecounter issues with locking if that share is
shared among multiple machines in a load balanced configuration?
Our setup would be something like the f
Are you saying without the keepalive or do you mean with the keepalive
option I would see the traffic below?
Thanks again,
Dan
-Original Message-
From: Christian Folini [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 21, 2007 11:20 PM
To: Shaw, Dan
Cc: users@httpd.apache.org; Minato,
On 10/22/07, Grant Peel <[EMAIL PROTECTED]> wrote:
>
>
> Hi Matthew,
>
>
> Thanks for the speedy resonse. I actually am setting suphp on a test server
> right now, but one of the items I was looking for was to jail users from a
> php standpoint similar to what suexec does for perl, i.e. can't
Hi Matthew,
Thanks for the speedy resonse. I actually am setting suphp on a test server
right now, but one of the items I was looking for was to jail users from a php
standpoint similar to what suexec does for perl, i.e. can't write outside the
users docroot, etc etc.
If I read suphp right, i
Hi Grant,
You might also consider suPHP (http://www.suphp.org). I don't use it myself,
but it should do what you want. Otherwise, php in CGI mode is pretty simple.
1. don't load the libphp module in httpd.conf (or disable php for the directory
containing the scripts you want to cgi exec).
2.
Hi again all,
Has anyone on this had succees setting up php to use (apache) suexec?
If I am reading things right, it appears that php must be run as CGI and
then it will use the built in (Apache2) suexec wrapper in the same fassion
as perl does.
If the above is correct I am looking for a primer
Thanks.
On 10/22/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
>
> On 10/22/07, Jonathan Hayward http://JonathansCorner.com
> <[EMAIL PROTECTED]> wrote:
> > Sorry for not replying earlier...
> >
> > Is Header version-specific? The error message in the log is "...Invalid
> > command 'Header,' perhaps
On 10/22/07, Jonathan Hayward http://JonathansCorner.com
<[EMAIL PROTECTED]> wrote:
> Sorry for not replying earlier...
>
> Is Header version-specific? The error message in the log is "...Invalid
> command 'Header,' perhaps misspelled or defined by a module not included in
> the server configuratio
Sorry for not replying earlier...
Is Header version-specific? The error message in the log is "...Invalid
command 'Header,' perhaps misspelled or defined by a module not included in
the server configuration".
What module(s) need to be installed? The server is an Apache 2 under Linux;
if more vers
On 10/22/07, Grant Peel <[EMAIL PROTECTED]> wrote:
>
> Do I need to restart the apache deamon each night after the logs are
> rotated? (I am rotating those log with newsyslog).
>
> Is there something else I am missing?
http://httpd.apache.org/docs/2.2/logs.html#rotation
Joshua.
On 10/22/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
> On 10/22/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
> > On 10/22/07, BP Jonsson <[EMAIL PROTECTED]> wrote:
> > > How should I write a rewrite rule so that it appears to
> > > visitors that they are at http://foo(.*) but the files
> > > res
Hi all,
I recently installed mod_security and noticed that it would not write to the
server logs (the main server logs in /var/log), until I gracefully restarted
apache. After reviewing that, I noticed that none of the other files were
being written to as well (httpd-access.log, httpd-error.lo
On 10/22/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
> On 10/22/07, BP Jonsson <[EMAIL PROTECTED]> wrote:
> > How should I write a rewrite rule so that it appears to
> > visitors that they are at http://foo(.*) but the files
> > reside at http://bar/site/foo? Supposing that the rewrite
> > rule
Hello!
first at all, I'm sorry for my english, I'll do my best :-)
We have a website which works with session.use_trans_sid set to On. Everything
works just fine, but when googlebot comes on the website and does its job, it's
also getting the php's session id in the URL. I've search a lot abou
On 10/22/07, BP Jonsson <[EMAIL PROTECTED]> wrote:
> How should I write a rewrite rule so that it appears to
> visitors that they are at http://foo(.*) but the files
> reside at http://bar/site/foo? Supposing that the rewrite
> rule is in a .htaccess under the foo root directory, what
> should it l
How should I write a rewrite rule so that it appears to
visitors that they are at http://foo(.*) but the files
reside at http://bar/site/foo? Supposing that the rewrite
rule is in a .htaccess under the foo root directory, what
should it look like?
TIA,
/BP
-
31 matches
Mail list logo