hooks

2007-06-25 Thread john1
I've just been playing with the all the different hooks, just to see how it all hangs together. eg sub hook_connect { my $self = shift; $self-log( LOGDEBUG, '*CONNECT' ); return DECLINED; } I am unable to get the connect, pre_request or body_data hooks to fire. They are similar to

Re: Axkit2 and Apache fop?

2007-02-09 Thread john1
On 8 Feb 2007 at 10:39, Also Sprach Matt Sergeant: On 6-Feb-07, at 7:20 AM, [EMAIL PROTECTED] wrote: Ok, I have some lengthy processes coming up in the near future. Should I wait for the job server to be written or will I have to implement the above? Assuming the latter :) Yeah

Re: Axkit2 and Apache fop?

2007-01-30 Thread john1
On 27 Jan 2007 at 13:20, Also Sprach Jörg Walter: So while a simple plugin would be enough for development purposes, when you go live you have to enhance that plugin to support asynchronous operation. That's not too hard, we're still talking about no more than 100 lines of code, but it's

ax2 uploading files

2007-01-26 Thread john1
Lo, The plugin isn't written yet. Any idea when it might be? If it's not soon, I could always have a go myself in a week or two... John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Ax2: contributing

2007-01-25 Thread john1
On 24 Jan 2007 at 11:39, Also Sprach Matt Sergeant: On 24-Jan-07, at 10:52 AM, [EMAIL PROTECTED] wrote: Given the above (I presume it's correct) the ways around it are 1) Have a separate DBI daemon that processes requests and uses Danga. In the next release I hope to build a job

Re: AxKit2 Wiki

2007-01-24 Thread john1
Jorg, I have added frist pages to the AxKit2 wiki located at: http://trac.axkit.org/axkit2/wiki Well done! Feel free to add to my effort, explaining your own experiences or trying to understand my explanations. I have a few questions/points... I think it's been mentioned before

SSL

2007-01-24 Thread john1
Lo all, I was wondering how easy it would be to add SSL to Ax2. The reason being I need an SSL webserver for another project and I'm unsure as to how difficult it would be to take the code and add in SSL myself. It wouldn't be serving web pages, just messages. John

Static files and hook_xml_response

2007-01-24 Thread john1
Lo, I'm still having static files, .js, .jpg etc go through hook_xml_response. I have a test in there that returns DECLINED for such files, but it's a bit of a kludge. Perhaps it should be possible to do it via the config file? I was told it did this some time back but the latest svn (back

Ax2: contributing

2007-01-24 Thread john1
Lo, I was wondering if it would be possible to contribute to the project a mysql db app? They don't come more dynamic than a db app :) John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Static files and hook_xml_response

2007-01-24 Thread john1
On 24 Jan 2007 at 15:49, Also Sprach Jörg Walter: On Wednesday, 24. January 2007 13:24, [EMAIL PROTECTED] wrote: I'm still having static files, .js, .jpg etc go through hook_xml_response. I have a test in there that returns DECLINED for such files, but it's a bit of a kludge. Perhaps it

Re: AxKit2 Wiki

2007-01-24 Thread john1
On 24 Jan 2007 at 15:45, Also Sprach Jörg Walter: On Wednesday, 24. January 2007 13:08, [EMAIL PROTECTED] wrote: The modules should be installed in the usual perl module area, eg under site_perl. The plugins should be under the AxKit2 directory in a directory called plugins. That makes

Re: Ax2: contributing

2007-01-24 Thread john1
On 24 Jan 2007 at 15:51, Also Sprach Jörg Walter: On Wednesday, 24. January 2007 13:29, [EMAIL PROTECTED] wrote: I was wondering if it would be possible to contribute to the project a mysql db app? They don't come more dynamic than a db app :) Did you solve the problem of asynchronous

Re: Axkit2 wiki

2007-01-18 Thread john1
On 17 Jan 2007 at 15:17, Also Sprach Matt Sergeant: On 17-Jan-07, at 9:34 AM, [EMAIL PROTECTED] wrote: Are we to have an AxKit2 wiki or something hanging off the existing AxKit1 wiki? Not sure - what do you think would be best? I'm thinking start from scratch... Well, AxKit 1 and 2

Re: Axkit2 wiki

2007-01-18 Thread john1
On 18 Jan 2007 at 9:07, Also Sprach Anthony Gardner: Well suggested. I was an AxKit user and am interested in seeing how AxK2 works but don;t have the time to work it out by myself and would like to see an overall concept before diving in. You could always ask on here... I've developed an

Re: Axkit2 wiki

2007-01-18 Thread john1
On 18 Jan 2007 at 9:07, Also Sprach Anthony Gardner: Well suggested. I was an AxKit user and am interested in seeing how AxK2 works but don;t have the time to work it out by myself and would like to see an overall concept before diving in. You could always ask on here... I've developed an

Re: Axkit2 wiki

2007-01-18 Thread john1
Ants, you're right, I could've but I felt a bit of an idiot as no one else was asking the basic questions. What is the url to get the code out of svn ... if that's still the way it's done. I'll try and have another look at it. heh, Don't let that stop you. I frequently look an idiot.

Re: AxKit2: passing params to a stylesheet

2007-01-17 Thread john1
Lars, What's the syntax for passing param(s) to a stylesheet? Try $processor-transform(XSLT($stylesheet, %parms)) That's actually (almost) documented in the very bottom of the AxKit2::Processor POD. You're not wrong! Yeah, an example in the documentation would be a nice touch ;-)

Axkit2 wiki

2007-01-17 Thread john1
Lo all, Are we to have an AxKit2 wiki or something hanging off the existing AxKit1 wiki? Could someone send me a username and password for the wiki please? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

AxKit2: Saving other objects in a plugin

2007-01-15 Thread john1
Lo all, I have a plugin, Baz, which uses the axkit2 version of an object, ie no package syntax and blessing and what have you. I will be using another module, eg Foo::bar. Now when I create an instance of foo::bar where's the best place to store it, given that it is _not_ to be referenced

Re: Danga and aio

2007-01-10 Thread john1
On 9 Jan 2007 at 15:56, Also Sprach Matt Sergeant: On 9-Jan-07, at 10:18 AM, [EMAIL PROTECTED] wrote: Is there a quick and easy way to find out if the kernel supports aio? I'm not sure. Probably best to just check kernel versions. 2.4 generally doesn't. 2.6 does. I assume you're

Ax2 production setup

2007-01-10 Thread john1
Lo all, I'm running it on RH Linux. Currently I have one app set up thus: /var/www/AxKit2/APP_1 AxKit2 contains the axkit prog and a link to the plugins directory. APP_1 contains ./web ./web/plugins ./web/stylesheets ./web/webroot ./web/webroot/graphics ./web/webroot/js Now it's been

Re: Danga and aio

2007-01-10 Thread john1
On 10 Jan 2007 at 9:30, Also Sprach Matt Sergeant: I've used this in the past to check if I'm using epoll (though that's not the same as whether aio is supported): my $POLL = with . ($Danga::Socket::HaveEpoll ? epoll() : $Danga::Socket::HaveKQueue ? kqueue() : poll

Re: (Fwd) Re: (Fwd) Re: Bug in parse_post_param

2007-01-09 Thread john1
On 8 Jan 2007 at 17:34, Also Sprach Matt Sergeant: Now fixed in SVN - thanks for the continued prodding. No probs. Thanks for fixing it! It's going into production soon. John - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Danga and aio

2007-01-09 Thread john1
Is there a quick and easy way to find out if the kernel supports aio? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

(Fwd) Re: (Fwd) Re: Bug in parse_post_param

2007-01-08 Thread john1
Any news as yet on the below? There appears to be a bug in parse_post_param plugin. It works for firefox but not for IE5.5 and IE6. I've tracked it down to IE setting the $$bref 2 bytes too long. So it's probably a CR/LF thing. Yeah there's vague mention of this in the perlbal source. I'll

Re: Ax2 seg fault

2006-12-01 Thread john1
Obviously, when I said I had fixed it, I was mistaken. The location / stops the seg faults etc, but then stops my other locations from working. Which is a Bad Thing and definitely not what I wanted :) On 29 Nov 2006 at 12:41, Also Sprach Matt Sergeant: On 28-Nov-06, at 5:29 AM, [EMAIL

Re: Ax2 seg fault

2006-11-30 Thread john1
As requested. Mind you, I have fixed it, after a fashion. I've set up a location thusly: Location / Documentroot foo/bar /Location Now it doesn't crash, but I do get a The browser sent a request the server didn't understand page. [EMAIL PROTECTED]:/var/www/AxKit2$ gdb perl GNU gdb Red Hat

Re: Ax2 seg fault

2006-11-28 Thread john1
On 27 Nov 2006 at 11:14, Also Sprach Matt Sergeant: On 27-Nov-06, at 4:19 AM, [EMAIL PROTECTED] wrote: All, I'm getting the error below when someone enters http://domain.dom:8000 59.44.58.37:4992 L6 uri_to_file uri_translation translate: / 59.44.58.37:4992 L7 uri_to_file

Re: Ax2 seg fault

2006-11-28 Thread john1
On 28 Nov 2006 at 11:16, Also Sprach Matt Sergeant: You may have seen the news lately about the rise in spam volumes - well it's my day job to deal with that, and thus lack of axkit activity :-( Heh, I thought you were going to say it was your contribution to stop the email flood, the

Ax2 seg fault

2006-11-27 Thread john1
All, I'm getting the error below when someone enters http://domain.dom:8000 59.44.58.37:4992 L6 uri_to_file uri_translation translate: / 59.44.58.37:4992 L7 uri_to_file uri_translation Translated to (request uri: /, path info: ) A processor needs source document path at

IE Bug in parse_post_param

2006-11-15 Thread john1
Any news on the fix to allow IE to post params? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: hook_xmlresponse question

2006-11-02 Thread john1
On 2 Nov 2006 at 13:49, Also Sprach Robin Berjon: On Oct 31, 2006, at 10:35, [EMAIL PROTECTED] wrote: If that's the case you should create elements with createElementNS ('http://www.w3.org/1999/xhtml', 'div'). Does it matter if I don't? Yes, never, *never*, ever mix up That's a yes

Ax2 seg fault with particular url

2006-11-01 Thread john1
I get the below error when I enter http://darkstar:8000 instead of the set up uri which is http://darkstar:8000/fred It's running on a RH box. It does error, but without the seg fault on my slack laptop... 81.6.252.25:64083 L6 Connection from 81.6.252.25:64083 81.6.252.25:64083 L6 uri_to_file

Re: hook_xmlresponse question

2006-10-31 Thread john1
On 30 Oct 2006 at 19:02, Also Sprach Robin Berjon: On Oct 30, 2006, at 17:53, [EMAIL PROTECTED] wrote: On 30 Oct 2006 at 16:42, Also Sprach Robin Berjon: Is there any chance that in the DOM you create you use createElement ('div') to create elements but that in the XSLT there is a namespace

hook_xmlresponse question

2006-10-30 Thread john1
I thought I'd modify the xml, just before it gets sent to the browser. $out-input seems to contain the xml that's sent to the browser. (It has all the correct fields in there when I run $out-input-toFile()) Now to mess about with the xml I have put a dummy div as the last child of the body So,

POST params problem

2006-10-30 Thread john1
A new one this time. If I have a form that doesn't send any parameters, the server hangs. I found this out through having a form that only had checkboxes on it, none of which were checked. There is a workaround, hide a text field on the form. Of course, that won't be used by people wanting to

Re: hook_xmlresponse question

2006-10-30 Thread john1
On 30 Oct 2006 at 15:29, Also Sprach Robin Berjon: On Oct 30, 2006, at 15:06, [EMAIL PROTECTED] wrote: my $root = $out-input-getElementsByTagName('body')-get_node(1); But it doesn't return anything. his makes the server fall over with a plugin error, $root being undefined. If I change

Re: hook_xmlresponse question

2006-10-30 Thread john1
On 30 Oct 2006 at 16:42, Also Sprach Robin Berjon: On Oct 30, 2006, at 16:08, [EMAIL PROTECTED] wrote: The above code is used elsewhere, even the get_node(1) for a single unique node in my DOM. This works. It's the getelementsbytagname that's failing. It may be a long shot but you

Re: (Fwd) Re: Bug in parse_post_param

2006-10-27 Thread john1
Matt, Sorry John, My wife had an accident while skating (fell backwards and fractured her skull) last week so I've had no free time to look into this at all. Sorry. My apologies matt, the email wasn't a dig at yourself. The second attempt thing was because my first didn't appear in

(Fwd) Re: Bug in parse_post_param

2006-10-26 Thread john1
2nd go at this, I sent it on the 25th but it aint in the archive yet... --- Forwarded message follows --- Matt, There appears to be a bug in parse_post_param plugin. It works for firefox but not for IE5.5 and IE6. I've tracked it down to IE setting the $$bref 2 bytes too long.

Re: Bug in parse_post_param

2006-10-25 Thread john1
Matt, There appears to be a bug in parse_post_param plugin. It works for firefox but not for IE5.5 and IE6. I've tracked it down to IE setting the $$bref 2 bytes too long. So it's probably a CR/LF thing. Yeah there's vague mention of this in the perlbal source. I'll dig into it.

Using methods in one plugin from another

2006-10-13 Thread john1
I thought I'd move some code from my plugin and put it into its own plugin. However, the methods in the new plugin need to be used by the first plugin. How do I go about doing this? I presume I need to somehow put the new plugins object ref into $plugin... John

Re: Using methods in one plugin from another

2006-10-13 Thread john1
On 13 Oct 2006 at 10:53, Also Sprach Matt Sergeant: On 13-Oct-06, at 7:39 AM, [EMAIL PROTECTED] wrote: I thought I'd move some code from my plugin and put it into its own plugin. However, the methods in the new plugin need to be used by the first plugin. How do I go about doing this? I

Saving xml object to cache

2006-10-11 Thread john1
Is it possible? I get all sorts of errors saving a XML::LibXML::Element to cache. I get similar when I try using storable on it first. Version of XML::LibXML is 1.57 iirc. I am unable to upgrade because it will break my Axkit 1 set up. (If it makes a difference.) Below is the code that breaks,

Re: parse_post_param problem

2006-10-06 Thread john1
Jörg, http://domain.dom:8000/foo/?fire=hot Is the above a valid url? the / before the ? looks wrong. It's a perfectly valid URL. If you don't want to upgrade, that's the easiest way to go. Oh I don't mind upgrading. The problem I have with the dodgy looking url is that it would break

Re: parse_post_param problem

2006-10-06 Thread john1
On 5 Oct 2006 at 15:03, Also Sprach Matt Sergeant: I think what happens with AxKit1 is it suppresses Apache's internal mod_dir mechanism that forces the redirect (when used with SetHandler axkit). This should probably be considered an AxKit1 bug :-) heh. I've had a look at my pre sawa

Re: xml_response question

2006-10-06 Thread john1
On 5 Oct 2006 at 17:30, Also Sprach Jörg Walter: You can use multiple location blocks, the first match is used: Location \.(gif|css|jpg|png)$ ... whatever normal files should get /Location Location /your_app/ ... your webapp code ... /Location Ok, I've got the latest code. the

Re: xml_response question

2006-10-06 Thread john1
wrt to the Location thing not seeming to work (probably user error). Here's my log file. 127.0.0.1:48426 L6 Connection from 127.0.0.1:48426 127.0.0.1:48426 L6 uri_to_file uri_translation translate: /fred/ 127.0.0.1:48426 L7 uri_to_file uri_translation Translated / to

Re: uri to file strangeness

2006-10-06 Thread john1
On 4 Oct 2006 at 15:22, Also Sprach Jörg Walter: To get Apache-like behaviour, add one directive to each Location-block: Path Doesn't work. Below is the error: [EMAIL PROTECTED]:/tmp/AxKit2-1.1$ ./axkit -c emap/axkit.conf L7 request_log register_hook: response_sent = hook_response_sent

Bug in parse_post_param

2006-10-06 Thread john1
Lo, There appears to be a bug in parse_post_param plugin. It works for firefox but not for IE5.5 and IE6. I've tracked it down to IE setting the $$bref 2 bytes too long. So it's probably a CR/LF thing. John - To unsubscribe,

Re: parse_post_param problem

2006-10-05 Thread john1
On 4 Oct 2006 at 16:38, Also Sprach Jörg Walter: On Wednesday, 04. October 2006 16:18, [EMAIL PROTECTED] wrote: Well, I eventually found how to do it, but I now have a problem The log below is from when the submit button is pressed. As one can see, the params username and passwordname

File upload with single process

2006-10-05 Thread john1
As the Axkit daemon is single process, how is it envisaged to handle a file upload that takes a long time? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: uri to file strangeness

2006-10-05 Thread john1
On 4 Oct 2006 at 15:22, Also Sprach Jörg Walter: Locations are usually interpreted as directories. This stems from a To get Apache-like behaviour, add one directive to each Location-block: Path Ax2 chokes with this directive. John

Re: parse_post_param problem

2006-10-05 Thread john1
On 4 Oct 2006 at 16:38, Also Sprach Jörg Walter: It's the problem of all redirects. Apache is no different. The solution is to try the just discussed way of suppressing the redirects, or to /-terminate the URL right from the start. I can't work out how to suppress a redirect. I have managed

xml_response question

2006-10-05 Thread john1
At the moment I have a line in xml_response that checks the request for ending in css, gif etc so as to return DECLINE and not try and put them thrugh a stylesheet. Is there an inbuilt way of doing this(ie separating ordinary files from xml) or shuld Iwrite a config directive to do it? Something

uri to file strangeness

2006-10-04 Thread john1
Lo all, There's a bit of a difference as outlined below. It doesn't seem to be causing problems tho. Any url seems to have a / put on the end for some reason. fred is set up in axkit.conf as a location. AxKit2: Entering http://localhost:8000/fred gives http://localhost:8000/fred/ A

parse_post_param problem

2006-10-04 Thread john1
Well, I eventually found how to do it, but I now have a problem The log below is from when the submit button is pressed. As one can see, the params username and passwordname are put into the clients param api but then are promptly forgot about due to a redirect. Is this expected behaviour?

Re: uri to file strangeness

2006-10-04 Thread john1
On 4 Oct 2006 at 15:22, Also Sprach Jörg Walter: On Wednesday, 04. October 2006 12:31, [EMAIL PROTECTED] wrote: There's a bit of a difference as outlined below. It doesn't seem to be causing problems tho. Any url seems to have a / put on the end for some reason. fred is set up in

POST params

2006-10-03 Thread john1
Lo all, Axkit2. How does one get at the params from a form using the POST method? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Temporary data storage

2006-09-18 Thread john1
On 18 Sep 2006 at 7:51, Also Sprach Matt Sergeant: On 17 Sep 2006, at 12:26, [EMAIL PROTECTED] wrote: When a request comes in the uri params are encrypted so I have to decrypt them and parse them. eg localhost:8000/emap?rose=encrypted string Where can I put the parameters? Should I

Re: Temporary data storage

2006-09-18 Thread john1
The second is to put it in the $client object's notes field - this is a per-request storage location: Ok, I think I'll go with the notes. It's a bit of future proofing for when I have multiple plugins... Thanks. john - To

Re: Temporary data storage

2006-09-18 Thread john1
Why not decrypt the values and store them in $self-client-param? After that you could use param() as if they were not encypted. Well mainly because I didn't think of it! I'll look into it... Thanks john - To unsubscribe,

Temporary data storage

2006-09-17 Thread john1
Lo All, When a request comes in the uri params are encrypted so I have to decrypt them and parse them. eg localhost:8000/emap?rose=encrypted string Where can I put the parameters? Should I 1) Have a my %hash in the plugin? 2) store a hashref in notes 3) something else? John -- First Rule of

Re: Axkit2 Caching

2006-09-14 Thread john1
On 13 Sep 2006 at 14:20, Also Sprach Matt Sergeant: [EMAIL PROTECTED] wrote: Is the Cache::Cache stuff in there for us to roll our own caching of html pages or does Axkit2 have that inbuilt? I'm looking for feedback on caching. I got fantastic performance when I benchmarked doing XSLT

continuations

2006-09-14 Thread john1
Reading the docs, I've come to the continuation section. Does it only apply to disk stuff or could I write something that handled long database queries, for example? John -- Monday, n.: In Christian countries, the day after the baseball game. -- Ambrose Bierce, ''The

Axkit2, sawa

2006-09-12 Thread john1
Lo all, I'm about to start a new project. I'm currently using SAWA and axkit, but I'm really only using SAWA for the style choosing and for parsing the client uri. The question is, do I need SAWA with Axkit2? John -- ''Here at the Phone Company, we serve all kinds of people; from Presidents

Re: AxKit2 - a status update

2006-08-09 Thread john1
On 8 Aug 2006 at 12:43, Also Sprach Matt Sergeant: On 8-Aug-06, at 12:19 PM, [EMAIL PROTECTED] wrote: Is Danga::Socket faster than opening a fifo pipe for reading and immediately forking when something is read, given that the processing is fairly long winded after the read? This is

Re: AxKit2 - a status update

2006-08-09 Thread john1
On 9 Aug 2006 at 8:37, Also Sprach Matt Sergeant: On 9-Aug-06, at 8:25 AM, [EMAIL PROTECTED] wrote: I presume that there is an event loop. When an event happens and the processing of that event takes, for example, five minutes, what happens when another event happens? It's blocked

Re: AxKit2 - a status update

2006-08-09 Thread john1
On 9 Aug 2006 at 10:35, Also Sprach Matt Sergeant: On 9-Aug-06, at 9:47 AM, [EMAIL PROTECTED] wrote: The server sits there listening for a request. This request has to go to a db, retrieve lots of data, generate the xml etc and eventually pass back html. Let's say that the retrieval of

Re: AxKit2 - a status update

2006-08-08 Thread john1
On 8 Aug 2006 at 9:53, Also Sprach Matt Sergeant: I'm not quite sure what you're looking for here. Personally my use of axkit is for webapps, pure perl using sawa. No taglibs at all. (what drugs induced taglibs?!!) I think the only benefit of apache/mod_perl would be performance and all the

Re: AxKit2 - a status update

2006-08-08 Thread john1
On 8 Aug 2006 at 9:45, Also Sprach Matt Sergeant: But also after spending 7 years working with mod_perl I think I've decided I don't like it all that much :-) Why not? Did I state that? I think I've stated in other places that this httpd will be good enough for many places to deploy

Re: AxKit2 - a status update

2006-08-08 Thread john1
On 8 Aug 2006 at 11:16, Also Sprach Matt Sergeant: On 8-Aug-06, at 10:40 AM, [EMAIL PROTECTED] wrote: What perl libs? Danga::Socket (used by perlbal and qpsmtpd), Why not perlbal? I presume it doesn't do things that you want axkit2 to do, but what? which uses IO::KQueue

Simplifying AxStyleName

2005-12-28 Thread john1
Lo, I'm using Axkit with SAWA. Below is an extract from my httpd.conf. What I'd like to do is to generate the AxAddProcessor chain in my perl code. This would remove a large number of AxStyleName entries. Is this possible? If so could someone point me in the right direction please? AxStyleName

Slow response time

2005-10-21 Thread john1
Lo all, I have a page that is generated from data in a db. The users are complaining that it takes from 30s to 60s to load the page. Now I have put logging into apache and from the start of the request to the end (of my code) takes about 14s. Which means the bottleneck is either in AxKit or a

that redirect thing

2005-10-11 Thread john1
for the archives... the SAWA object has a redirect method. John -- $100 invested at 7% interest for 100 years will become $100,000, at which time it will be worth absolutely nothing. -- Lazarus Long, ''Time Enough for Love''

redirecting

2005-10-10 Thread john1
AxKit + SAWA. Lo all, Apologies for the vague subject but I'm not sure how to phrase it. Here's what I want to happen, hopefully someone can give me a clue... I have a page with a url of http://some_document. On this page is a link http://processed_document. When the user selects the link I

Re: xpathscript basics... and the exit signal Segmentation fault (11)

2005-05-05 Thread john1
On 5 May 2005 at 10:05, Also Sprach [EMAIL PROTECTED]: I want to use xpathscript to develop some taglibs to hide some of the messy xsp stuff I have been doing. This seems to be turning into a mess for you. Why not just write perl modules to generate xml? Have a look at SAWA, it is _very_

Re: Installation on RHEL3

2005-05-04 Thread john1
On 4 May 2005 at 8:16, Also Sprach Kjetil Kjernsmo: On tirsdag 03 mai 2005, 13:53, Martin Oldfield wrote: I've got to install AxKit on an RHEL3 box. Are there, by chance, a set of .rpms around ? The problem is really that RHEL3 ships with Apache2 only. We're not I too had the joy of

Re: ESQL and secure connections

2005-05-03 Thread john1
Tom, When useing ESQL (via AxKit::XSP::ESQL) to connect to a MySQL datadase, I have the connection details hard coded into the xsp page (username, password etc.) This seems unsecure. I don't like the thought of having my MySQL username and password hardcoded into the page. Is there some

TEST and LIVE servers

2005-05-03 Thread john1
Lo all, I currently have an application (AxKit + SAWA) setup as test. However I now need to move it to a live environment. I can change the urls and the db it points at but where I come unstuck is with my perl modules. Ideally I want to be able to copy files from the test area to live without

Re: TEST and LIVE servers

2005-05-03 Thread john1
Tom, That's a mod-perl question ;-). Heh, well I realise that now I know the answer :) You can set the PERL5LIB in your httpd.conf. See the mod_perl1-docs for more information. You can also use a startup.pl: Thanks for that. John

Re: ESQL and secure connections

2005-05-03 Thread john1
On 3 May 2005 at 9:21, Also Sprach Michael Nachbaur: On May 3, 2005, at 3:48 AM, [EMAIL PROTECTED] wrote: can store these details elsewhere (preferably encryped) and reference then from the xsp somehow? I'm not sure how MySQL functions, but I know with PostgreSQL it can read in its

Re: SAWA

2005-03-09 Thread john1
On 8 Mar 2005 at 9:59, Also Sprach Michael Nachbaur: Kip Hampton. He's doing some seriously wicked voodoo with SAWA at the moment that makes my head spin... Oooh. Examples please. John - To unsubscribe, e-mail: [EMAIL

slightly OT...

2005-02-22 Thread john1
Lo all, This is slightly OT, perhaps. Anyway, in one of my apps I have three xslt docs. One does a bar along the top and the menu down the side, another does the main content in the middle of the screen and the final one renders it all as html. I have been asked to find a tool that allows

Re: SAWA

2005-02-14 Thread john1
Michael, That is a _very_ slick looking site. Excellent. How long did it take from start to current state? ie design, graphics, coding. John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: unicode libxml strangeness

2005-02-14 Thread john1
Vaclav, On Wednesday 09 February 2005 16:05, [EMAIL PROTECTED] wrote: When the code below is run the xml is not well formed. To be more precise, the output via toString isn't well formed, the output via toFile _is_ well formed. What seems to happening is that toString is decoding the

unicode libxml strangeness

2005-02-09 Thread john1
Lo all, I was having some trouble with my axkit app and have tracked it down to this. I've googled for a solution/explanation and got about 4 pages ie nowhere. When the code below is run the xml is not well formed. To be more precise, the output via toString isn't well formed, the output via

Re: unicode libxml strangeness

2005-02-09 Thread john1
Michael, I'm sorry to say that while I can't provide you with a solution, I can at least verify that something is going wrong with the unicode strings. Good, at least it isn't me then. However, in my tests (Mac OS 10.3.7 and libxml 2.2.6 with XML::LibXML 1.58) I am getting well-formed XML

Re: unicode libxml strangeness

2005-02-09 Thread john1
Michael, I'm sorry to say that while I can't provide you with a solution, I can at least verify that something is going wrong with the unicode strings. Good, at least it isn't me then. However, in my tests (Mac OS 10.3.7 and libxml 2.2.6 with XML::LibXML 1.58) I am getting well-formed XML

OT: SAWA

2004-11-12 Thread john1
Could any SAWA ppl please contact me back channel? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SAWA + AxKit (was: Content provider or cgi)

2004-09-28 Thread john1
On 27 Sep 2004 at 23:44, Also Sprach Kip Hampton: [EMAIL PROTECTED] wrote: Ah, I had a look at that, once I'd found it, (it's not on CPAN), and it made my eyes bleed :) Tho as you recommend it I'll look into it some more. I'm curious, what about it made your eyes bleed? I realize that

Re: Content providers...

2004-09-28 Thread john1
On 27 Sep 2004 at 22:21, Also Sprach David Nolan: --On Monday, September 27, 2004 9:13 AM +0100 [EMAIL PROTECTED] wrote: My current app has, say, 10 screens. snip I've left out a *lot* of details here, including most of the error detection and evil-user protection. If you're

Re: AxNoCache...

2004-06-15 Thread john1
On 14 Jun 2004 at 11:38, Also Sprach David Nolan: --On Monday, June 14, 2004 3:27 PM +0100 [EMAIL PROTECTED] wrote: Should AxNoCache be on or off for a production server? Is your content very dynamic? If so, it may be less useful. If you never serve the exact same content twice,

Re: AxNoCache...

2004-06-15 Thread john1
On 15 Jun 2004 at 6:35, Also Sprach David Nolan: --On Tuesday, June 15, 2004 7:09 AM +0100 [EMAIL PROTECTED] wrote: Basically xsl:key (I mis-remembered the prefix before...) pre-creates an index on the table, Proper application of xsl:key can be very useful. One of our (non-AxKit)

Re: Strange IE/html problem SOLVED

2004-06-14 Thread john1
Lo all, Thanks to all. I finally cracked it. My perlscripts were returning each line of xml with a LF. This added up to a lot of LF before the html started. I removed these (put in to pretty up the xml for my debug) and hey presto, IE stopped choking. John

AxNoCache...

2004-06-14 Thread john1
Lo all, Should AxNoCache be on or off for a production server? While I'm at it, what other settings make for a fast production server? John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Strange IE/html problem

2004-06-10 Thread john1
Lo all, I'm generating xml via a script and putting it through axkit to generate html. It works fine. The html is just a table with a number of fields per row and a check box at the end of the row (nunno if this is relevant). Anyhow, here's the thing, when I have more than 205 rows, IE doesn't

redefined subroutine errors in apache log

2004-05-07 Thread john1
Lo all, I've got a load of Subroutine Apache::send_http_header redefined at blahblah Apache/RegistryFilter.pm line 49 send cgi_header also gives this. I've googled and only found a solution for the axkit 1.62 warning in the log that needed commenting out. The system is set up such that perl

Web app 101

2004-03-16 Thread john1
I have a form. The user enters data, presses the button. This gets passed to a url localhost/script.pl?a=1b=2 etc. script.pl now has a choice, depending on the vars a and b. If it decides to send a list of products, how do I make the url in the browser change from localhost/script.pl?a=1b=2 Or is

Re: Web app 101

2004-03-16 Thread john1
On 16 Mar 2004 at 13:22, Also Sprach fess: I'm not sure I understand your question, if you're trying to change the location in the url bar of the browser, you have to redirect the browser to another location. That's the one. There's a lot of different ways to get a redirection out,

  1   2   >