hello, Christian
I found a bug with how Apache::ProxyRewite handles cookies.
Our proxy server was trying to display a remote application that heavily uses cookies
butthe application was failing miserably.
I compared the headers of what the proxy server was sending to the client vs. what the
r
I am very interested in any developments in this area. I currently am
doing dav stuff in Java for macromedia.com and would be interested in
porting it to my first love: Perl!
please let me know of any developments. I am willing to help, if you need
it.
cheers,
-amen
On Wed, 29 Nov 2000, Ian K
hello, all
is there any limit to the size of a GET request url when it is generated
from inside a mod_perl module? I have a POST cgi coming in with a bunch of
data and I would like to turn it into a GET url so I can effectively use
lookup_uri and run from the Apache::SubRequest class.
I know
you can also use Apache::Cookie
and do something like this:
my $cookie = Apache::Cookie->new($r,
-name=> 'q_string',
-value => $value,
-expires => '+3h',
, Aug 23, 2000 at 10:03:59PM -0700, Alex Menendez wrote:
> > hello, all
> >
> > I am currently trying to have a cgi execute in a mod_perl module by
> > generating a subrequest to the executable via
> > lookup_uri. It is working great for GET requests. However, POST
hello, all
I am currently trying to have a cgi execute in a mod_perl module by
generating a subrequest to the executable via
lookup_uri. It is working great for GET requests. However, POST requests
are obviously failing because only the uri is being passed to the
subrequest and not the main reque
H, the do does seem a little inefficient. I solved this problem in the
past by intiating a subrequest and changing the stack handler to
cgi-script right before running the cgi. something like this:
$subr = $r->lookup_uri($uri);
if($r->filename =~ /\.(cgi|pl)$)/o) {
$subr->handler('cgi-sc
nts and to cgis that only change the content type
header.
Just an FYI...
-amen
Doug MacEachern wrote:
> On Mon, 21 Aug 2000, Alex Menendez wrote:
>
> >
> > ok, what about cgi's that generate Location: headers. Am I out of luck
> > here? should I contemplate changing s
you can't do this, dude. test.cgi dies and so do all it's pointers to
structures in memory.
try looking at Apache::Registry or mod_perl with the Apache::Filter
mod.
Or if you want to keep these things as cgi's look at LWP which lets you
make http requests from within perl programs.
However, I
ok, what about cgi's that generate Location: headers. Am I out of luck
here? should I contemplate changing src for ap_run_sub_req
thanx,
-amen
On Mon, 21 Aug 2000, Doug MacEachern wrote:
> whoops. yeah, $subr->send_http_header won't work for the same reason
> send_http_header() calls within
er perl-script
PerlHandler Macromedia::AddStatImage
SetHandler perl-script
PerlHandler Macromedia::AddStatImage
PerlSetVar is_cgi 1
any ideas?
-amen
On Mon, 21 Aug 2000, Doug MacEachern wrote:
> On Sun, 20 Aug 2000, Alex Menendez wrote:
>
> > unfortunately, I am not
53 -0700, Alex Menendez twiddled the keys to say:
> > cgi scripts. the module uses lookup_uri() to generate a subrequest then
> > calls run() to output the actual contents of the file. the eagle book
> > says that calling run() on a subrequest should automatically send the
>
Hello, all
I have a module that appends a line of stats sensitive information to
the bottom of html pages or
cgi scripts. the module uses lookup_uri() to generate a subrequest then
calls run() to output the actual contents of the file. the eagle book
says that calling run() on a subrequest shou
does anyone know how to get the output of a standalone cgi script from a
mod_perl module
I have tried all the subrequest stuff but I can't get it to work.
Apache seems to parse the cgi file once a handler has been called. simply
writing a handler that returns DECLINED every time it is called li
Your right. this works great for html! Unfortunately, however, Apache
sandwich really does not work for me because it only deals with GET
requests and it can not deal with cgi requests directly. I would need to
alter my cgi's in order to use sandwich. I am looking for a mod_perl
solution that wi
hello, all
I am trying to write a module that generates a canned footer for all
html and cgi pages on my site.
the html part is pretty easy and I have already implemented it. However,
I am currently having trouble adding it
to standalone cgi scripts that are not parsed by the server. I have
tried
Hello, all
I have a very simple problem for which I am sure (hope) there is a very
simple solution.
I basically want to pipe cgi output to mod_include or rather the
equivalent mod_perl module, Apache::SSI.
I do not want to make the cgis mod_perl modules nor Apache::Registery
scripts. Just want t
not completely sure about real mod_perl. However, the following works
great using Apache::Registry and CGI:
print $query->header(-cookie=>[$id_cookie,$crypt_cookie],
-Location=>$query->param("redirect").'?name='.@$ref[1].'&last_login='.@$ref[3].'&site_id='.$query->
param('site_id'));
I think A
Hello, All
I currently have a caching module for dynamic pages that is loaded up upon
server startup. However, when each child process uses this module they
each create a copy of the modules caching hash.
I would like to have 1 copy of the caching hash in the parent process that
each child ca
hello, all
Given the following situation what is more efficient:
-I have 10 id numbers I want to query on numbers 1,2,3,4,5,6,7,8,9,10
respectively. However, this list is not fixed and could be any number of
ids up to 20.
-Is it faster to create a global variable with a prepared sql statement
a
yes, bill
I am actually doing the same thing! however, I still would like a pre-cached
transaction to run faster for those pages that are truly dynamic and can never
really be cached effectively.
-amen
Bill Moseley wrote:
> At 08:47 PM 12/8/99 -0800, Alex Menendez wrote:
> >I initia
hello, all
I currently have developed a dynamic content engine in mod_perl that
parses html files on the fly for
proprietary xml tags then replaces these tag trees with db content.
I initially tried to do this by subclassing HTML::Parser and over-riding
the usual methods. However, this
was painf
hello, all
I am currently developing a simple mod_perl xml engine that replaces
proprietary xml packets embedded
in a web page with db content...no formatting just simple text. I have
just started and do not want to re-invent the wheel if a good package
exists out there.
My initial plan was to l
this destroy routine is definitely a problem (may or may not be the cause
of the error though) apache::dbi over-rides the dbi connect method in
order to check an internal hash of cached db handles so that an existing
connection can be returned rather than taking the performance hit of
establishing
John,
Doug explained to me that the mod_perl Makefile.PL adds some info from
Perl's Config.pm, which includes libraries that Perl needs. If your
systems Perl was installed from an rpm (which mine was), it is very likely
that Perl was configured to include a library (such as gdbm) that is not
actu
25 matches
Mail list logo