Problem with proxys & Auth...

2000-07-30 Thread Trevor Phillips
This is a strange one for which I hope there's a simple answer & solution. I've put a Front-side Proxy on a webserver (as it was struggling under the load from lots of hits over slow links - more RAM than CPU issue), and it's helped performance wonderfully! However, my IP-based restrictions now

Doing Templates One Better, Web DB RAD scripts

2000-07-30 Thread Ron Pero
Dear All There are a few scripts out there that allege to make it easy to set up database administration web pages. The idea is that a nonprogrammer writes up, in plain but structured text, specifications for a database or html form. Then a script parses that text, creates an html form with thos

RE: was Re: template kit..... - now session handling

2000-07-30 Thread brian moseley
On Sun, 30 Jul 2000, Gerald Richter wrote: > Jeffery don't want to build something like this into > Apache::Session. He always expressed that > Apache::Session is just a framework for storing session > data! it would be nice if we could agree on some vocabulary relating to 'session management',

Re: Templating System

2000-07-30 Thread brian moseley
On Fri, 28 Jul 2000, Drew Taylor wrote: > Anything that would make the above scenario easier would > get a thorough look in future templating system > decisions. In short, I'm looking for a good, FLEXIBLE > application framework. I'm tired of writing it all > myself. And while it has been excelle

Re: Overriding print in cgi scripts

2000-07-30 Thread Yann Kerhervé
On Sat, Jul 29, 2000 at 03:26:02PM -0700, Chetan Patil wrote: > Hello, > We have a large code base printing header, body and footers to the STDOUT > from the cgi scripts. Since all these are print statements, we have to go to > extreme measures to make sure we donot print the content more than onc

Re: [OT] & in URLs -- SUMMARY (was: Re: Templating System)

2000-07-30 Thread Michael Hanisch
Hi *, thank you all for your comments on the plain-ampersand-in-URL-problem. I received many useful hints regarding this subject, so I thought I might as well sum them up for those who have missed this thread. In short: If you have URLs in your HTML with more than one query-string arg (a

Re: was Re: template kit..... - now session handling

2000-07-30 Thread Leon Brocard
Gerald Richter sent the following bits through the ether: > Jeffery don't want to build something like this into Apache::Session. He > always expressed that Apache::Session is just a framework for storing > session data! If this is still the case then I think a name change is in order... Leon -

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Ian Kallen
Today, Gerald Richter <[EMAIL PROTECTED]> frothed and gesticulated about RE:...: > > Ian Kallen suggested a hash of know indexers - which is a good idea - > > Yes > > > but has one problem of how to keep this upto date. > > > > Everybody could contribute and there could some (CPAN) where you ca

Re: Templating system

2000-07-30 Thread Paul J. Lucas
On Sun, 30 Jul 2000, Andy Wardley wrote: > Yes, the great thing about Embperl and other embedded Perl solutions is > that the "parsing" phase only really requires the Perl code to be > extracted from the text. And you know this is faster than parsing the HTML ... how, exactly?

Re: Templating system

2000-07-30 Thread Andy Wardley
> Embperl's parser have used from the startup only C code, maybe that's the > reason why the time this takes (compared to the rest of the request) never > was an issue for me... Yes, the great thing about Embperl and other embedded Perl solutions is that the "parsing" phase only really requires t

RE: Templating system

2000-07-30 Thread Gerald Richter
> > > > Is there any way for Embperl to get access to other apache > > modules (like the C++ versions of the xerces xml parser > > or xalan xslt processor)? It would be nice to be able > > to reuse the same code in or out of embperl. > > Only by writing XS (or swig) code. Please feel free to do

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Gerald Richter
> > I've looked thorugh Apache::Asp session code and saw your args method. > We should of course use anything that Joshua already has figured out. Maybe the module could be written in a way that Apache::ASP can take use of it. That would be the best thing from my point of view! > Ian Kallen sugg

RE: template kit.....

2000-07-30 Thread Gerald Richter
> > Ofcourse i can use different pieces of software,, > But that was not my point I *want* to have the session > management in the same kit becouse it´s convinient. > > I have to tell my team what software to use and maby > even teach them how to use it, > I find it alot easier to do this with one

Re: Is there a module for getting / setting a Session-ID

2000-07-30 Thread JoshNarins
In a message dated 7/30/00 7:33:41 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: > > And, on top of that, I have emilinated session hijacking > > (with a Back Button Breaking method). > > Can you enlighten me ? A security method that will redirect the user to a relogin page if, for i

Re: The Template Toolkit (Re: Templating Systems)

2000-07-30 Thread Kip Hampton
Matt Sergeant wrote: > > On Sat, 29 Jul 2000, Ian Kallen wrote: > > > > > XForm sounds just like something I need actually, can any of the XSLT > > tools transform it? In perl, of course, XML::XSLT, Sablotron (which > > doesn't compile on FreeBSD btw, feh!)? > > I don't think any tools suppor

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Gerald Richter
> > > > If you do this, build it into Apache::Session! Leverage the existing > > storage mechanisms built in there already (file, DBI, etc). My only > > other feature requests for this: > Jeffery don't want to build something like this into Apache::Session. He always expressed that Apache::Sess

RE: Modperl for windows?

2000-07-30 Thread Gerald Richter
Hi, > > Can I use modperl for windows? I have NT 4, IIS4 and Apache. When > I see the > modperl site, all the links (including some tutorial/manuals) are so > UNIX-like! > > Would appreciate if anyone can share experiences/references/links. > Yes, you can use it on windows, but not with ActiveSta

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Gerald Richter
> > So therefore would it not be easy to modify your code to check for a > pnotes entry called session and cookies ? > Yes, of course this would be very easy > If session is set then use that. > > If cookie is set (ie 1) then assume cookies are on! else if you have a > session and cookies are of

Modperl for windows?

2000-07-30 Thread Ben Heuer
Hi, Can I use modperl for windows? I have NT 4, IIS4 and Apache. When I see the modperl site, all the links (including some tutorial/manuals) are so UNIX-like! Would appreciate if anyone can share experiences/references/links. Thanks! Ben

Re: require bug?

2000-07-30 Thread Stas Bekman
Philip Mak wrote: > > I noticed that the following bit of code does not work properly: > > require 'test.pl'; > chdir '..'; > require 'test.pl'; > > Even though the second require is trying to load a different file, perl > thinks that it is the same file and therefore doesn't require it again (

Re: was Re: template kit..... - now session handling

2000-07-30 Thread Greg Cope
Ian Kallen wrote: > > Today, Greg Cope <[EMAIL PROTECTED]> frothed and...: > > I posted about a generic URL mangeler / cookie session handler a few > > days ago. > > > > Allthough this is not rocket science - I've writen a URI transhandler > > that will put the session id into pnotes, and if cook

Re: Is there a module for getting / setting a Session-ID

2000-07-30 Thread Greg Cope
[EMAIL PROTECTED] wrote: > > I have fully implemented URL munging and Cookie support, > but SERIOUS troubles start to arise when you start adding > the notion of secure sessions. > > I have done it, but it isn't pretty. Basically, there > are three types of pages. Normal, Secure, and Secure > (b

Re: was Re: template kit..... - now session handling

2000-07-30 Thread Greg Cope
Joshua Chamas wrote: > > Greg & Gerald, > > I wanted to bring an important issue that came up with > Apache::ASP, how will you deal with search engines indexing > the session-ids in the URL? > > In Apache::ASP, this is handled a couple of ways, first the > session-id is stored as a query string

RE: The Template Toolkit (Re: Templating Systems)

2000-07-30 Thread Matt Sergeant
On Sat, 29 Jul 2000, Ian Kallen wrote: > > XForm sounds just like something I need actually, can any of the XSLT > tools transform it? In perl, of course, XML::XSLT, Sablotron (which > doesn't compile on FreeBSD btw, feh!)? I don't think any tools support it yet. The only thing that may come c