The request object is used in handlers. You can either write handlers or CGI
scripts. Continue using CGI but inorder to reap the benifits of mod-perl, you
will need to run it under ModPerl::Registry.
In your CGI script, while running under ModPerl::Registry., you even have
access to the reque
Hi all,
does mod_proxy provide more than round robin load balancing functionlity? I'd
been told it could, but I can't find anything in the docs..
Martin
__
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Am Donnerstag, den 31.01.2008, 11:31 + schrieb Martin Moss:
> does mod_proxy provide more than round robin load balancing
> functionlity? I'd been told it could, but I can't find anything in the
> docs..
Actually this is not the right place to ask about other httpd modules
than mod_perl, b
thanks :)
- Original Message
From: Heiko Jansen <[EMAIL PROTECTED]>
To: Martin Moss <[EMAIL PROTECTED]>
Cc: modperl
Sent: Thursday, 31 January, 2008 12:28:14 PM
Subject: Re: proxy question
Am Donnerstag, den 31.01.2008, 11:31 + schrieb Martin Moss:
> does mod_proxy provide more th
I'm trying to write a filter using modperl that will update parts of the
server response on the fly. My first attempt was to rewrite the path setting
in the server's set cookie response to set the path to: path=/NewPath. After
copying and pasting some examples I came up with the following:
package
Mag Gam wrote:
> I am bit confused. While reading the mod_perl book, I noticed they are
> using Apache::Request versus CGI for form data handling. Why is that? Is
> it recommended to use Apache over CGI? Any advantages? I am using CGI
> because its a standard module.
CGI.pm is old and venerable.
The docs seem to suggest that that changes to %ENV should work fine:
http://perl.apache.org/docs/2.0/user/coding/coding.html
mod_perl passes (exports) the following shell environment variables
(if they are set) :
* PATH - Executables search path.
* TZ - Time Zone.
Any of these e
If you're using the stream API like this you'll never see the headers in
$buffer.
I think you would have to modify them using $f->r (the request object),
then abuse the headers_out and/or err_headers_out tables.
I'm not sure if this is the case for the bucket brigade API or not (i've
never used
If you have a vanilla CGI script, every request you make to the webserver it's
running on, will always create a new instance of that script, run it, return
the values in a response and then the script ceases to exist in the server. The
next time a request arrives for that script, the same sequen
Hey Everyone,
I am trying to set the allowed bitmask in a custom request handler
when I receive the OPTIONS method (and when I receive a method request
for a method I do not support). This includes possibly not listing
support for GET or POST.
I am using:
Fedora Core 6
Apache 2.2.4-2.1
mod_perl 2
All,
Thanks for the great explanation for newbies like me! Keep up the good work
On Jan 31, 2008 11:57 AM, Anthony Gardner <[EMAIL PROTECTED]> wrote:
> If you have a vanilla CGI script, every request you make to the webserver
> it's running on, will always create a new instance of that script, r
11 matches
Mail list logo