> When I run a CGI program as such, hostname works. When I run it under
> Aapche::Registry, it fails. Can anyone understand why? Sorry, I am
> new to all this.
>
> [error] Cannot get host name of local machine at
> /home/httpd/dbi/frame_control.cgi line 13
>
> use Sys::Hostname;
>
> my $ho
The URL
ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.2b11.tar.gz
has entered CPAN as
file: $CPAN/authors/id/GRICHTER/HTML-Embperl-1.2b11.tar.gz
size: 255406 bytes
md5: ada4317a5ebcb2c8b3aa90ff446739b9
Embperl is a module for embedding Perl code in HTML pages. See
http://per
"C. Jon Larsen" wrote:
>
> One of the main reasons I use mod_perl is because of the pre-fork caching
> I can do in the parent that the children can share cheaply. I take huge
> data structures and assemble them in ram as read-only databases (read
> hash tables) that are much faster and simpler to
One of the main reasons I use mod_perl is because of the pre-fork caching
I can do in the parent that the children can share cheaply. I take huge
data structures and assemble them in ram as read-only databases (read
hash tables) that are much faster and simpler to access than sql (I use
sql only
Hi,
I have more or less the same problem as Ben here. mod_perl appears to leak
memory on SIGHUP proportionately to the number of extra Perl modules loaded
into the interpreter (though without any PerlRequire directives or
PerlHandlers or sections it still leaks about 64k of memory on each
SIGHU
Hello,
I use the standard Embperl mechanism
for session handling (with DBI), latest
version of Embperl and Apache::Session.
The Apache::Session docs mention
tied(%session)->delete;
as a way to permanently delete a session
from storage.
tied(%udat)->delete; "empties" the session
data, but the se
True. For general or public use, this would be a big issue. However,
we use this for an intranet/extranet application, and strictly control
who (and what and where also) can access the http servers. Eventually
the whole mess gets put into Oracle on the back end via a package
procedure (in a date
Dear folks,
When I run a CGI program as such, hostname works. When I run it under
Aapche::Registry, it fails. Can anyone understand why? Sorry, I am
new to all this.
[error] Cannot get host name of local machine at
/home/httpd/dbi/frame_control.cgi line 13
use Sys::Hostname;
my $hostname
Dear folks,
I am installing and setting up a RH 6.1 system with (quoting
/var/log/httpd/error_log):
Apache/1.3.9 (Unix) mod_ssl/2.4.6 OpenSSL/0.9.4 mod_perl/1.21 configured
When I put use Apache::DBI (); into my startup.pl, or PerlModule
Apache::DBI into my perl.conf, then httpd stops with a sem
> I'm assuming that Perl itself is reentrant, since it has been embedded
> in multithreaded environments before (IIS). Hopefully someone can
> comment on that.
>
Perl 5.005 has experimetal thread support, Perl 5.006 might be stable
enought to really use it.
What ActiveState has done for IIS, is
> So I'm starting development on a project with multiple components
> which will
> be talking to an Oracle 8 database, and I'm trying to understand what the
> various options are.
>
> The project will consist of HTML::Embperl pages, modperl CGIs, and random
> Perl processes, all of which will conn
There was a short discussion a while ago about getting mod_perl working
with Apache 2.0. Since Apache 2.0 can actually be built and run on a
few platforms now, I think it is worth taking a lot at this for real.
As far as I can tell, these are the broad things that need to be done:
*Make all mod
Dear Edmund,
thank you for taking the time to reply.
Edmund Mergl wrote:
> in case you are using the stock rpm's fo apache and mod_perl, the solution is
> rather simple:
>
> compile apache with mod_perl from the sources and install just the binary
> httpd (you can rename it as httpd_modperl).
>
On Tue, 2 Nov 1999, John S. Evans wrote:
> So I'm starting development on a project with multiple components which will
> be talking to an Oracle 8 database, and I'm trying to understand what the
> various options are.
Pretty much everyone uses Apache::DBI. With Oracle, you can even get real
con
Hi all,
This is the first time I've tried build mod_perl, although I've compiled
Apache several times with no trouble. First of all I just want to use it
to speed up my CGI scripts, then to add footers and stuff like that.
Maybe I'll get into the fancier things later.
I'm using Apache 1.3.9 (f
So I'm starting development on a project with multiple components which will
be talking to an Oracle 8 database, and I'm trying to understand what the
various options are.
The project will consist of HTML::Embperl pages, modperl CGIs, and random
Perl processes, all of which will connect to the da
On 03-Nov-99 Gerald Richter wrote:
>>
>> That'll work but you'll end up with an extra ampersand on the
>> end. Here map()
>> and join() are your friends:
>>
>> [- $http_headers_out{'Location'} = q(edit.html?) . join('&',
>> map({$_=$fdat{$_}}
>> keys %fdat)) -]
>>
> Yes, that's more elegant, but
>
> That'll work but you'll end up with an extra ampersand on the
> end. Here map()
> and join() are your friends:
>
> [- $http_headers_out{'Location'} = q(edit.html?) . join('&',
> map({$_=$fdat{$_}}
> keys %fdat)) -]
>
Yes, that's more elegant, but is it possible that you forgot a qq before
{$_=
> thanks Michael! I've committed your change to the cvs tree.
actually, Eric Cholet did, mine failed, cvs rocks. need more coffee.
cvs server: Up-to-date check failed for `Changes'
cvs server: Up-to-date check failed for `src/modules/perl/Apache.xs'
cvs [server aborted]: correct above errors f
Javier Viveros:
> Hi from Paraguay. Did anyone wrote a chat client with mod_perl??? I am on
> that project now, and it will be helpfull to read another source code.
> Greetz and sorry for my poor english level.
I have written a chat server and client that works with modperl.I plan to
release it b
> Granted we're running an older copy of mod_perl; but when we noticed
> that we were getting hammered by the spam of "rwrite returned -1"
> in our log files, I took a look at the source code. I then compared
> it to the current source code; I believe I have found a programming
> logic error that
Hi from Paraguay. Did anyone wrote a chat client with mod_perl??? I am on
that project now, and it will be helpfull to read another source code.
Greetz and sorry for my poor english level.
I'm trying to update to 1.3.9+1.21 but I'm having various problems:
1) The makefile seems to try to run ../apaci even though perl is two levels
deep, so it can't find ../apaci, it would have to be ../../apaci
===> src/modules/perl
gcc -I. -I../../include -I../../include/regex -I../../include
[EMAIL PROTECTED] writes:
> Thanks Greg
>
> > I strongly suggest you move the images to a separate hostname
> > altogether. The
> > proxy is a good idea but there are other useful effects of
> > having a separate
> > server altogether that I plan to write about in a separate
> > message sometim
>
> * Most CGI apps do text processing, where perl excels at
>
> Well, if the trend continues we ought to learn Java some day :)
>
Java is magnificent, but VERY BURDENSOME when it comes to doing any kind
of text processing or designing tricky structures. There are plenty of
packages and tools
Jeffrey Baker <[EMAIL PROTECTED]> writes:
> That's what the driver handle's ping method is for.
>
> if (!$dbh->ping) { &reconnect; }
I suppose I could do a ping before every page, but really that's only a kludgy
work-around. Really I would want to do this before every single query, and the
rig
That'll work but you'll end up with an extra ampersand on the end. Here map()
and join() are your friends:
[- $http_headers_out{'Location'} = q(edit.html?) . join('&', map({$_=$fdat{$_}}
keys %fdat)) -]
On 03-Nov-99 Gerald Richter wrote:
>>
>> I use HTML-Embperl-1.2b10:
>>
>>
>> How make $http_
> "MD" == Michael Douglass <[EMAIL PROTECTED]> writes:
MD> Notice that if len < HUGE_STRING_LEN; we REQUEST to write 'len' bytes,
MD> but we only write 'sent' bytes. If 0 < sent < len; then we iterate
MD> back over this while loop because len > 0 after the len -= sent command.
MD> On the nex
>
> I use HTML-Embperl-1.2b10:
>
>
> How make $http_headers_out{'Location'} ,so as
>
> redirect
>
I would try
$url = "http://$ENV{SERVER_NAME}/path/to/edit.html?" ;
while (($k, $v) = each (%fdat))
{
$url .= "$k=$v&" ;
}
$http_headers_out{'location'} = $url ;
Gerald
Stas Bekman wrote:
[slashdot summary snipped]
> Well, if the trend continues we ought to learn Java some day :)
Ha! Well they are going to have to make JServ operable at some point if
they want to replace Perl. Seriously, could they make their
configuration process more opaque? I went to the
Hi!
I use HTML-Embperl-1.2b10:
How make $http_headers_out{'Location'} ,so as
redirect
--
ó ÎÁÉÌÕÞÛÉÍÉ ÐÏÖÅÌÁÎÉÑÍÉ, å×ÇÅÎÉÊ âÙÒÇÁÎÏ×.
Best regards, Eugene Byrganov
mailto:[EMAIL PROTECTED].
work - http://www.inp.nsk.su/
Randal,
This is a nice package, but I have some questions:
> my $host = $r->get_remote_host;
> return DECLINED if $host =~ /\.(holdit|stonehenge)\.com$/;
You have host name lookups turned on? That's not very performance friendly.
And you've just published how to get around your thro
No. This is not true. If browser gets 401 in response to request with
user authentication then it pops up the dialog box. And only if user
clicks "Cancel" then it displays the Authentication failed document.
Only if you send 403 then browser will not prompt user for new user
name and password.
A
G'day all,
I've been having similar problems to Michael Wright, building
mod_perl-1.21 on Linux 2.0.36 (Debian slink) with apache 1.3.9 and
perl 5.005_61.
I've been trying a static build ... in the final link of
httpd, two symbols (perl_eval_sv, perl_eval_pv) are used by mod_per
Perl Domination in CGI Programming?
http://slashdot.org/askslashdot/99/10/20/1246241.shtml
It seems to be a good candidate to be posted on perl.apache.org site, and
to send people to, when the next "is perl/mod_perl good for CGI and why?"
question hits the list.
It was nice to see the names of
Hi,
this is an informal job posting to announce that we will very likely be
hiring soon. The job isn't there yet but we will want to find someone as
fast as possible as soon as we move on to the next phase in our
development, so if you are interested please send me your resume as well as
36 matches
Mail list logo