I have been having the same problem. I have never been able to get Perl SSI's
to work with Linux (mostly RedHat). I always build own Perl, always compile
mod_perl with EVERYTHING=1, and never use DSO's, and have never been able to
get it to work.
The exact same procedure under Solaris, however,
Out of curiosity, what is wrong with the regular open/close/print END?
The Apache::File class provides an Apache-oriented version of IO::File; it's
described on pp 489-496 in my copy of the Eagle book.
Depending on what files you want to write to, there might be other ways. If you
are just
Try searching freshmeat (http://freshmeat.net/).
darren
BeerBong ([EMAIL PROTECTED]) wrote:
Hello all!
Are there any freeware content management systems kinda Zope or simpler on
Perl ?
What do you can recommend ?
Where I can search for its ?
Apache will expect to find perl.conf in conf/perl.conf relative to the value
in the ServerRoot directive, which is often the same as where the httpd.conf
is located, but not necessarily.
darren
Fernando Rowies ([EMAIL PROTECTED]) wrote:
The directives that ordinary be in perl.conf only worked
I have had similar problems, and the solution seems to be (not sure why) to
print the redirect the same way you would using CGI.pm and
$r-send_http_header and then return OK, as in:
use CGI;
use Apache;
use Apache::Constants 'OK';
sub handler {
my $r = shift;
my $q = CGI-new();
my
Jason,
If you don't *have* to use CGI scripts, you can stick the "sensitive" stuff
into $r-pnotes and do an internal redirect to another PerlHandler. The
browser would never see the sensitive info (it would be passed among handlers
on the server end), so this would go a long way to protecting
Hi,
WHy not just put each conf module in it's own namespace? Dir1::Conf and
Dir2::Conf, for example. Then, you could stick them into a single lib
directory, and not have to worry about modifying @INC or caching issues.
Another option is to ensure that each script has a 'use lib' at the
Hi Etienne,
CGI forms are "sticky"--they remember their value from the previous call,
even if you manually set a value. Try adding a -force=1 to the hashref
that gets passed into the submit function
($q-submit(-name='submit',-value='Modify',-force=1), for instance), which
should tell CGI.pm that
Brian,
How about using a hashref
$stuff = { a = '1', b = '2', c = '3' };
instead of a hash?
darren
Bryan K. Wright ([EMAIL PROTECTED]) wrote:
Hi folks,
I've been trying to store a hash in a session variable, using
code like that appended below. Call me a doofus, but I can't
the easiest way to tell if you have a module installed is
$ perl -MModule::Name
if you have the module perl will load it and wait (ctrl-d to exit), and if
you don't it will choke.
requires in eval { } 's is good for code that will be distributed and needs
to do different things based on
It looks like a big part of the problem might be that you are not defining
a username or database to access $db with. if you run the script from the
command line, mysql will use the ones defined in your environment.
I would add a few "or die"s and check $DBI::errstr when you do, or
print
A quick grep through v. 1.0.0 revealed no such list (i grepped for 'user_'
and 'mozilla' case insensitive).
darren
Jason Murphy ([EMAIL PROTECTED]) said something to this effect:
I remember that SlashCode (The ModPerl scripts that run Slashdot.org) has a
big listing of HTTP_USER_AGENT's in
Hi Drew,
Drew Schatt ([EMAIL PROTECTED]) said something to this effect:
Hi everyone-
I recently upgraded to Solaris 8, and I am using gcc as my
compiler. I removed the perl that came with the os, and recompiled
perl_5.6.0 and installed it. I need to run mod_ssl, mod_perl, php, and
BT ([EMAIL PROTECTED]) said something to this effect:
Assume you roughly have a one-to-one between scripts and web pages.
How do you write a script to display its own web page or efficiently
invoke another script/page? Redirect is slow. Can you exec, i.e.
can a cgi script exec another in
Jonas Nordström ([EMAIL PROTECTED]) said something to this effect:
But doesn't that only pass on the request and then return the HTML-files
unchanged? I also want to change the links inside the HTML-bodies on the
fly, so that the users can continue to "surf the intranet". For example, if
the
use IPO::Shareable qw(:NYSE);
my $ipo = IPO::Shareable-new($company);
$ipo-is_internet();
hype $ipo; # dangerous indirect syntax!
my $shares = $ipo-invest($LITTLE);
$ipo-inflate($HUGE); # Note that HUGE is not really a constant
$ipo-sell($shares); # may need to use
Scott Alexander ([EMAIL PROTECTED]) said something to this effect:
Hi,
I asked yesterday about using httpd.conf to set the AuthUserFile dynamically.
Maybe I'm trying to paddle up a creek in a barb wire canoe.
Is it possible to do something like below? i.e. use a variable in the
w trillich ([EMAIL PROTECTED]) said something to this effect:
while($domain = $sth-fetchrow_array)
{
$PerlConfig .= "CONFIG";
VirtualHost $ipAddr
ServerName www.$domain
ServerAdmin webmaster@$domain
ServerAlias $domain
DocumentRoot
Hi, all.
I am trying to figure out a way to set a PerlAuthenHandler (using
$r-push_handlers()) from a PerlInitHandler.
Here is what I have so far:
Location /test
PerlInitHandler Test::Init
/Location
package Test::Init;
sub handler {
my $r = shift;
#
# First try: gave me
I am trying to figure out a way to set a PerlAuthenHandler (using
$r-push_handlers()) from a PerlInitHandler.
Follo-wup with more info.
here is my auth sub:
sub auth {
my $r = shift;
print STDERR Data::Dumper-Dump( [$r], ['Apache']);
print STDERR "in auth handler\n"
return
Hi Drew,
How about writing a custom sort routine, based on the order you would be
using in the array, and returning that as a code ref? Sorting the hash
would be as simple as:
Common.pm:
sub
Ronald Schmidt ([EMAIL PROTECTED]) said something to this effect:
The full warning message on our system (Solaris, Apache 1.3.3, mod_perl
1.21?, perl 5.005_02) is:
[Tue Jun 13 17:37:25 2000] null: Use of uninitialized value at
/usr/local/lib/perl5/5.00502/CGI/Cookie.pm line 70.
We are
Michael Todd Glazier ([EMAIL PROTECTED]) said something to this effect:
As a way to speed up the CGIs but allow my designers easy access to
the html file, I'm executing an Apache::Registry CGI script from
within an .shtml document using #exec cgi . The Apache manual says to
prefer use of
Jeff Macdonald ([EMAIL PROTECTED]) said something to this effect:
Hi,
I found this interesting tidbit from the Eagle book on page 460:
... In addition, the message will be saved in the request's notes
table, under a key named error-notes. ...
And on page 454:
... For example,
Hello, all.
My question is probably more Apache-related than mod_perl related, but since
my output is being generated dynamically from a Perl module, I'll ask it here
first.
We are dynamically generating datebars for our sites using GD. The datebar
for the day is generated the first time a
David Hodgkinson ([EMAIL PROTECTED]) said something to this effect:
Hmmm...what about a variant of the proxied mod_perl?
Picture a lite bulk front-end apache doing the usual stuff then
proxying the mod_perl stuff back to a serverly (chargeably?)
process-limited apache with a different
Perrin Harkins ([EMAIL PROTECTED]) said something to this effect:
On Wed, 28 Jun 2000, Jim Peters wrote:
Embperl does it all for you in that it recognises all the various form
input tags, and puts default values in for you if they are missing, by
whichever means necessary (value=,
Steven Wren ([EMAIL PROTECTED]) said something to this effect:
Hey
I am setting up shopping facilities for an online purchases and thought I
would try modperl. Problem is I am trying to set a cookie and then read
from it in the same handler, by setting the cookie then redirecting to the
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect:
-Original Message-
From: darren chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 30, 2000 8:48 AM
To: Steven Wren
Cc: [EMAIL PROTECTED]
Subject: Re: Session Cookies:cant retrieve value
[snip
[EMAIL PROTECTED] ([EMAIL PROTECTED]) said something to this effect:
hi,
I've a strange pb in a PerlHandler, the subprocess seems to hang in a
$r-print ($r is Apache::Request) after a send_http_header() - wich do not
hang - when called with a POST method (after getting the content).
heddy Boubaker ([EMAIL PROTECTED]) said something to this effect:
"Darren" == darren chamberlain [EMAIL PROTECTED] writes:
Darren Apache::Request retrieves the POSTed content, so if you try to get
Darren it, the server will hang, waiting for input. With Apache::Request,
D
Drew Taylor ([EMAIL PROTECTED]) said something to this effect:
Hi all,
I am using an Apache Handler module to create my home page, using
Location /index.pl
SetHandler perl-script
PerlHandler ModuleName
/Location
I have DirectoryIndex set to "index.pl index.html", but the
Drew Taylor ([EMAIL PROTECTED]) said something to this effect:
Yes, use a PerlFixupHandler instead of DirectoryIndex. This use of a fixup
handler is detailed in the Eagle book.
Now that's a good thought. I already have a fixup handler to do my
browser sniffing. But rather than write another
heddy Boubaker ([EMAIL PROTECTED]) said something to this effect:
What I meant is a pkg that could generate all known HTML tags, not like
HTML::StickyForms ...
But all of you guys changed my mind instead of hardcoding the html into my
handler I'll try to investigate the use of
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
How do I use Apache::Registry to cache pages in disk? The module
I have
in mind is something transparent to the programmer, you just tell apache
that some CGI (or PHP, or any request) will be cached and
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
Hi,
The module would handle the requests before any other modules and check
in its database if there is a cached page for that request uri. If the
page is cached, it will send the cached page and
John Edstrom ([EMAIL PROTECTED]) said something to this effect:
The problem here is that you can't simply cache the page, because the
server and even the script can't know when to replace the cached page
until after its heard from the database or the source that is feeding
the database. It
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
The idea of a 404 handler will fit perfectly with mod_rewrite: I can
create a 404 handler that writes the page to a static file and to the
browser and a rewrite rule that redirects request of the dynamic
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
The problem I'm having is not to write the contents, the problem is to
get the contents I'm going to write. I must get the output of the
dynamic page (that can be CGI, PHP, SSI, or anything) before it's sent
Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect:
No, doesn't seem to matter in my case. Is there any place I can verify
that Apache has sent some data to the client?
try:
$ telnet myhost 80
GET / HTTP/1.0
(two carriage returns)
You should see what the server is sending.
Rob Tanner ([EMAIL PROTECTED]) said something to this effect:
There's always more than one way to skin a cat, and I've tried several.
This is what I really want to accomplish:
my $colleague = {};
@{$colleague} = { "status",
"id",
"last_name",
Steven Zhu ([EMAIL PROTECTED]) said something to this effect:
Hi All:
We have a script to output time and date. It used to work fine. Since
upgrdaing modperl (both apache and modperl are most recent version), the
script shows wrong time. If i run the script from command line, it wroks
fine
PHANI MADHAVI ([EMAIL PROTECTED]) said something to this effect:
IF AT ALL ANYBODY KNOWS HOW TO MAKE APACHE::DBI WORK,PLEASE HELP
The guide is quite clear on how to use and set up Apache::DBI:
http://perl.apache.org/guide/databases.html#Apache_DBI_Initiate_a_persist
Alvar Freude ([EMAIL PROTECTED]) said something to this effect:
Hi,
I want to create a service which filters HTML files like this:
http://www.a-blast.org/web-blast.html ==
http://www.a-blast.org/web-blast.plx?url=http://www.nsa.gov/programs/employ/
The user should enter a proxy in his
Yann Ramin ([EMAIL PROTECTED]) said something to this effect:
Hi.
I'm trying to redirect users via. a Location header (internal redirect
is not ideal - I need the browser to send the cookie to the page). The
problem is specifying the header in a header_out doesn't cause it to be
sent.
Mark Solomon ([EMAIL PROTECTED]) said something to this effect:
I have been using AuthenDBI for a while and, while I cannot isolate a
specific system change, apache gives a 500 error 1 out of 10 times with
this in the error_log:
I've tryed calling Apache::AuthenDBI from both the startup.pl
Saurabh Goyal ([EMAIL PROTECTED]) said something to this effect:
Hi,
I am new to apche and mod_perl. I am trying to write apache module to write
some additional parameters to transfer log (access.log). Is anybody have an
idea, how can we write additional stuff to access.log including the
Simpson, John scott ([EMAIL PROTECTED]) said something to this
effect:
Is there a module for state maintenance using a database and cookies?
Check out Apache::Session. Full featured session management, using whatever
method you like. Many of the examples show the use of cookies, so you
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect:
I was thinking about the same thing awhile back. It was interesting to me that
lots of neat applications are PHP based. I would like to be able to take the
processed PHP page and include it inside of my mod_perl page. I was
[EMAIL PROTECTED] said something to this effect:
On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote:
Until I write a VBScript to perl parser, yes you can only
use perl under Apache::ASP.
Ok, so are you actually going to write a VBScript to perl parser?
Has anyone considered using an approach
Chetan Patil ([EMAIL PROTECTED]) said something to this effect:
Hello,
We have a large code base printing header, body and footers to the STDOUT
from the cgi scripts. Since all these are print statements, we have to go to
extreme measures to make sure we donot print the content more than
Todd Caine ([EMAIL PROTECTED]) said something to this effect:
I've got a Perl Module which has a function called
RRDs::graph($args), that will only print to stdout. In my
handler I write something similar to:
STDOUT is where $r-print goes under mod_perl; you should be OK.
Failing this, does
mgraham ([EMAIL PROTECTED]) said something to this effect:
With the above I expect to be able to call the following in some
handler:
Foo::load_var()
...and $PACKAGE_LEXICAL should still be 'wubba'.
...Except that by calling Foo:load_var() you are setting $PACKAGE_LEXICAL
to undef (by
Gunther Birznieks ([EMAIL PROTECTED]) said something to this effect:
One book I would highly recommend on CVS is Open Source Development with
CVS by Karl Franz Fogel. I found it to be not only highly informative but
an incredibly fun read as well. Each of the semi-dry CVS chapters is
Angel R. Rivera ([EMAIL PROTECTED]) said something to this effect:
I authenticate against a database but need to carry more information than
just their name so if I have read the readme at CPAN correctely, this just
may do the trick. Thanks to all who have written me. -ar
depending on how
Brady Richards ([EMAIL PROTECTED]) said something to this effect:
hi all,
this is probably a bone headed question, but two of us here have been
beating our heads against it for a day and a half now, so i figure i
might as well ask (since i couldn't find an answer in the docs or the
Alex Menendez ([EMAIL PROTECTED]) said something to this effect:
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.
If all you are trying to do is get the raw output, use LWP and a
Angel R. Rivera ([EMAIL PROTECTED]) said something to this effect:
Ok folks, I am stumped.
I am writing an authentication handler for our site and so far so good-it is
coming on line. It makes sense. What does not make sense is how can
I log myself off without having to exit the browser?
Joe Pearson ([EMAIL PROTECTED]) said something to this effect:
I thought you could set a cookie for a different domain - you just can't
read a different domain's cookie. So you could simply set 3 cookies when
the user authenticates.
You sure can -- otherwise Navigator wouldn't have the "Only
Michael ([EMAIL PROTECTED]) said something to this effect:
H.
When I retrieve a cookie
%cookies = Apache::Cookie-fetch;
I get a hash that contains the name of the cookie as the key and a
scalar reference as the value.
Apache::Cookie=SCALAR(0xblah...)
Can't seem to unravel
Lord Vorp ([EMAIL PROTECTED]) said something to this effect:
Is there an easier/cleaner way to do this???
Yes:
# cat ~/build_mod_perl
perl Makefile.PL APACHE_SRC=../apache-1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1 \
APACI_ARGS='--prefix=/usr \
--with-layout=RedHat
John Reid ([EMAIL PROTECTED]) said something to this effect:
Hi Guys
*snip*
server start. I experimented with IPC::Shareable, but when I attempted
to do anything with it in my startup.pl file it segfaulted the server
and httpd would not start.
Hi John,
If IPC::Sharable is failing for you,
Bjørn Ola Smievoll ([EMAIL PROTECTED]) said something to this effect:
[Sorry for being so verbose, hope somebody still have the time and
patience to read it all].
I have a setup where a PerlTransHandler registers a PerlContentHandler
based simply on whether $r-uri ends with '.html' or not.
[EMAIL PROTECTED] ([EMAIL PROTECTED]) said something to this effect:
What I'd like to do with a particular type of error is redirect with all the
parameters passed to the error-inducing script plus one tacked on for good
measure.
So if /blah/foo.pl?bar=1 was the script that generates the
Hi All.
This is a curiosity question, mostly. I have a simple method of sending
debugging messages to the error log:
use constant DEBUG = 1; # Set to 0 to turn off debugging throughout
sub debug ($) {
if (DEBUG) {
return carp sprintf "[%s] [%s] %s", scalar caller, scalar localtime,
Chris Brooks ([EMAIL PROTECTED]) said something to this effect:
I tried setting the PerlHandler back to cgi-script (in the lower-level directory),
but that did not turn the Wrapper handler off:
Location /www/perl/htdocs/lower_level
That should probably be Directory. As written, it
Chris Brooks ([EMAIL PROTECTED]) said something to this effect:
You're absolutely right, the mistake is mine.
I have tried writing the config files a couple of ways:
Location /store
SetHandler cgi-script
/Location
and
Directory /www/perl/htdocs/store
SetHandler
Greg Cope ([EMAIL PROTECTED]) said something to this effect:
$r-header_out(Location = 'http://' . $r - server - server_hostname .
$r-uri());
Seems easy - will add it in.
It's not that simple, of course -- you need to maintain port numbers and
all that. I recommend using Apache::URI --
Scott Dayberry ([EMAIL PROTECTED]) said something to this effect:
I'm trying to configure a single box to host completely separate instances
of development and test versions of the same code base (currently 49
modules).
Right now I have 2 virtual hosts configured on the same IP and
Jacek Ostrowski ([EMAIL PROTECTED]) said something to this effect:
hi,
I have a litle suggestion to Apache::Registry -
I tried to change it to allow script writers
to see compile errors in a browser.
I'am using mod_perl at my work ( its great - you know )
but there are few other
ASHISH MUKHERJEE ([EMAIL PROTECTED]) said something to this effect:
Hey all, I am in need of some help. Can anyone pls. tell me how I can pass data from
a Handler to a script ? Can any session data etc. withing a Handler be made
accessible within a script ? Also, how can I pass data between
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect:
I am trying to get the MHonArc package to work in conjunction with an in
house module.
When MHonArc (http://www.mhonarc.org) is run and told to process a
single file instead of a directoy full of files, it sends the output to
kevin montuori ([EMAIL PROTECTED]) said something to this effect:
David Hodgkinson writes:
prebuilt solves the problem nicely for people running linux;
however, that's not everybody. i'm sure there are sun shops out
there without the sysadmin expertise to download and
--
Half of all epigrams exaggerate, and this is one of them.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Aaron,
Check out the section titled "Using a Translation Handler to Change the
URI" in Chapter 7 of the Eagle book, at
http://www.modperl.com/book/chapters/ch7.html#Using_a_Translation_Handler_to_C.
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect:
Is there a module that
Jeff Sheffield ([EMAIL PROTECTED]) said something to this effect on 12/18/2000:
here is a portion of my conf file.
--
Location /websites/foo.net/htdocs/
AuthName "foo"
AuthType Basic
*snip*
Are you sure you want a Location here? This looks
I am looking for some feedback, and possibly an idea for a name for this
module.
In my experience, one of the problems with template modules like
HTML::Template, TemplateToolkit, HTML::Mason, and the others, is that
they are *toolkits* -- there is no fast way to go from Perl module to
output.
How about this:
### Code:
(my $text ='foo') =~ s/^\s+://mg;
:h1Hello, World!/h1
: pa href="http://foo.org/"I/a am an indented link./p
: pSo am a href="http://bar.org/"I/a./p
foo
print $text;
### Output:
h1Hello, World!/h1
pa
Yung Kwong Wing ([EMAIL PROTECTED]) said something to this effect on 12/29/2000:
I have encountered the problems with carrying out:
Here is your answer:
configure:Error: No such rule named 'EXPAT'
Checking for LWP::UserAgent..failed
Checking for HTML::HeadParserfailed
The
Oleg Bartunov ([EMAIL PROTECTED]) said something to this effect on 01/02/2001:
You can explicitly bind an apache server to localhost.
This works only if frontend and backend are on the same physical server.
But it will not works even in this situation if you have several
proxies running
Jacqui Caren ([EMAIL PROTECTED]) said something to this effect on 01/09/2001:
Location /pgc
SetHandler perl-script
PerlHandler PGC:;Handler
^
/Location
* snip *
Location /
SetHandler perl-script
PerlHandler PGC:;Handler
^
/Location
* snip
andrewl ([EMAIL PROTECTED]) said something to this effect on 01/16/2001:
Invalid command 'Order' on line 333 in httpd.conf.
This will appear if you disabled mod_access via something like
'--disable-module=access' in your APACI_ARGS Apache configure commands.
(darren)
--
In the fight between
Vincent Apesa ([EMAIL PROTECTED]) said something to this effect on 01/23/2001:
Hello all,
I'm trying to modify the query string from the client before sending it
off again. I would like to do something like so:
http://www.xyz.com?one=1 and modify the uri to
http://www.xyz.com?one=2
Wang, Pin-Chieh ([EMAIL PROTECTED]) said something to this effect on
01/24/2001:
From: "Wang, Pin-Chieh" [EMAIL PROTECTED]
To: "Mod_perl list (E-mail)" [EMAIL PROTECTED]
Subject: Verify DSO
Date: Wed, 24 Jan 2001 15:40:53 -0600
Any body know How to verify the Apache I just build is a DSO?
Christopher L. Everett ([EMAIL PROTECTED]) said something to this effect on
01/28/2001:
package simian;
use fields qw (name);
sub new {
my $type = shift;
my class1 $self = fields::new(ref $type || $type);
$self-{name} = 'Jane';
return $self-{name}; # error here
}
Why aren't
Paul J. Lucas ([EMAIL PROTECTED]) said something to this effect on 01/30/2001:
Perhaps I've missed it, but is there a better way than the
"notes" mechanism to pass data among handlers?
The "notes" mechanism not only requires the notes to be
scalars, but, apparantly,
harilaos ([EMAIL PROTECTED]) said something to this effect on 01/30/2001:
I want to create a username and password when a user enters my site,
then pass these values to apache to authenticate. Then i could
have the REMOTE_USER variable available throught the users
stay at my site.
You want
Drew Taylor ([EMAIL PROTECTED]) said something to this effect on 01/30/2001:
I have a slightly different twist on this question. We run Registry
scripts on our site for debugging purposes. I would love to have a
module for saving variables/data structures on a per-request basis
(like the
Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001:
However, at the end of the template processing, the object is not
destroyed; that is, the DESTROY() method is never called, and
therefore the tied hash never gets untied and Apache::Session::MySQL
doesn't get a
Kevin Dabson ([EMAIL PROTECTED]) said something to this effect on 02/08/2001:
Date: Thu, 8 Feb 2001 11:04:35 + (GMT)
From: Kevin Dabson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Need alittle help with something
Hello,
I am trying to integrate a whois type tool that allows
Pierre Phaneuf ([EMAIL PROTECTED]) said something to this effect on 02/12/2001:
I spent two days trying to make my "virtual document" PerlHandler work
from various locations, which I had thought to be really easy, by simply
looking at the path_info to determine what virtual document to bring
Jamie Krasnoo ([EMAIL PROTECTED]) said something to this effect on 02/26/2001:
I'm not quite sure how this works, and maybe I missed it in the Eagle book.
I have a handler set in httpd.conf like this:
Location /
Set-Handler perl-script
PerlHandler app::main
/Location
Now
Matt Sergeant ([EMAIL PROTECTED]) said something to this effect on 03/02/2001:
...now that I've developed applications that make rather extensive
use of the Apache API, I would actually love to have an environment
similar to CGI but providing the full Apache API, including logging,
John Whitnack ([EMAIL PROTECTED]) said something to this effect on 03/08/2001:
We are running Apache 1.3.17 and mod_perl 1.25 on Solaris 7.
The problem I am having is that when I type:
http://my.domain.name
I get a error message:
The document contained no data.
Try again
Nikolaus Rath ([EMAIL PROTECTED]) said something to this effect on 03/09/2001:
Location Bla
Perl
my $o = { "bar" = 1,
"foo" = "com",
"other" = 0 };
push @PerlSetVar, "Objekt, $o;
/Perl
PerlHandler Bla
/Location
And
Ken Williams ([EMAIL PROTECTED]) said something to this effect on 03/12/2001:
[EMAIL PROTECTED] (darren chamberlain) wrote:
I just found Apache::Storage URL:http://tangent.org/Apache-Storage/,
which will let you store complex data structures from httpd.conf:
I wonder why I've never heard
Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001:
Is the ENV hash sanitized and repopulated between the time the Perl*Auth
handlers are run and the requested cgi is executed? I am setting an ENV key
in one of my handlers that I'd like to use in a cgi that resides
Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001:
Well, with the subprocess_env(), I can see the key that I set in my cgi now,
but the value that I set the key to is a Hash reference that I need to use
in my cgi. Unfortunately, all I get now is ENV{'TEST_VAR'} =
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect on 03/15/2001:
Gene Dascher ([EMAIL PROTECTED]) said something to
this effect on 03/15/2001:
Well, with the subprocess_env(), I can see the key that I
set in my cgi now,
but the value that I set the key to is a Hash
daniel ([EMAIL PROTECTED]) said something to this effect on 03/19/2001:
hello all,
i've got a registry script that issues a subrequest for a php page that
issues a subrequest on another registry script.
registry-php-registry
the initial registry script sets:
$r-notes("seen"=
1 - 100 of 215 matches
Mail list logo