RE: Embperl vs. Mason

2000-02-14 Thread Gerald Richter
component model which is as powerfull as the Mason one. The only piece that is really missing, is the output cacheing of sub components (but this is only a matter of time). I think both Mason and Embperl (and Apache::ASP of course) are very powerfull and it's mainly a matter of style what you

RE: Embperl vs. Mason

2000-02-14 Thread Gerald Richter
and [$ sub $]). The EmbperlObject is a new way to put components together. If you want to compare EmbperlObject you must compare it with Masons dhandler and autohandler (see www.masonhq.com) Gerald ----- Gerald Richterecos e

RE: ANNOUNCE: HTML::Embperl 1.3b2

2000-02-14 Thread Gerald Richter
TML::Embperl::Wizard. It works very well together with EMbperlObject (for example see http://www.geoconfoman.unibe.ch/ and click on Preregistration) Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post:

RE: ANNOUNCE: HTML::Embperl 1.3b2

2000-02-13 Thread Gerald Richter
the > end of the request. The next page load goes to the same template, of > course, and the variable is still there. > I guess this is because you call the object from different pages (with different namespaces). As mentioned above Perl can only compile them for one namespace, so the

RE: Embperl SEGV's in mod_perl, but not standalone

2000-02-13 Thread Gerald Richter
xed in mod_perl 1.22 ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925151 WWW:http://

RE: Embedded Perl XML Extensions ...

2000-02-12 Thread Gerald Richter
> > The idea is to apply the stylesheet transformations specified by > an XSL document to everything below a node (possibly the root) > of another XML document. For now it looks like the only XSLT > transformer in perl is at: > http://www.sci.kun.nl/sigma/Persoonlijk/egonw/xslt/ > > There are so

ANNOUNCE: HTML::Embperl 1.3b2

2000-02-11 Thread Gerald Richter
Bodnar and Christian Gilmore. ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL

RE: Embedded Perl XML Extensions ...

2000-02-11 Thread Gerald Richter
ansformation on the XML (or HTML) that you like. Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim

RE: How do I send a 404 from Embperl?

2000-02-11 Thread Gerald Richter
he redirect doesn't need any further processing by Apache. > Wouldn't it be easier if there as a way to set the return value > from within > Embperl? > Yes, I add it to the todo list Gerald - Gerald Richtereco

RE: Problems with Embperl and Session data

2000-02-11 Thread Gerald Richter
Hi, > > I've recently started using Embperl/mod_perl developing a front-end to a > database system and for a while everything seemed to be working really > well, however, now I'm stuck because the session management fails for > either one part of the program or another depending on how I configure

RE: Embedded Perl XML Extensions ...

2000-02-10 Thread Gerald Richter
es an interface like you describe). Just give me a few days, before you start implementing this XML stuff and I send you a description what I plan and we can discuss what you think about it and what you like to change Gerald ----- Gerald Richter

RE: How do I send a 404 from Embperl?

2000-02-10 Thread Gerald Richter
our code above and generate your own errorpage, instead of let Apache do this for you. This should work quite well Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5

RE: [HTML::Embperl] Strange Error

2000-02-08 Thread Gerald Richter
> [20011]ERR: 24: Line 13: Error in Perl code: (in cleanup) [Mon > Feb 7 12:08:23 > 2000] PerlHandler subroutine `HTML::Embperl': Cannot access > 'DESTROY' field in object of class PRCL::Player at > /usr/lib/perl5/site_perl/5.005/i586-linux/HTML/Embperl.pm line 557 > > The page looks like: > > >

RE: Help w/ mod_perl and dynamically loaded modules

2000-02-07 Thread Gerald Richter
> Undefined symbol "PL_sv_undef" looks like you have previously tried to compile Embperl with Perl5.004. Try to remove Embperl.c in the embperl directory and do a new make > : Undefined symbol "PL_dowarn" at > /usr/libdata/perl/5.00503/DynaLoader.pm line 1 Looks like you should recompile more

RE: make test fails on Embperl on AIX ...

2000-02-07 Thread Gerald Richter
also sends the patches to build Embperl on AIX, maybe he (or anybody else on the list) has more ideas what's going wrong Gerald --------- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-

RE: X-Forwarded-For problem

2000-02-04 Thread Gerald Richter
You can change the order of the modules in your config file with ClearModuleList and AddModule without recompiling Apache. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design

RE: Embperl: loop control bug

2000-02-04 Thread Gerald Richter
imes really behaves weired. It's on the TODO list... Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Di

RE: Embperl 1.2b9: [error] Modification of a read-only value attempted

2000-02-04 Thread Gerald Richter
.2.1. If you get this error depends on your CGI.pm version and the filename at the client side. This problem is solved in newer version of Embperl Gerald ----- Gerald Richterecos electronic communication services gmbh Internet

RE: Embperl: problem with module imports

2000-02-04 Thread Gerald Richter
> > The test.html file contains only the [- use -] > line. Try [- use ; -] for whatever reason, Perl likes to see a semikolon here. Gerald

RE: Embperl: loop control bug

2000-02-03 Thread Gerald Richter
;while/endwhile" are Embperl control statements and "last" is a Perl statement. This can't work at all, because Perl doesn't know anything about Embperl's while/endwhile. This is completly handled by Embperl itself. Gerald ---

Re: Embperl/mod_perl & name space problems?

2000-02-03 Thread Gerald Richter
>The server seems to be putting the 'included'embperl files into the >same namespace. As long as you don't force EMbperl to do otherwise, every Embperl will run in it's own namespace > Each page works fine if you hup the server, going >from one section of the site to annother results in the top

Re: XML applications in mod_perl/apache xml project (fwd)

2000-02-03 Thread Gerald Richter
Hi, > > I embarking on writing a mod_perl handler that accepts XML posted from > client apps/browsers and then does "stuff" with the received XML snippets. > I would like to take advantage of some of the projects discussed at > xml.apache.org (The Apache XML Project), but I'm not sure how they fit

RE: [Embperl + SSI]GET parameters encoding.

2000-02-01 Thread Gerald Richter
> template I've got [ that is, I don't want to re-work my templates in > Embperl ! ] . > I am not sure, but maybe you can see the SSI Variables in the %ENV hash inside the Embperl page. You may give it a try Gerald ---

RE: [Embperl] Packages and shared code.

2000-02-01 Thread Gerald Richter
e for mod_perl and can't be changed. Put your code and data inside an object, the you can create different objects for the differnt sites. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect

RE: Embperl 1.2.1: multipart/form-data processing and nested pages

2000-02-01 Thread Gerald Richter
thing, does it make a difference if you try to access the filehandle from the main page, instead from the nested page? Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5

RE: 403 Custom Response?

2000-01-31 Thread Gerald Richter
> > Hi! > I can't get Apache::AuthCookie to work without causing a login > box to popup. > I'm hoping someone else has had this problem and can help me clean up my > configuration. can anyone point me to configuration directives > that might > be causing this problem? I recently run into this p

RE: EMBPERL_INPUT_FUNC for SSI + Embperl?

2000-01-31 Thread Gerald Richter
I had trouble using this under NT, but this was about two years ago, so this might have changed. Gerald BTW. Make sure you have the newest version of Embperl (1.2.1), because there was recently some fixes in the EMBPERL_INPUT_FUNC code. --------

RE: Embperl and images on the same page

2000-01-31 Thread Gerald Richter
> > > On Mon, Jan 31, 2000 at 04:12:02PM +0100, Gerald Richter wrote: > > > > PerlSetEnv EMBPERL_FILESMATCH "\.html" > > > > btw: Instead of EMBPERL_FILESMATCH I use a normal apache > section for this (with PerlHandler HTML::Embperl of > co

RE: Embperl and images on the same page

2000-01-31 Thread Gerald Richter
> > SetHandler perl-script > PerlHandler HTML::Embperl > Options +ExecCGI > AllowOverride None > Order allow,deny > Allow from all > > >

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

2000-01-31 Thread Gerald Richter
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] +] > > [* } *] >

RE: Output in real time [Emberl 1.2.0]

2000-01-31 Thread Gerald Richter
$dbgFlushOutput = 0 -]   after it.   Gerald   -----Gerald Richter    ecos electronic communication services gmbhInternetconnect * Webserver/-design/-datenbanken * ConsultingPost:   Tulpenstrasse 5 D-55276 Dienheim b. MainzE-Mail: [EMAIL PROTECTED] Voice:    +

RE: Embperl: my-variables in [$sub ...$][$endsub$] blocks?

2000-01-31 Thread Gerald Richter
release of Embperl (not the next beta, but one of the nexts), will solve this problem. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Die

RE: Novel technique for dynamic web page generation

2000-01-30 Thread Gerald Richter
> > > For that reason HTML::Embperl uses the [ ] blocks to embedd > Perl. This is > > normal Text in Dreamwaver, Frontapge or wahtever and causes no problems. > > Except I think the designer seeing Perl code all over his > screen would be rather ugly. > If you include the complete Per

RE: Novel technique for dynamic web page generation

2000-01-30 Thread Gerald Richter
------- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925151

RE: self url

2000-01-26 Thread Gerald Richter
> > VI> Is there a way to get the URL of the current document in Embperl? > Sort of like $q->>self_url in CGI.pm. > > Hmmm. Maybe [- $req_rec->uri -] could help? ($req_rec represents > apache request_rec object in Embperl). > Or $ENV{SCRIPT_NAME} or $ENV{REQUEST_URI} depending on what you need m

RE: Results of calling perl_shutdown in mp_dso_unload

2000-01-21 Thread Gerald Richter
ater this weekend, if > Doug doesn't > get a chance to look at it before then. > Great! Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Pos

RE: How do you turn logging off completely in Embperl?

2000-01-20 Thread Gerald Richter
> Thanks, Gerald! It might be a good idea as well to make the > default log file > be auto-configured during build time (if it finds apache sources) > to point to > embperl.log in whatever apache has configured as the log > directory. Using /tmp > is just a bad, bad idea. > I put it on the TO

RE: How do you turn logging off completely in Embperl?

2000-01-20 Thread Gerald Richter
> The file gets created even if EMBPERL_DEBUG = 0 is set in 1.2.0. The > Changes.pod from > 1.2.1 doesn't indicate that this problem was corrected, so it > should still be > present. > > Try setting EMBPERL_DEBUG = 0 and not setting a EMBPERL_LOG (so > it is set to > default). Make sure the /tmp/e

RE: How do you turn logging off completely in Embperl?

2000-01-20 Thread Gerald Richter
list, to make it more secure so the logfile will not accidently opened Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5

RE: How do you turn logging off completely in Embperl?

2000-01-20 Thread Gerald Richter
ll other function will just throw anything you try to write to the logfile away, if the log file isn't opened. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Co

Re: Apache locking up on WinNT

2000-01-20 Thread Gerald Richter
> > > [and assign users to the different apache]. How many Apache can > > > I start ? > > > > > > > Only a matter of your memory... > > How much apaches with mod_perl won't hurt 128 MB NT box ? > (for application with 91 scripts and modules with summary > PERL code 376 KB) > (or how many RAM shoul

Re: EMBPERL_SESSION_ARGS problem

2000-01-20 Thread Gerald Richter
> > >[6431]ERR: 24: Line 13: Error in Perl code: DBI->connect failed: Access > denied for user: 'www@dev2-sparc' (Using password: YES) at > >/usr/local/lib/perl5/site_perl/5.005/Apache/Session/DBIStore.pm line 117 > > > Note that the two parameters differ only by the target hostname... > and tha

Re: Apache locking up on WinNT

2000-01-20 Thread Gerald Richter
> Oh my ... > Indeed this happens. This is horrible ;o( > and make mod_perl unusable with NT web site with many visitors ;o( > How do you think - for intranet web application is it reasonable > to run few Apaches (with mod_perl) on the same box ? yes, but as far as I know that isn't possible as

Re: How download data/file in http [Embperl 1.2.0]

2000-01-20 Thread Gerald Richter
Hi I am using Emberl 1.2.0.   This is the probleme : I have a form with a submit bouton to download some data ( or a file ). I want that the user can save these data. When I submit it, the header that I want to send to generate the download is printed in the page ( ...and the da

Re: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-20 Thread Gerald Richter
> > Yes and no. If XS libraries are written with OO-style wrappers (which, IMHO, > they always should be), then surely you can catch the unloading in a DESTROY > sub and use that to do the deallocation of resources? Perl can only manage > Perl resources, and extension resources should be the respo

Re: How to make EmbPerl stuff new content into a existing frame?

2000-01-20 Thread Gerald Richter
> > When the user hits the login button, I am calling a CGI script that > validates the login against a database. I can't make it have a action > that loads a HTML page before the script is executed. Therefore the > script has to reload the frame with frame pages. I also need to pass > values t

RE: OS Independend Patch for XS Extentions unload

2000-01-19 Thread Gerald Richter
> Well, one problem. > > I deleted the old code instead of #if'ing it for a reason - it does NOT > work. Apache will try to dlclose() the modules anyway, and dlclose(0) > causes a segfault, on Linux at least. > I just don't wanted to delete the code, before Doug has reviewed it. Anyway because o

RE: Transaction handler weirdness

2000-01-19 Thread Gerald Richter
Try at the start of your handler   sub handler     {     my $r = shift ;         Apache -> request ($r) ;     This sets the request record which is needed by the newer version of CGI.pm   Gerald   -Gerald Richter    e

RE: A fix in sight: Apache::ASP: crash when placed in startup.pl

2000-01-19 Thread Gerald Richter
> > > > > > > perl_destruct/perl_free are not called at restart, only > during child_exit. > > > it looks like that might need to change to finish the dso puzzle. I > > > experienced some problems there, but that was a few years ago, looks > > > like it's time to revisit. > > > > > > > But it is

RE: A fix in sight: Apache::ASP: crash when placed in startup.pl (2)

2000-01-19 Thread Gerald Richter
> Seems correct to me, although as I said before the patch should really > go in DynaLoader - after all it is conceivable that perl embedders other > than Apache could be hit by this problem. > Yes, I agree, but this will not before perl 5.006 and much people are still using perl 5.004... Gerald

RE: A fix in sight: Apache::ASP: crash when placed in startup.pl (2)

2000-01-19 Thread Gerald Richter
all that is neccessary. I am missing something? Gerald > ----- > Gerald Richterecos electronic communication services gmbh > Internetconnect * Webserver/-design/-datenbanken * Consulting > > Post: Tulpenstrasse 5

RE: A fix in sight: Apache::ASP: crash when placed in startup.pl

2000-01-19 Thread Gerald Richter
(with dlclose replaced with ap_os_dso_unload, as I posted some hours ago) here in the CVS working directory, should I commit it? Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-da

RE: How to make EmbPerl stuff new content into a existing frame?

2000-01-18 Thread Gerald Richter
ame pages. Then the frame parentpage has also to be an Embperl page an passes the parameters along the the actual content pages. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-

OS Independend Patch for XS Extentions unload

2000-01-18 Thread Gerald Richter
ad of dlclose. The patch is against the actual CVS of mod_perl. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
mory leaks Daniel metioned earlier, because the XS libraries don't have a chance to free there resources (or not aware of that they actually should do so). So in the long term, the solution that you have prefered in previous mail, not to unload modperl at all, maybe the better one, to stay co

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
> > You're confusing the dynamic and static linkers. The dynamic linker is > what he was referring to; it knows what libraries it resolves symbols > to. > Yes, I know this difference and you will be right in most cases, but the address that is returned, could be passed around to other libraries a

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
> > Yes it can. No it can't :-) > Its main job is to keep track and control the dependencies > between libraries. It's just that sometimes thy don't do a particularly > good job of it ;-) > This works only if this dependencies are know at link time, but look at the source of Dynloader. You c

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
>To summarise:... Thanks for the summary, but I already know this problem for a long time and I am very happy that somebody has taken the time track this down and provide a solution :-) > > However, other folks have reported the exact same problem on other OSs, > eg Linux & BSD, so I think that

RE: squid performance

2000-01-18 Thread Gerald Richter
> > I looked at mod_proxy and found the pass thru buffer size > is IOBUFSIZ, it reads that from the remote server then > writes to the client, in a loop. > Squid has 16K. > Neither is enough. > In an effort to get those mod_perl daemons to free up for long > requests, it is possible to patch mod_p

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
! Thanks for solving that issue! Gerald --------- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED]

RE: Apache::Session, Embperl...

2000-01-18 Thread Gerald Richter
ns when doing something like > that? Or is > that plain silly? > That's no problem and shouldn't have anything todo with your problem. Gerald - Gerald Richterecos electronic communication services gmbh Internetconne

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
ich causes strange behaviour. Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECT

RE: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-18 Thread Gerald Richter
mod_perl and Perl modules which uses XS code... Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienhei

RE: Embperl: behaviour of [+ +] in foreach loops

2000-01-18 Thread Gerald Richter
hi again, > just out of curiosity: > the output of the two following codesegments differs, in the way > that in the variant with [+ +] the value of $RAC_F is the same on > each line while in the [* *] variant the value changes as supposed. > Is there a reason for this, or is this just because of s

RE: Embperl optEarlyHttpHeader

2000-01-18 Thread Gerald Richter
; open FH, "foo.sh|" ; $out = ; close FH ; $out ; +] Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-5

RE: EmdPerl and SSI

2000-01-18 Thread Gerald Richter
> Thanks but I can't get the configuration to work right. I am now using > EmbPerlChain. What should my PerlHandler line in httpd.conf say? > I didn't have used EmbperlChain on my own so far, but if you search the modperl mailing list archives (http://forum.swarthmore.edu/epigone/modperl) , you w

RE: squid performance

2000-01-17 Thread Gerald Richter
> > Gerald, thanks for your answer. > I'm still confused... which is the right scenario: > > 1) a mod_perl process generates a response of 64k, if the > ProxyReceiveBufferSize is 64k, the process gets released immediately, as > all 64k are buffered at the socket, then a proxy process comes in, pic

RE: squid performance

2000-01-17 Thread Gerald Richter
Hi Stas, > > > > Yes, as Joshua posted today morning (at least it was morning in > germany :-), > > the application buffer size is hardcoded, the size is 8192 (named > > IOBUFSIZE). You will find it in proxy_util.c:ap_proxy_send_fb(). > > > > The ProxyReceiveBufferSize set the receive buffer size

RE: squid performance

2000-01-17 Thread Gerald Richter
he receive buffer size of the socket, so it's an OS issue. Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROT

RE: Apache locking up on WinNT

2000-01-17 Thread Gerald Richter
> >Yes, on NT all accesses to the perl part are serialized. This will not > >change before mod_perl 2.0 > > > > I had a horrible feeling it was going to have something to do > with the fact > that Apache on NT is multi-threaded and perl isn't (yet). > > I assume that Apache::Registry has the

RE: Apache locking up on WinNT

2000-01-17 Thread Gerald Richter
> > I added the warns to the scripts and it appears that access to the modules > is serialised. Each call to the handler has to run to completion before > any other handlers can execute. > Yes, on NT all accesses to the perl part are serialized. This will not change before mod_perl 2.0 Gerald

RE: Apache locking up on WinNT

2000-01-17 Thread Gerald Richter
> > I have just gone back and checked the logs. The majority of the time the > server locks up without putting anything in the error log. Currently, > there are only about 10 content handlers in the system and I am fairly > confident they work. > > When it locks up I can still telnet into the se

RE: accessing request headers from CGI?

2000-01-17 Thread Gerald Richter
see what you can get. Gerald --------- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED]

RE: squid performance

2000-01-17 Thread Gerald Richter
Joshua, > > I don't know what squid's buffer is like, but back in apache > 1.3.4, the proxy buffer IOBUFSIZE was #defined to 8192 bytes, > which would be used in proxy_util.c:ap_proxy_send_fb() to loop > over content being proxy passed in 8K chunks, passing that > on to the client. > > So if all t

RE: squid performance

2000-01-16 Thread Gerald Richter
> Lately I've been using apache on the front end with mod_rewrite and > mod_proxy to send mod_perl-required page requests to the heavy back > end. This has infinite more flexibility than squid, and allows me to > have multiple personalities to my sites. See for example the sites > http://www.mor

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> On Sun, Jan 16, 2000 at 03:37:51PM +0100, Gerald Richter wrote: > > This looks ok for the Embperl part, but if you have now staticly linked > > mod_perl you should throw out the LoadModule perl_module . > I don't know > > what Apache does, if a module is sta

RE: EmdPerl and SSI

2000-01-16 Thread Gerald Richter
> > Is it possible to have Apache build up a page using Server Side > Includes and > then pass the page to EmbPerl. If so, what do I need to do to my apache > httpd.conf file to get it to work (if modules are required please let me > know where I can get precompiled NT ones if possible) > You nee

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> > > Could you send me your httpd.conf (private email)? > > sure, here it is.. > This looks ok for the Embperl part, but if you have now staticly linked mod_perl you should throw out the LoadModule perl_module . I don't know what Apache does, if a module is staticly and dynamicly present, but

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> > > But I can also still see the session-id changing with > > > every reload, and no cookie is set, just like before. > > > > What do you mean by session id? The number inside the square > bracktes id the > > pid of the Apache child. Or do you mean other things? > > I mean the ID saved as _sessi

RE: EmbPerl and scope

2000-01-16 Thread Gerald Richter
> I am having trouble with embperl and scope. I read the FAQ on this but I > still can't get it to work. As an example let's say I have two files: > Each file runs in it's own namespace (package name), so you won't see globals from another page. You must pass them as parameters, as Vijay already

RE: How to make EmbPerl stuff new content into a existing frame?

2000-01-16 Thread Gerald Richter
> > I have a HTML document with two frames in it. I need to make > EmbPerl put a new > html file (or content) into this frame. This link in a regular > HTML file does > the trick but I don't want the user to have to hit a link to make > this happen. > > Update Frame > > Can anyone tell me how to

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
page: 1 = [+ ref (tied(%udat)) +] 2 = [+ ref (tied(%HTML::Embperl::udat)) +] 3 = [+ $Apache::Session::VERSION +] 4 = [+ $HTML::Embperl::Session::VERSION +] what is the output of this? Gerald ----- Gerald Richterecos electronic com

RE: Embperl + Apache::Session

2000-01-14 Thread Gerald Richter
> PerlModule HTML::Embperl This line loads Embperl at startup, remove it! > > I could also build embperl staticly, maybe that helps. This will surly solve a lot of problems. > But a quick > try some minutes ago with just recompiling mod_perl with > USE_DSO=0 and configuring apache with --disab

RE: Embperl + Apache::Session

2000-01-14 Thread Gerald Richter
s loaded somewhere in your httpd.conf (either by a PerlModule or by a file that is loaded with PerlRequire). Remove this. In case of dynamicly linking Embperl must not loaded at startup time. (mod_perl will do this at request time for you) Gerald ------

Re: Embperl + Apache::Session

2000-01-13 Thread Gerald Richter
> On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > > i am using embperl with cookies. > > i also have this set in httpd.conf > > > > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com > > PerlSetEnv EMBPERL_COOKIE_PATH / > > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00

Re: or PerlTransHandler directive for multiple /user/subdir/action

2000-01-13 Thread Gerald Richter
> > Which is best or right one to use? > > I have thousands of user directories, with a sub of admin for them to > configure their site. > > >From the admin location I want to call the "config" (module e.g. > www.here.com/user/admin/config) > > Can I write a with wildcards as then > set my handl

Re: Embperl emergency...

2000-01-13 Thread Gerald Richter
> > The $escmode thing doesn't seem to work for me. In my srm.conf I have > optRedirectStdout set. My embperl code looks a bit like this... > > [- use foo; -] > [- $escmode = 1; -] You need to set to to zero! > [- foo->bar() -] > > And inside foo.pm > > bar() { > print < > EOF > } > > I've

RE: Embperl Emergency!!!

2000-01-12 Thread Gerald Richter
> Try { local $HTML::Embperl::escmode = 0 ; print HTML::Embperl::OUT < EOF } This should work, but it's just a quick hack. I do not promise that Embperl 1.4 or 2.0 will support these global variables, also I guess they will do so. (1.3 surely will not change these things) Gerald

RE: Authentication question

2000-01-11 Thread Gerald Richter
gt; That should work... Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 9251

RE: Authentication question

2000-01-11 Thread Gerald Richter
Hi, > > I'm doing authentication against SQL database and then connecting the > same database from the (embperl) page itself, but I cannot use > Apache::DBI because there are several different databases running (with > way too many connect strings to cache). Is there any (simple) way to > reuse

RE: VirtualSellers.com TAME patent

2000-01-10 Thread Gerald Richter
ld be fine with me. > If Embperl gets taken out of circulation because of patent infringement, > > I have a lot of work to do in order to replace it. > Not only you... Gerald - Gerald Richterecos electronic co

RE: Embperl / Variable Scope Question

2000-01-10 Thread Gerald Richter
> Quick question: > > Let's say I want to keep a common configuration file which defines > variables and such. I'd like to [- Execute() -] the file but it seems that > the variables are out of scope once I try to access them in the rest of > the document. > > Am I doing soemthing wrong or is there

RE: URL Redirection

2000-01-09 Thread Gerald Richter
what you mena   Gerald   -----Gerald Richter    ecos electronic communication services gmbhInternetconnect * Webserver/-design/-datenbanken * ConsultingPost:   Tulpenstrasse 5 D-55276 Dienheim b. MainzE-Mail: [EMAIL PROTECTED] Voice:    +49 6133 925151WWW:   

RE: Embperl under cgiwraper (2)

2000-01-07 Thread Gerald Richter
> From the error message it seems you didn't > give Embperl > any sourcefile to process. > > > You must request it like this: > > http://localhost/cgi-bin/embpcgi.pl/path/to/the/source.html > The other possibilty is, that cgiwrapper does not set the environement variable PATH_TRANSLATED. This is

RE: Embperl under cgiwraper

2000-01-07 Thread Gerald Richter
> > unshift(@INC, '/home/sites/home/HTML-Embperl-1.2.0/blib/lib' ); > print "@INC\n"; > You don't need this, if you have run "make install" > > [11765]ERR: 30: Line 1: Not found ? This error message comes from Embperl. So the embpcgi.pl is still found, otherwise you wouldn't see this message,

RE: Modules Lost in EMBPERL

2000-01-06 Thread Gerald Richter
> holding the > object reference is still global and seen under these conditions with > the [- -]? > Yes > Thanks Mr Gerald (Yoda) Richter > > Are you even in NYC? Would love to get you to talk at one of our > Linux User group meetings. I'll buy the beers. > If NYC

RE: please help with Embperl for a new new newbie ....

2000-01-06 Thread Gerald Richter
ogehter. Maybe you try compiling Apache and mod_perl on your own, with mod_perl staticly linked into Apache. Most often this solves many problems Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect

RE: Embperl under cgiwraper

2000-01-06 Thread Gerald Richter
, what it does and how it works? Then we could try to figure out what's the problem with Embperl and cgiwrapper. Gerald ----- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken

ANNOUNCE: DBIx::Recordset-0.20

2000-01-06 Thread Gerald Richter
to DBIx::Recordset (based on my talk on the 1999 Perl conference) which is viewable with perldoc Intrors.pod - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Co

RE: links to modules and virtual domains

2000-01-05 Thread Gerald Richter
> > I'm having a problem specifying which domain, on a box with several hosted > domains, a perl module is used. For example, in my perl.conf file I have: > > > SetHandler perl-script > PerlHandler Apache::SearchMod > > > if I have domainA.com and domainB.com, both of t

<    1   2   3   4   5   >