Hi
Ensure you have MD5 installed (Different to Digest::MD5). I'm sure you have or your
test script would fail at the "use MD5;" line. Instead of putting the line "use MD5;"
in your embedded perl - try putting the following line in your apache conf file along
with your session handling stuff:
Hi,
>
> I was just wondering if there is anything that can be done to "hide"
> email addresses (or at least make them a little more obscure) in the
> Embperl mailing list archive. This is because of the spambots that
> reportedly harvest addresses from websites. I have noticed that the
> archive
Hi,
>
> Doesn't look like DBIx::Recordset supports composite primary keys - is
> that by design or it just a feature you haven't needed?
>
I didn't need it so far. A long time ago somebody submitted a patch to me
that builds compsoite prim key support into DBIx::Recordset, but it had such
a high
Hello
>
> Is it feasible to try to use
> embperl on a hosted site that
> doesn't have mod_perl?
>
You can run Embperl as CGI. That's of course slower than using mod_perl but
it works. The current CVS version of Embperl also supports FastCGI. Since
FastCGI needs not to be compiled into the web ser
>
> I have a really big problem now. We are going to install our first
application
> but we need to hide the sourcecode. User should be not allowed to get the
> source. Is there any way to do it?
>
> Thank you for help.
>
> This is very important since we cannot install it until it can be done.
>
>
> I have an authentication system that uses the Apache::Session::MySQL
> backend with cookies to handle authentication.
>
> Sequence I use is:
>
> 1) Get username and password
> 2) If ok, generate a sessionkey and set
> $udat{'sessionkey'}=gen_sessionkey($username)
>
> However, every now and the
>
> Whoops, sorry, didn't mean to send that to the whole list.
Why not ? It's not too long and if anybody else runs into the same problem
as you, he has already a solution...
Gerald
-
Gerald Richterecos electronic communication ser
>
> I recently decided to upgrade Storable and Apache::Session; the base
> system is a RedHat 7.1 installation of Perl v5.6.0.
>
> Versions I have are found at:
>
One of those module didn't require MD5 anymore, so it's not loaded as it was
with the old versions. That's why loaded MD5 solves your
Hi,
> HTML::Embperl::Req::SetupSession($req_rec);
> my %udat = HTML::Embperl::Req::GetSession;
>
> if (exists $udat{user}) {
>
GetSession returns a reference to hash, so you have to write:
my $udat = HTML::Embperl::Req::GetSession;
if (exists $udat->{user}) {
but you don'
This answer seems to have gone lost somewhere, so here is it again...
- Original Message -
From: "Gerald Richter" <[EMAIL PROTECTED]>
To: "Lukas Zapletal" <[EMAIL PROTECTED]>; "Konference EmbPerl"
<[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 4:20 AM
Subject: Re: Hiding the source co
I have $escmode = 7 and $optRawInput = 1.
now, that seems to fix the issue i was having with saveing the format of the
input string. now, if I have a statement such as this: This could not be a
good "TEST", life is good, the double quotes are saved into the database and
when i bring the recor
Thanks that did solve the issue i was running into.
-Original Message-
From: Dimitar Peikov [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 7:14 AM
To: Boyd, David
Subject: Re: Help working with html, embper, and oracle
Use this :
$sql = "INSERT INTO incident (incident.q2, in
What version of MySQL is being used? I had a case of using 3.23.34 and there
apparently is a threading bug that was fixed in .35. I'd see the UPDATE command go
into the DB for the session, but it was actually never taken effect.
Bill "Elvis" Gibbs
goEbusiness.com - putting e-motion in your bu
Hi!
I'm trying to develop a net site with HTML::Embperl, but im getting some
"newbie" problems.
What i want to do:
have embedperl code in ~/gestdep/ehtml and subdirs.
Use .ehtml extension to embperl code
what i tried:
amongst other combinations, i added the following to commonhttpd.conf
--
Alia
Hi,
I'm trying to setup sessions using apache 1.3.22, mysql 3.23.36,
Apache::Session 1.54, Embperl 1.3.3. I have created a table in a mysql
db just as described in the documentation, and I have the following
apache (relevant) configuration:
PerlSetVar Allow yes
> Alias /gestdep /home/irm/gestdep/ehtml
>
> #PerlModule Apache::Registry
> AddType text/html .ehtml
>
This will not work does not accept wildcards. If you need this
you have to use LocationMatch
> SetHandler perl-script
> PerlHandler HTML::Embperl #Apache::PerlRun
> Options -Ind
>
>
>
> PerlSetVar Allow yes
> SetHandler perl-script
> PerlHandler HTML::EmbperlObject
> PerlSetEnv EMBPERL_OBJECT_BASE template.epl
> PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
> P
I have a experimental site
with these allowances and restrictions:
Allowed: cgi-bin (call #!usr/local/bin/perl
Allowed: apache
Allowed: can fpt .pm files into localmodule directory
and add that directory to @INC
Restriction: no shell access
Restriction: apache does not have mod_perl
I want to
Elvis!
[root@localhost /root]# rpm -qa | grep mysql
mysql-3.23.36-1
php-mysql-4.0.4pl1-9
mysqlclient9-3.23.22-4
mysql-server-3.23.36-1
mysql-devel-3.23.36-1
DSL
--
If we could extract all the evil from each of us,
Think of the world that we could create!
A world without anger, or violence or
H...
> There are two things that I could image. Either for whatever reason your
> sessions never goes into the database, in this case %udat will behave like a
> normal hash and it works as long as you hit the same child. (You will hit
> the same child as long as your KeepAliveTimeout isn't o
Andy,
Thank you for your help. Gerald's comment about SetupSession passing a hash
ref and not a hash primarily resolved my problem!
I am curious though. I have experimented with the Apache::is_main()
function over the last few days, and can't quite figure it out. I would
have presumed that
On Tue, Oct 30, 2001 at 03:56:13AM +, alan milligan wrote:
> I am curious though. I have experimented with the Apache::is_main()
> function over the last few days, and can't quite figure it out. I would
> have presumed that this would indicate a direct GET/POST request as opposed
> to a
22 matches
Mail list logo