> should run without any rewrite as cgi script and you should have the same
> functionality
>
> Gerald
>
> > -----Original Message-
> > From: Allen Haim [mailto:[email protected]]
> > Sent: Thursday, December 29, 2011 10:13 AM
> > To: embperl
Hi all,
I've recently had to migrate my (working) Embperl website to a new server
which doesn't have the possibility of installing Apache, but has nginx
instead.
Is it supposed to be possible to get my site up again with nginx, and, for
example, embpfastcgi.pl?
In other words, will all of the sa
Gerald, is it possible this is a bug:
I notice that your validation for the Number type uses this regex:
/^\s*[0-9+-.][0-9.eE]*\s*$/
However, that fails on a value such as 9.516e-5, which is a valid float.
I believe you need to add a negative sign to the second character class:
/^\s*[0-9+-.][0
I had the same problem -- the problem is that CGI.pm is still using the old
Apache namespace.
I'm not at work so I don't remember exactly, but I believe you have to get
the latest CGI.pm, which has been updated for Apache2.
Don't try to install Apache::Response -- basically anything Apache::xxx
> Is the called script a standalone CGI script or is it executed under
> mod_perl?
I would like to try both. Should both work?
> Did you done a
>
> use Embperl ;
> ?
In my httpd.conf I have
PerlModule Embperl
LoadModule embperl_module
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/a
ake the Apache Request Record and it returns a reference to
> %udat, so jus call it as
>
> $udat = Embperl::Req::GetSession();
>
> This should work.
>
> Gerald
>
>
--
happy random snippet from Allen Haim reviewing Allen Haim:
He often begins a song with a story of t
wrote:
> > Yeah I just did. You get so into following directions, you forget to
> > follow your common sense
> >
> > Ruben
> >
> >
> > On Wed, Jun 08, 2005 at 03:37:50PM -0700, allen haim wrote:
> > > you're going to have to install th
seSource.pm line 8.
> BEGIN failed--compilation aborted at
> /usr/src/embperl/xsbuilder/ParseSource.pm line 8.
> Compilation failed in require at xsbuilder/source_scan.pl line 4.
>
> On Tue, Jun 07, 2005 at 02:23:34PM -0700, allen haim wrote:
> > This works for me:
> >
&g
This works for me:
cvs -d ":pserver:[EMAIL PROTECTED]:/home/cvspublic" login
cvs -d ":pserver:[EMAIL PROTECTED]:/home/cvspublic" co embperl
Then:
perl xsbuilder/source_scan.pl
perl xsbuilder/xs_generate.pl
(this generates a lot of messages like 'Can not determinate method name for
...'; these a
print OUT 'allen' ;
>
> Or you have to put a
>
> select(OUT) ;
>
> At the top of your script.
>
> >
> > Finally, I added the line:
> >
> > select((select(STDOUT), $| = 1)[0]);
> >
> > in header_test.pl.
> >
> &g
e2/cgi-perl/warreng/header_test.pl);
>
> ?
>
> On Thu, Jun 02, 2005 at 05:01:15PM -0700, allen haim wrote:
> > Hi,
> >
> > Could someone please help with this Syntax=Perl problem?
> >
> > ---
> > /notemplate/test3.html:
> >
> >
Hi,
Could someone please help with this Syntax=Perl problem?
---
/notemplate/test3.html:
[-
$r = shift;
Execute({
inputfile => '/usr/local/apache2/cgi-perl/warreng/header_test.pl',
syntax => 'Perl',
output => \$out,
#options => 256,
Hey, it works again! Thanks Cliff and Gerald.
At some point, I added the line
PerlSetEnv EMBPERL_OPTIONS 16384
to my conf (i.e. optEarlyHttpHeader)
I don't know why I thought I needed this. I have just deleted that line, and
everything works again.
It makes sense -- if the headers are sent ea
As far as my last question goes, about embedding an ordinary CGI script in a
page, I believe one way to do it is with LWP::UserAgent and just make an
HTTP request. But if someone knows a better way, it'd be great to know.
-Allen
--
happy random george orwell advice for making tea:
If y
f ($something_went_wrong) {
> $$test = 1;
> exit;
> }
> -]
>
> --
> Andrew O'Brien
> Development Manager
> e: [EMAIL PROTECTED]p: +61 2 9461 0114
> w: www.oriel.com.auf: +61 2 9431 6700
>
> > -Original Message-
> > F
Uh wait, scratch that; it still doesn't work.
After I made those changes I browsed to my application and noticed the data
was being saved, so I looked in the cookie manager and saw the cookie.
But now, no more. Nor does the wget -S on the simple example return the
right headers.
So I'm still stu
:19PM -0700, ___cliff rayman___ wrote:
> allen haim wrote:
>
> >OK, I've looked in /tmp, and I see a file with the same name as the
> >_session_id key in %udat.
> >
> >Looking in that file, I see some control characters throughout, I see my
> >data in plain t
Hi,
How do I abort the flow of my current Embperl page and bring up a different
Embperl page?
If I use Execute, it puts the other page inside the calling page, but I
would like to discard the calling page entirely and just bring up the new
page.
Do I use Execute for this or something else?
Than
on, Apr 18, 2005 at 09:11:45PM -0700, ___cliff rayman___ wrote:
>
> allen haim wrote:
>
> >wget -S gives me:
> >
> >---
> >1 HTTP/1.1 200 OK
> >2 Date: Mon, 18 Apr 2005 15:01:31 GMT
> >3 Server: Embperl/2.0rc2 Apache/2.0.52 (Unix) mod_perl/1.9
supposed to set
a cookie immediately?
Incidentally, I looked inside %udat earlier, and noticed that someone had
set the _session_id field set to 2515f2069584f2fe5b4fccd144e1f207. So, some
magic is clearly going on.
Allen
On Mon, Apr 18, 2005 at 02:02:19PM -0700, ___cliff rayman___ wrote:
> allen ha
Hi Gerard and friends,
How do I troubleshoot problems with session handling?
Simply put, putting values in %udat doesn't work any more.
I can see in Mozilla's Cookie Manager that the cookie isn't being set, and I
am also not getting my values back out of %udat.
I'm using Apache::SessionX with n
Hi,
I can wait for the release -- it's not that urgent.
But I don't understand: in order to call Embperl::Req::SetupSession, I need
run gbrowse under Embperl, right? So what are the steps to make this
ordinary cgi script run under Embperl, so that I don't have to modify the
script at all?
Or do
Hi Gerard & others,
Here is what I would like to do:
There is a script called 'gbrowse', which I didn't write, but which I need
to call from within my embperl application. This script works by printing to
STDOUT.
So why not just keep it in my Apache::Registry directory and call it like
an ordin
mbperl::Session just yet..
> >
>
> Yes, it's a drop in replacement.
>
> Just remove the Embperl_Session_handler_class directive and Embperl should
> pick up Apache::SessionX. Of course you should have installed
> Apache::Session and Apache::SessionX
>
> Gerald
>
Hi,
Can someone help me understand this message please? It seems I can't
initialise the Embperl session manager because:
--
[Wed Feb 23 17:59:15 2005] [notice] SIGHUP received. Attempting to restart
[6803]ERR: 66: Embperl Session handling DISABLED because of the followi
e initial load.
>
> I'd really suggest passing through these arguments directly. Ie
>
>
>
>
>
>
> You can then use $fdat{a} etc in the subpages directly.
>
> --
> Andrew O'Brien
>
> > -Original Message-
> > From:
-
> ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
> -------
>
>
> > -Original Message-
> > From: allen haim [
Hi,
I've narrowed down the problem I was referring to in my previous letter. Try
this:
bottom.html:
#
bottom
this is the bottom
the value is: [+ $udat{'a'} +]
#
first hit -- but extremely slowly.
I also tried such things as
my $udat = Embperl::Req::SetupSession($req);
and
$req->SetSessionCookie;
but it says they are not implemented.
Thanks for any help,
Allen Haim
--
happy random george orwell advice for making tea:
The
29 matches
Mail list logo