Re: security!

2001-03-01 Thread Vladimir Ivaschenko
security concious admin, i > should not make modperl+embperl available to my user? > **** > -- Best Regards Vladimir Ivaschenko RedHat Certified Linux Engineer (RHCE)

Re: external access to intranet

2000-04-05 Thread Vladimir Ivaschenko
0 Vladimir Ivaschenko wrote about "Re: external access to intranet": > Jonas Nordstr?m wrote about "RE: external access to intranet": > > > But doesn't that only pass on the request and then return the HTML-files > > unchanged? I also want to cha

Re: external access to intranet

2000-04-05 Thread Vladimir Ivaschenko
Jonas Nordstr?m wrote about "RE: external access to intranet": > 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

Re: external access to intranet

2000-04-05 Thread Vladimir Ivaschenko
Jonas Nordstr?m wrote about "external access to intranet": > Hello, > > In our organisation, we wanted the employees to be able to reach our > intranet from anywhere on the internet. We have therefore made a gateway > using an extra linux-server, SSL, Apache and mod-perl. We wanted to > transla

Re: Apach::Session with Sybase?

2000-02-09 Thread Vladimir Ivaschenko
%session; my $id = $ARGV[0]; tie %session, 'Apache::Session::DBI', $id, {DataSource => 'dbi:Sybase:server=server;database=db', UserName => 'user', Password => 'password' }; print $session{visa_number}; } -- Best Regards Vladimir Ivaschenko http://www.hazard.maks.net/~hazard

Re: Apach::Session with Sybase?

2000-02-09 Thread Vladimir Ivaschenko
0 Vladimir Ivaschenko wrote about "Re: Apach::Session with Sybase?": > Aaron Ross wrote about "Re: Apach::Session with Sybase?": > > > hi Vladimir! > > > > great. i did check the archives and i found some messages, but not a fix. i'm > &g

Re: Apach::Session with Sybase?

2000-02-09 Thread Vladimir Ivaschenko
Aaron Ross wrote about "Re: Apach::Session with Sybase?": > hi Vladimir! > > great. i did check the archives and i found some messages, but not a fix. i'm > assuming that you modified Apache::Session::DBIStore to _not_ use a prepared > statement with placeholders... Yep (using pack() ). Alth

Re: Apach::Session with Sybase?

2000-02-09 Thread Vladimir Ivaschenko
0 Aaron Ross wrote about "Re: Apach::Session with Sybase?": > hi David! > > i remember that i couldn't get Sybase to work with Apache::Session b/c the > prepare statements use placeholders. you cannot use placeholders with a text > field in sybase. from the DBD::Sybase docs: > >Note t

Embperl stranges with [$ $] and [* *]

2000-01-31 Thread Vladimir Ivaschenko
Hi. I've noticed strange behavior when I mix the [$ $] and [* *] operators in Embperl code. I had the following code: -- [$ if ($#$dat >= 0) $] Links: [+ $#$dat +] [* foreach $row (@$dat) { *] [+ $row->[1] +]: [+ $row->[2] +] [* } *] [$ endif $][# Links #] -- The prob

Re: Apache::DBI and Sybase

2000-01-28 Thread Vladimir Ivaschenko
0 Andre Landwehr wrote about "Re: Apache::DBI and Sybase": > > message from CT-Lib - "Net-Library operation terminated due to > > disconnect". Maybe the ping() method from DBD::Sybase doesn't work? > > I can't help you with that problem but I can assure you that > ping() from DBD::Sybase does

Apache::DBI and Sybase

2000-01-28 Thread Vladimir Ivaschenko
Hello. I have a trouble with Apache::DBI and Sybase under mod_perl (Embperl in this case). After some time calls to DBI->connect start to fail with message from CT-Lib - "Net-Library operation terminated due to disconnect". Maybe the ping() method from DBD::Sybase doesn't work? Thanks, Vladimir

self url

2000-01-26 Thread Vladimir Ivaschenko
Hello, Is there a way to get the URL of the current document in Embperl? Sort of like $q->self_url in CGI.pm. Vladimir

RPM of Apache with mod_perl/php3 built-in

1999-12-28 Thread Vladimir Ivaschenko
Hello. I have hacked together an i386 RPM (RedHat 6.1) of Apache 1.3.9 with mod_perl and php3 staticly builtin. I haven't tested it much, though it seems to work. Anyway SRPM of it can save some people trouble compiling Apache with mod_perl by hand so if you're interested head on to http://www.

Re: Apache::Session::DBIStore and Sybase

1999-12-07 Thread Vladimir Ivaschenko
Mark D. Laundry wrote: >> dynamic PREPARE on IMAGE or TEXT datatypes" (sorry, don't have access to >> server right now). > >Try the following: Thanks a lot, seems to work - I was just going to modify it myself now. :) However, I decided to split the packages into two files - Session/DBI/Sybase.

Re: Apache::Session::DBIStore and Sybase

1999-12-04 Thread Vladimir Ivaschenko
ssible to table structure recommended by DBIStore.pm documentation. -- Best Regards Vladimir Ivaschenko http://www.hazard.maks.net/~hazard

Apache::Session::DBIStore and Sybase

1999-12-04 Thread Vladimir Ivaschenko
Hello, I've been trying to make Apache::Session::DBIStore (ver 1.04) work with Sybase. Unfortunately Sybase does not permit PREPARE statements to have IMAGE/TEXT datatypes (or at least I haven't found a way to make it work yet) and I get an error. Maybe someone is aware of solution to the prob