Re: writing code that works on machines with or without mod_perl

2000-05-18 Thread Matt Sergeant
On Thu, 18 May 2000, Kenneth Lee wrote: > i know that, but it doesn't work if i use "use", since the block > will be eval()'d at compile time: > > eval { > die unless $ENV{MOD_PERL}; > use Apache::Constants qw(:common); > ... > }; > > it complains if Apache::Constants is not instal

Re: writing code that works on machines with or without mod_perl

2000-05-18 Thread Matt Sergeant
On Thu, 18 May 2000, Kenneth Lee wrote: > arggg... i was sticked to "use" instead of "require"... > but how about if i've to import something? perldoc -f use -- Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and

Re: writing code that works on machines with or without mod_perl

2000-05-18 Thread Matt Sergeant
On Thu, 18 May 2000, Kenneth Lee wrote: > modperlers, > > does it make sense if i put some mod_perl specific codes inside > an eval() so that the code runs on machines that have or haven't > mod_perl installed? > > eval <<'MOD_PERL_CODE' if $ENV{MOD_PERL}; > use Apache (); > my $r =

Re: passing Apache::File to XS code that expects FILE *?

2000-05-17 Thread Matt Sergeant
On Wed, 17 May 2000, Jim Winstead wrote: > On May 17, Matt Sergeant wrote: > > Or IO::File->new_tmpfile(); > > I'd rather not go there. > > http://marc.theaimsgroup.com/?l=apache-modperl&m=95454378223412&w=2 Well, this may be true, but if you load IO::File

libapreq

2000-05-17 Thread Matt Sergeant
Doug, When are you releasing libapreq 0.32? -- Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: passing Apache::File to XS code that expects FILE *?

2000-05-17 Thread Matt Sergeant
On Wed, 17 May 2000, Jim Winstead wrote: > Is there some trick to passing an Apache::File to a function from > an XS module that expects a FILE *? > > There's too much perl magic going on in the Apache::File implementation > for me to see where I can just pull the FILE * out. > > (Its not stric

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-17 Thread Matt Sergeant
On Wed, 17 May 2000, Robin Berjon wrote: > At 11:19 17/05/2000 -0500, Jeremy Howard wrote: > >Your word highlighting statement is, I suspect, controversial. On the other > >hand, converting to docbook is unlikely to meet much resistance from > >users--as long as Stas doesn't mind maintaining it

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-17 Thread Matt Sergeant
On Wed, 17 May 2000, Jeremy Howard wrote: > > I just wrote a very simple SQL based engine - so I would say I'm happy > > with that. It's fast and it's all in perl. I could very simply rip out the > > search parts of the code for someone to play with if they wanted to. > Sounds good. Personally,

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-17 Thread Matt Sergeant
BTW: Your email client is broken and not wrapping words. On Wed, 17 May 2000, Jeremy Howard wrote: > Stas Bekman wrote: > > Hold on, at this very moment a few mod_perl fellas are working on having a > > good search engine for the guide. Just give it some more time, I'm trying > > to bring the be

Re: Apache::DBI and autocommit

2000-05-17 Thread Matt Sergeant
On Tue, 16 May 2000, William Deegan wrote: > Greetings, > > from the various perldocs and web pages I understand the following > to be true. > > If autocommit is not set and a script exits the transaction will be > rolled > back. > > The question I have is when the database handle is re-used w

[ANNOUNCE] AxKit 0.62

2000-05-15 Thread Matt Sergeant
Just to keep things ticking over, I've released 0.62 hot on the heels of 0.61. This is a minor update with a fix for the external parsed entities cache invalidation code (which now works!) and the addition of support for for XPathScript (which allowed me to modularise the docbook stylesheets). A

Re: an idea for a PerlFixupHandler

2000-05-14 Thread Matt Sergeant
On 14 May 2000, (Randal L. Schwartz) wrote: > > It always bugged me that for a PerlHandler, I needed to set *two* > things... both the SetHandler and the PerlHandler. > > I have this idea that a good generic PerlFixupHandler would fix that. > Instead of setting the mime-type to "text/html", we'

AxKit update

2000-05-11 Thread Matt Sergeant
For those not on the axkit mailing list, I thought you might like a quickie AxKit update: First an introduction: AxKit is a standards based XML templating system, and much more. Ultimately it's an application server, but there's more work to do to reach that level, IMHO. Right now it can deliver

Re: may be an offtopic question..

2000-05-10 Thread Matt Sergeant
7On Wed, 10 May 2000, Niral Trivedi wrote: > All, > > I am not sure whether this is the right place to ask this question... > sorry if not.. > > My question is, Can we use custom database for authentication with > Apache instead of default text based authentication??? > > Has anybody done that

Re: Wierd error log entry:

2000-05-10 Thread Matt Sergeant
On Wed, 10 May 2000, Ken Williams wrote: > Perhaps it's the result of a line like "require 5.0;"? That's the only > thing I can think of, I've never seen it before. Maybe... I wonder what would cause that to a) go in %INC, and b) go out of date... Ah well. Server restart got rid of the error :

Wierd error log entry:

2000-05-10 Thread Matt Sergeant
Apache::StatINC: Can't locate /usr/lib/perl5/site_perl/5.0 at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/StatINC.pm line 19. Granted this is a development server and I do some wierd stuff, but that's just bizarre... Any ideas? -- Fastnet Software Ltd. High Performance Web Specialists Pr

Re: [Summation] 100% sessions?

2000-05-10 Thread Matt Sergeant
On Wed, 10 May 2000, Jay Jacobs wrote: > So as I see it there are essentially 2 *mostly* reliable ways, cookies > and url-rewriting. Both have drawbacks and neither are 100%. There > really isn't a way to cross-reference anything else (IP or login) becuase > there are valid reasons for a user

RE: [excitement :)] mod_perl rocks!

2000-05-08 Thread Matt Sergeant
On Mon, 8 May 2000, Mark D Wolinski wrote: > I don't mean to rain on the parade, but... > > The more important number would be to look at the number of unique IPs, > which has only moderately grown. I installed mod_perl this weekend on my > main server to start testing it, etc. Netcraft, of co

RE: Most nonesense I've ever read about mod_perl

2000-05-08 Thread Matt Sergeant
On Sun, 7 May 2000, Jeff Stuart wrote: > [...rest of message deleted...] > > Every language has it use, the truly knowledgeable understand when to > > use each language:) > > > Sam > Amen to that!!! I think that this point and the point about writing GOOD > algorithms are VERY important ones an

Re: OT: Re: Most nonesense I've ever read about mod_perl

2000-05-08 Thread Matt Sergeant
On Sun, 7 May 2000, Frank Mayhar wrote: > Perl does have some good constructs for Web work, too. I've been writing > a webstore and some stuff is really convenient that would be inconvenient > in C. On the other hand, there's some stuff that I just wouldn't use Perl > for, like, say, a system d

Re: Content negotiation headers

2000-05-07 Thread Matt Sergeant
On Sun, 7 May 2000, Eric Jain wrote: > How do I suppress content negotiation headers? Don't use mod_negotiation! > I am using my own handler to convert XML to HTML on the fly: > > http://biodoc.ch/de/forum/2000/1/01.xml -> > > HTTP/1.1 200 OK > Date: Sun, 07 May 2000 20:40:52 GMT > Server: Ap

Most nonesense I've ever read about mod_perl

2000-05-06 Thread Matt Sergeant
http://slashdot.org/comments.pl?sid=00/05/05/0137201&cid=250 There's a real good reply below, but terribly formatted (all italics). -- Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. h

Re: PerlAddVar ?

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: > On Thu, 4 May 2000, Matt Sergeant wrote: > > > How do you get at $r in a directive handler? > > other way around, you get at directive handler config from a handler, > which has been passed $r, e.g.: > > sub handler { &g

Re: PerlHandler stopped working???

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: > On Tue, 25 Apr 2000, Matt Sergeant wrote: > > > I do now - just uploaded a new version. It's still not correct though - a > > proper fix would have to pull SetHandler out of mod_mime altogether, I > > guess. For exam

Memory leak in DBD::Connect()

2000-05-05 Thread Matt Barringer
d them all. This problem is using the Oracle 8.1.5 libraries. Thanks, Matt

Re: sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, brian moseley wrote: > On Fri, 5 May 2000, Matt Sergeant wrote: > > > Actually the idea comes from setting up the style map > > based on an external XML site map, which would do things > > similar to apache's and directives, > > and

Re: sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Stas Bekman wrote: > On Fri, 5 May 2000, Matt Sergeant wrote: > > > Answering myself: It works. > > > > Damn this product (mod_perl) is cool! > > > > On Fri, 5 May 2000, Matt Sergeant wrote: > > > > > I have some

Re: sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
Answering myself: It works. Damn this product (mod_perl) is cool! On Fri, 5 May 2000, Matt Sergeant wrote: > I have someone on the AxKit list asking if there's a way to do > configuration outside of .htaccess files. I figure rather than writing > some new code to do this, sec

sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
I have someone on the AxKit list asking if there's a way to do configuration outside of .htaccess files. I figure rather than writing some new code to do this, sections could be used. Will this work with custom directives, so basically could I do: @AxAddStyleMap = ( [ 'text/xsl' => 'Ap

apxs and first class configuration

2000-05-05 Thread Matt Sergeant
When building first class configuration directives, you run Makefile.PL and it says: which: no apxs in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin) apxs:Error: Sorry, no DSO support for Apache available apxs:Error: under your platform. Make sure the Apache apxs:Error: module mod_so is compiled

Re: PerlAddVar ?

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Stas Bekman wrote: > On Wed, 3 May 2000, Doug MacEachern wrote: > > > On Mon, 1 May 2000, Stas Bekman wrote: > > > > > That [the name] would be confusing. How about: > > > > not if you think of it in terms of an apache table: > > > > PerlSetVar => ap_table_set > > PerlAddV

Re: Redirecting Problem --- Please look at this patiently.

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, sadhanandham balaraman wrote: > Hi Gurus, >I'm facing a typical problem in Apache web server. The problem is that I > want to call a perl script whenever a request is made to the server, and > that script should be able to change the URI and submit to the server back. M

Re: Templates.

2000-05-04 Thread Matt Sergeant
On Wed, 3 May 2000, Jason C. Leach wrote: > hi, > > I'm looking for some good ideas on developing web sites w/ mod_perl. One > think we were looking at was to write template HTML pages, and run them > through a perl prg to replace home made tags w/ data. If what you're after is something to co

Re: search engine for the Guide (was Re: Why does $r->print()...)

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, Stas Bekman wrote: > On Wed, 3 May 2000, Matt Sergeant wrote: > > > On Wed, 3 May 2000, Stas Bekman wrote: > > > > > Yeah, I've been thinking about it. There was one site that has offered me > > > to provide a good search engine a

Re: PerlAddVar ?

2000-05-04 Thread Matt Sergeant
On Wed, 3 May 2000, Doug MacEachern wrote: > On Mon, 1 May 2000, Matt Sergeant wrote: > > > It would be nice, in my opinion, to have some way of doing: > > > > PerlAddVar Fred "Value 1" > > PerlAddVar Fred "Value 2" > > > > And t

Re: search engine for the Guide

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, Stas Bekman wrote: > > Yes. On some of the search engines (AltaVista springs to mind) you can > > search for things on particular web sites, or even links to particular web > > sites. So as long as AltaVista keeps its search contents up to date, you > > can leverage their engi

Re: Apache::ModuleConfig

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, raptor wrote: > hi, > someone to know is there Apache::ModuleConfig as separate package...? No, it comes with mod_perl. I think you require mod_perl 1.17 or higher. Can anyone on the mod_perl list confirm this? -- Fastnet Software Ltd. High Performance Web Specialists Pro

Re: search engine for the Guide (was Re: Why does $r->print()...)

2000-05-03 Thread Matt Sergeant
On Wed, 3 May 2000, Stas Bekman wrote: > Yeah, I've been thinking about it. There was one site that has offered me > to provide a good search engine and they did, but the problem is that they > didn't keep up with new releases, so people were searching the outdated > version, which is quite bad -

Re: "headless" operation

2000-05-02 Thread Matt Sergeant
On Tue, 2 May 2000, Autarch wrote: > On Tue, 2 May 2000, Tobias Hoellrich wrote: > > > for a future project I'm in the need to support two different ways how our > > web based service can be accessed: > > 1.) The traditional way: Handling user requests through a browser > > 2.) The "headless" wa

Re: "headless" operation

2000-05-02 Thread Matt Sergeant
On Tue, 2 May 2000, Tim Gardner wrote: > I am guessing that the "headless" version is what I do this when I am > doing a shockwave piece which calls cgi scripts. I create an html > version which provides a browser interface, albeit more boring, to > the same basic code so that I can more easi

Re: "headless" operation

2000-05-02 Thread Matt Sergeant
On Tue, 2 May 2000, Tobias Hoellrich wrote: > [EMAIL PROTECTED], > > for a future project I'm in the need to support two different ways how our > web based service can be accessed: > 1.) The traditional way: Handling user requests through a browser > 2.) The "headless" way: Handling under-the-ho

Re: High memory usage [Was: Hi, goor morning modperlers]

2000-05-02 Thread Matt Sergeant
First, please pick a sensible subject line... On Tue, 2 May 2000, FEITO Nazareno wrote: > Hi, wassup ppl... > I have a little problem, when I start up my apache 1.3.12 with > mod_perl.1.23, it seem like he is eating all the memory, in a point that the > computer almost doesn´t respond, I did try

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Matt Carothers
mimzhingleh/[EMAIL PROTECTED] for some mod_rewrite examples from a couple of weeks ago on this list. - Matt

Re: Strange mod_perl output problem - Followup

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Stas Bekman wrote: > On Mon, 1 May 2000, Hughes, Ralph wrote: > > > OK, > > After further investigation, it seems that Oraperl/DBI/DBD, etc. are not at > > fault! > > I'm formatting the data for display using Perl formats and displaying it as > > pre-formatted output using t

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Richard Dice wrote: > > blocks get evaluated in the Apache::ReadConfig namespace, which > > knows nothing about it's placed in. What you can do is to set > > FQDN variables from within section: > > Right... I didn't actually expect the block suggestion to be something > t

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Stas Bekman wrote: > > Would it not be possible / preferable to handle this kind of thing from > > within blocks? (localized to , etc. blocks, > > even) At least, something along these lines would cut down on the amount > > of configuration syntax that would needed to be c

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Stas Bekman wrote: > > It would be nice, in my opinion, to have some way of doing: > > > > PerlAddVar Fred "Value 1" > > PerlAddVar Fred "Value 2" > > > > And then in your script: > > > > my @values = $r->dir_config('Fred'); > > > > which gets ("Value 1","Value 2") in @val

PerlAddVar ?

2000-05-01 Thread Matt Sergeant
It would be nice, in my opinion, to have some way of doing: PerlAddVar Fred "Value 1" PerlAddVar Fred "Value 2" And then in your script: my @values = $r->dir_config('Fred'); which gets ("Value 1","Value 2") in @values. Any thoughts on this? (I'm not set on the name PerlAddVar, if that's anyon

[ANNOUNCE] AXDTK-0.05

2000-04-30 Thread Matt Sergeant
The Apache XML Delivery Toolkit is now at version 0.05. This release automates the caching mechanism so that any stylesheet mechanism you develop yourself doesn't have to. It does this by carefully overloading the Apache object, and re-blessing $r into that new object, and also re-tieing STDOUT to

Re: Proxy front end behind 64k

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Dave Hodgkinson wrote: > Matt Sergeant wrote: > > > > I'm behind a 64k leased line here (net access is *extremely* expensive > > here in the UK) and I was thinking, a proxy front end is probably really > > not necessary for me. Wors

Re: Security in displaying arbitrary HTML

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Marc Slemko wrote: > On Thu, 27 Apr 2000, Matt Sergeant wrote: > > > Unfortunately there's also a browser bug to contend with. They treat \x8b > > (I think that's the right code) as < and there's a similar code for > > >

RE: Security in displaying arbitrary HTML

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Gerald Richter wrote: > > > > Gerald, what about Embperl, does it escape \x8b? > > > > No, there is no html escape for \x8b (and I guess the other one Matt > mentioned is \0x8d for >) I know, so Embperl will not escape it, but this > coul

Re: Apache::ASP rules [was: Sorry men]

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Francesc Guasch wrote: > Ime Smits wrote: > > > > Bottomline: Apache::ASP made me really happy because now don't have to > > develop for IIS anymore and I can stick to my Linux environment. I can > > I'm also being told every once in a while by management > about why we are

Re: Security in displaying arbitrary HTML

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, Vivek Khera wrote: > > "SC" == Steven Champeon <[EMAIL PROTECTED]> writes: > > SC> developers and designers) for Webmonkey: > > SC> http://hotwired.lycos.com/webmonkey/00/18/index3a.html > > SC> If you want to see what sort of stuff the XSS problem opens you up for, >

Re: mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, Vivek Khera wrote: > >>>>> "MS" == Matt Sergeant <[EMAIL PROTECTED]> writes: > > MS> OK, just to get this onto a different subject line... I can't seem to get > MS> mod_proxy to work on the front end with name based vi

Re: mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, Drew Taylor wrote: > I'm not very skilled in this area, but it looks like you are proxying to > a backend on port 8080, but you never specify port 8080 in the config > for the backend... Perhaps this is it? Or did you leave out part of the > backend config? No - I just left

mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Matt Sergeant
OK, just to get this onto a different subject line... I can't seem to get mod_proxy to work on the front end with name based virtual hosts on the backend, I can only get it to work if I have name based virtual hosts on both ends. So I have a front end saying: NameVirtualHost 194.70.26.133 Serve

Re: Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, Matt Sergeant wrote: > > 1 mod_perl process could handle all the load > > you could possibly generate, and just let the mod_proxies build up and > > you'll see a lot lower memory usage on your box... seriously, in low > > bandwidth situations i

Re: Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000 [EMAIL PROTECTED] wrote: > You could however have someone with much more bandwidth than you use > mod_proxy to proxy and cache your site. Like someone such as myself > where bandwidth in the US is so cheap it's ridiculous. Upgrading to > T1 size pipe in a couple weeks at $20

Re: Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, dreamwvr wrote: > hi, > so your saying that say 'squid' would not be productive? seems > to me that if you are caching http and ftp stuff well that is going to > provide you with the pseudo of more bandwidth.. since not all requests > need to go beyond squid .. b

Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
I'm behind a 64k leased line here (net access is *extremely* expensive here in the UK) and I was thinking, a proxy front end is probably really not necessary for me. Worst case scenario: I get 8 clients connecting to my at about 1KB/s - my pipe is maxed out anyway, so pushing them onto a proxy is

[ANNOUNCE] AXDTK 0.01

2000-04-27 Thread Matt Sergeant
The first release of the packaged up Apache XML Delivery Toolkit is now available for download, at http://xml.sergeant.org/download/ The kit bundles together the following modules: Apache::MimeXML Apache::XMLStylesheet Apache::NotXSLT Apache::XPathScript Theres not very much documentation avail

Re: [RFC] modproxy:modperl ratios...

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000 [EMAIL PROTECTED] wrote: > Matt & List, > > Is there any benefit of mod_proxy over a real proxy front end like "Oops"? > > > > This is a good question..., the only answer I've come up with thus far > from reading the new-htt

Re: [RFC] modproxy:modperl ratios...

2000-04-27 Thread Matt Sergeant
On Wed, 26 Apr 2000, Leslie Mikesell wrote: > According to [EMAIL PROTECTED]: > > > > So, overall..., I think that you should consider how many modperl > > processes you want completely seperately from how many modproxy > > processes you want. > > Apache takes care of these details for you. Al

Re: $r->set_handlers behavior?

2000-04-26 Thread Matt Sergeant
On Wed, 26 Apr 2000, Geoffrey Young wrote: > good morning... > > I'm a bit confused about $r->set_handlers and $r->push_handlers behavior. > Both are listed in the eagle book as being per-request methods, but man > Apache lists them both as server configuration directives. I think, though, > th

Re: PerlHandler stopped working???

2000-04-26 Thread Matt Sergeant
On Tue, 25 Apr 2000, Doug MacEachern wrote: > there's nothing to investigate, Apache is working as it is designed. > if you feel this is a design flaw, the the issue should be raise on > [EMAIL PROTECTED] list. > as i mentioned above, alternative to the FixupHandler workaround, if your > TypeHan

Re: 2.0 wishlist: consistent API and docs

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Jeffrey W. Baker wrote: > I wish for a consistent API and documentation in the upcoming mod_perl 2.0 > implementation. For example, right now, we have several different ways to > tweak outgoing response headers. Some headers have their own method > ($r->content_type), while

Re: PerlHandler stopped working???

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Doug MacEachern wrote: > > I guess the problem is that mod_mime implements SetHandler - and I'm not > > convinced it should. If you were given the opportunity to do it all again > > understood, but this is how apache is designed, mod_perl is just going > with the flow here.

Apache XML Delivery Toolkit

2000-04-25 Thread Matt Sergeant
I thought I'd just post here what I sent to the axdtk list, in case there are people here who don't know what the heck I'm talking about... If this perks your interest, send a mail to [EMAIL PROTECTED], download the toolkit, and start asking questions... What is the AXDTK? It's a system very muc

Re: PerlHandler stopped working???

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Doug MacEachern wrote: > On Sat, 22 Apr 2000, Matt Sergeant wrote: > > > On Sat, 22 Apr 2000, Matt Sergeant wrote: > > > > > The only thing I can think of, is that Apache::MimeXML is somehow stopping > > > the PerlHandler phase from

Re: [RFC] XML/Apache Templating with mod_perl

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Leslie Mikesell wrote: > According to Matt Sergeant: > > > In case you missed it - I just announce the Apache XML Delivery Toolkit to > > both the modperl list and the Perl-XML list. With it you can develop an > > XSLT Apache module in 13 lines of

AXDTK Mailing List open!

2000-04-25 Thread Matt Sergeant
I had a pretty good response to the offer of a mailing list for the Apache XML Delivery Toolkit - and very fast too! So before more people say yes go ahead... send a blank mail to mailto:[EMAIL PROTECTED] and join the list! -- Fastnet Software Ltd. High Performance Web Specialists Providing m

Mailing list for AXDTK

2000-04-25 Thread Matt Sergeant
I'm thinking of starting a separate mailing list for the Apache XML Delivery Toolkit. For those who don't know, the Apache XML Delivery Toolkit now offers the core functionality of Cocoon (http://xml.apache.org/cocoon/) in mod_perl, without the proprietary extension that cocoon has implemented (

Re: [RFC] XML/Apache Templating with mod_perl

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, raptor wrote: > Yeah that will be really cool... can you inform me about the progress on > this, if you made something ... I thought about something similar not exact but > some sort of processor to handle XML(XSLT) -> HTML conversations + > some sort of caching tehnique, but

Apache Notes table

2000-04-24 Thread Matt Sergeant
Do any architectures other than mod_perl and C support access to the Apache notes table? For example, can you write a servlet that accesses the table, or use mod_py, or mod_php, and still have mod_perl process the request (i.e. still have mod_perl be the PerlHandler part of the request) ? The rea

[ANNOUNCE] The Apache XML Delivery Toolkit

2000-04-24 Thread Matt Sergeant
The Apache XML Delivery Toolkit (AXDTK) solves several problems for web developers interested in delivering dynamically transformed XML to clients: - It automatically associates XML documents with stylesheets according to http://www.w3.org/TR/xml-stylesheet - It enables xml stylesheet processor d

Re: Implementing security in CGI

2000-04-24 Thread Matt Sergeant
On Mon, 24 Apr 2000, dreamwvr wrote: > usally nothing but now everything as per bugtraq advisory.. what this means is > javascript code is inserted into a cookie that is living on a client and > executed there.. they can therefore read your bookmarks and so on.. I shudder at the thought of all t

Re: Implementing security in CGI

2000-04-24 Thread Matt Sergeant
On Mon, 24 Apr 2000, Marc Slemko wrote: > Don't go holding slashdot up as a great example. They is a perfect > example of what not to do. Last I checked, and this is probably still > true, anyone could make a post that, when read, stole the password of the > user reading it if they were logged

Re: Implementing security in CGI

2000-04-24 Thread Matt Sergeant
On Sat, 22 Apr 2000, dreamwvr wrote: > hi, >most likely you will want to shut down cookies and use another method as per > advisories that currently there is a problem with javascript and cookies when > both enabled. b.t.w. exploder has simular problems so since javascript is nice > to have

Re: gensym()

2000-04-24 Thread Matt Sergeant
On 24 Apr 2000, (Randal L. Schwartz) wrote: > >>>>> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes: > > Matt> So do I have to use gensym(), or not? > > As long as you are aware of the package in which the symbol ends up, I > can

gensym()

2000-04-24 Thread Matt Sergeant
Is it necessary to use gensym() in a PerlHandler() - it doesn't seem necessary to me. The book says "Ordinary bareword filehandles are prone to namespace clashes". Is that the case for a perl module? I don't think so. When I do: open(FH, $filename) || die "Open failed: $!"; I get *__PACKAGE__::F

Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread Matt Carothers
On Sat, 22 Apr 2000, Forrest Aldrich wrote: > I need to also install apache with php and mod_ssl. Here's the shell script I use. It will require some editing for your site. - Matt #!/bin/sh # source directories for mod_ssl, mod_php3, mod_perl, and apache MOD_SSL=/usr/local/src

Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread Matt Sergeant
On Sat, 22 Apr 2000, Forrest Aldrich wrote: > I couldn't find a faq on this one. > > I need to also install apache with php and mod_ssl. Those two require a > simple ./configure --switch to enable them. I didn't see anything for > mod_perl in the INSTALL, and it seemed there were a lot of

Re: Implementing security in CGI

2000-04-22 Thread Matt Carothers
On Fri, 21 Apr 2000, Gunther Birznieks wrote: > At 01:44 PM 4/20/00 -0500, Matt Carothers wrote: > > >Another big win is that the secure token can persist across multiple > >servers. > > What would prevent the token from being across multiple servers otherwise

[ANNOUNCE] Apache::XMLStylesheet

2000-04-22 Thread Matt Sergeant
rate PerlTypeHandlers _and_ PerlHandlers at the same time with mod_perl. I've logged a bug, and hopefully it will get fixed. In the meantime only files ending in .xml will be processed by this module, which isn't great. AUTHOR Matt Sergeant, [EMAIL PROTECTED] LI

Re: PerlHandler stopped working???

2000-04-22 Thread Matt Sergeant
On Sat, 22 Apr 2000, Matt Sergeant wrote: > The only thing I can think of, is that Apache::MimeXML is somehow stopping > the PerlHandler phase from being executed. Can it do that (but still allow > the PerlFixupHandler phase to execute)??? OK, it was Apache::MimeXML... Which is very o

PerlHandler stopped working???

2000-04-22 Thread Matt Sergeant
I'm so confused... I can't get my PerlHandler to work. It works sort of fine as a PerlFixupHandler - only if I return "OK" from that it then appends the entire file again to the end :( This is mod_perl 1.22, and it's a .htaccess file I'm trying to define it in. Here's the file: __BEGIN__ Directo

Re: do "file" -- does NOTHING

2000-04-22 Thread Matt Carothers
); > Apache->httpd_conf("isn't this wonderful?"); You need to use() the Apache module in order to access its methods. Add this to the top of your startup.pl: BEGIN { use Apache(); } - Matt

Re: DBILogger Error Status Codes

2000-04-21 Thread Matt Sergeant
On 21 Apr 2000, (Randal L. Schwartz) wrote: > Just in case you missed it... (but notice, no instructions!): > > package Stonehenge::Reload; Thanks! When perl is your day job, instructions just get in the way (I guess you gathered that from XML::XPath's instructions - did my email help you

Re: DBILogger Error Status Codes

2000-04-21 Thread Matt Sergeant
On 21 Apr 2000, (Randal L. Schwartz) wrote: > Matt> and I'd be > Matt> interested in seeing Stonehenge::Reload, but I don't fancy > Matt> searching the archives of this list (which you posted it to, > Matt> IIRC), and a central repository of all your mo

Re: DBILogger Error Status Codes

2000-04-21 Thread Matt Sergeant
On 21 Apr 2000, (Randal L. Schwartz) wrote: > Yes. The Stonehenge::DBILog that I put into WebTechniques last month [snip] Speaking of Stonehenge::* modules - any chance you can put up a repository of them on your web page - I just installed Stonehenge::Pictures (which is very cool - but I'd lik

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Matt Sergeant
On Fri, 21 Apr 2000, Doug MacEachern wrote: > > One thing you failed to mention was backward compatibility - what is your > > intention with regard to that? > > apache-2.0+ and Perl 5.6.0+ are required for mod_perl-2.0 > > if you want backward compatibility with older Apache/Perls, > just use m

[RFC] XML/Apache Templating with mod_perl

2000-04-21 Thread Matt Sergeant
I've just thought of a really cool idea, that would be rather easy to implement... First of all, when someone requests an XML document, it looks for the processing instruction, according to the w3c specs. We parse the "type" attribute and get: text/xsl or notxslt or Apache::MyPageProcessor i.e

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Matt Sergeant
On Thu, 20 Apr 2000, Doug MacEachern wrote: > eric and stas already let the cat out of the bag, but i was planning to > give a summary of what's in progress for mod_perl-2.0 anyhow :) > i've included a summary of the pieces i'm currently working on, there's a > great deal left to do, but it's loo

Re: Implementing security in CGI

2000-04-20 Thread Matt Carothers
vacet, Inc., to make this platform available to the > community. And here's the best part -- everything Avacet does will be > available open source and free via the GPL. I look forward to seeing it. - Matt

Re: mod_perl: rwrite returned -1

2000-04-20 Thread Matt Sergeant
On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote: > I've been working on a site using Apache::Registry and although it > works, an occasional request will just get into some loop or ? and eat > up much of the availble processor power. > When I check the logs, i find the error : > [Thu Apr 20 08:32:44

Re: crypt() under windows

2000-04-20 Thread Matt Sergeant
On Thu, 20 Apr 2000, Gunther Birznieks wrote: > At 09:00 PM 4/19/00 +0100, Matt Sergeant wrote: > >On Wed, 19 Apr 2000, Tim Bishop wrote: > > > > > > > > Hi- > > > > > > We used Martin Vorlaender's Crypt::UnixCrypt module for t

Re: [RFC] Do Not Run Everything on One mod_perl Server

2000-04-19 Thread Matt Carothers
milar services as if they were on separate servers is scalability rather than memory use. When a site outgrows the hardware it's on, spreading it out to multiple machines requires a lot less ankle grabbing if it was designed that way to begin with. :) - Matt

Re: crypt() under windows

2000-04-19 Thread Matt Sergeant
On Wed, 19 Apr 2000, Tim Bishop wrote: > > Hi- > > We used Martin Vorlaender's Crypt::UnixCrypt module for the same reason > you need it - no crypt() on Windows. Nonesense. Read README.win32 before building your perl. -- Fastnet Software Ltd. High Performance Web Specialists Providing mo

[ANNOUNCE] Apache::XPath::NotXSLT

2000-04-19 Thread Matt Sergeant
I've written a little XML temlate processing system that uses XPath to locate nodes. This makes it a bit like XSLT, but not totally. It's pretty quick, using caching to achieve 50rps on my humble PIII550 (apache stock untuned install). http://xml.sergeant.org/notxslt.xml (not on CPAN - and I don

<    4   5   6   7   8   9   10   11   >