[mp2]: Is there a package for Debian/testing?

2003-01-23 Thread Joachim Zobel
Hi. I would like to start testing mp2, but I remember that compiling apache/mp1 was no fun at all. So I would like to have a debian package. I found one in debian unstable, but this requires perl 5.8. Thanx, Joachim

Re: mysql password encryption

2003-01-23 Thread Joachim Zobel
On Wed, 2003-01-22 at 16:29, Martin Moss wrote: I wish to let a user use the same password for them to authenticate to a multitude of mysql Databases AND to authenticate themselves on my modperl site. the problem I have is that I store the password in the database as a Password field. However

Re: No error log, no database

2002-08-02 Thread Joachim Zobel
At 09:03 02.08.2002 +0800, you wrote: Joachim Zobel wrote: Hi. Yesterday it happened that our error log reached 2Gb. Since ours is a linux box writing to it stopped. At the same time all database driven functionality stopped working (Plain DBI on Mysql, no Apache::DBI). The database was still

No error log, no database

2002-08-01 Thread Joachim Zobel
Hi. Yesterday it happened that our error log reached 2Gb. Since ours is a linux box writing to it stopped. At the same time all database driven functionality stopped working (Plain DBI on Mysql, no Apache::DBI). The database was still usable through the PHP admin interface. The filesystem

Cleanup handlers and internal redirects

2002-07-18 Thread Joachim Zobel
Hi. If I do an internal redirect, will there be a call to the initial requests cleanup handler? Of course I could test this but I would prefer documented behaviour. Is this written anywhere? Thanx, Joachim -- ... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden koennen.

Re: mod_perl module documentation

2002-06-18 Thread Joachim Zobel
At 13:30 18.06.2002 -0400, you wrote: http://www.apacheadmin.com/mod_perl.html Great. I explicitely missed this before. Especially the context information is useful if you have to do things via .htaccess as much as possible. Thanx, Joachim -- ... ein Geschlecht erfinderischer Zwerge, die fuer

Re: Using a 404 ErrorDocument to serve content

2002-05-06 Thread Joachim Zobel
At 10:59 06.05.2002 -0700, you wrote: On Mon, 6 May 2002, Perrin Harkins wrote: Incidentally, that's how Vignette StoryServer works. You could also do this kind of thing with a transhandler (or mod_rewrite) that checks for the existence of a static file and rewrites the URL if it can't

Re: Off topic question a little worried

2002-03-22 Thread Joachim Zobel
At 14:15 21.03.2002 -0600, you wrote: Any idea as to how it got on my server. It is owned by apache and in the apache group. That tells me that it was put on there by apache. It is in a directory that has the permissions 777 because the script that is normally in there keeps and writes traffic

Re: How to do connection pooling

2002-02-28 Thread Joachim Zobel
At 02:11 280202 +0530, you wrote: Hi all, How can I maintain the connections in perl? For this I want to use connection pooling to contol the traffic of my site How can I do this in perl? Can anybody help me in this regard? If possible please give the steps included in this Is Apache::DBI

Re: how to pass data in internal redirects?

2002-02-26 Thread Joachim Zobel
At 16:06 26.02.02 +0100, you wrote: So, a controller could in principle perform a call to a template engine as yours does, conceptually there is no need to do that internal redirect. In fact, there is no need to have two different files if I take the pattern a bit further. For instance, I

WYSIWYG Template Editor

2002-01-01 Thread Joachim Zobel
Happy New Year. Does anybody know a template engine, whose templates can be edited with a WYSIWYG editor (favourably dreamweaver) as they will look when filled with example data? Thanx, Joachim -- ... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden koennen.

Re: Tips tricks needed :)

2001-12-20 Thread Joachim Zobel
At 10:50 19.12.01 +0200, you wrote: 4. [...] Ok, let's say we even somehow make these formulas general enough to use, but where shall the calculation take place? Postgres stored procs or in perl code/module (i think this) or even in TT? Constans will be in db. I tend to do calculations involving

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Joachim Zobel
At 08:42 15.11.01 -0800, you wrote: Say I have a page that encapsulates some functionality, such as sending a form then validating the contents that are returned. I'd call that PageB. PageB could be more than one page or a page calling itself, etc. When PageA calls PageB, as soon as PageB

Re: [OT] Data store options

2001-11-08 Thread Joachim Zobel
At 08:59 08.11.01 -0800, you wrote: My specifics are that I have a need to permanently store tens of thousands of smallish (5K) items. I'm currently using a simple file system store, one file per record, all in the same directory. Clearly, I need to move into a directory tree for better

Using CGI.pm in handlers 2

2001-08-19 Thread Joachim Zobel
(offline mode: enter name=value pairs on standard input) I have understood that I get theses messages because it is a Fixup Handler and the enviroment is not yet initialized. But I still don't know what to do about them. Thanx, Joachim -- ... ein Geschlecht erfinderischer Zwerge, die fuer

How do I really get the URI requested by the browser?

2001-08-18 Thread Joachim Zobel
Hi. I want to get the URI requested by the browser just as $REQUST_URI gives it to me inside a content handler. This is needed in other handlers, so I can not use %ENV. I am also not shure, when subprocess_env is initialized. Unfortunaltely $r-uri() does not return the URI requested by the

Using CGI.pm in handlers

2001-08-18 Thread Joachim Zobel
Hi. I have a handler that needs to use CGI.pm to set a cookie. It seems to work correctly, but it fills my error log with (offline mode: enter name=value pairs on standard input) messages. I am doing use Apache; require Apache::Constants; use CGI; ... package SetCookie; (with

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-02 Thread Joachim Zobel
At 13:42 02.08.01 -0400, you wrote: At 1:07 PM +0200 8/2/01, Joachim Zobel wrote: Hi. One of the really nice features of MySQL (OK, its not a real RDBMS, but who cares:) is LIMIT. Using Oracle I have found it a real pain to display search results in pages (of eg 20) while using connection

Re: Santitizing errors with mod_perl

2001-07-28 Thread Joachim Zobel
At 03:37 27.07.01 -0500, you wrote: I sanitize all my input in my scripts to only allow chars i want allowed. My working lines before using modperl and for some reason kick out error with mod perl are as follows: $user =~ s/[^$OK_CHARS]//go; $pass =~ s/[^$OK_CHARS]//go; When an account is

Re: Ultimate Bulletin Board? Jezuz.

2001-07-28 Thread Joachim Zobel
At 18:16 27.07.01 -0400, you wrote: 1 the quality of [perl] code in UBB is so phenomenally bad i can't believe people pay money for it. i can't believe it works (but it does). has anyone else ever experienced it? i guess i need a support group... it makes me cry and cuts me to the bone when

Re: Apache::SimpleTemplate (don't do it!)

2001-07-10 Thread Joachim Zobel
At 20:19 09.07.01 +0200, you wrote: It's your decision, but I think you waste your time while you make all the experiences the other had made during the last 3-5 years. I think it would more helpfull if you help to improve the other modules (for example makeing them easier to install etc.)

Just a few good men? Was: ignored (again)

2001-07-04 Thread Joachim Zobel
Hi. The question is: Are a few good developers all we need? If this is the case we can safely ignore to be ignored (we have them). It is OK to be one of the few people to know the leading Apache development system. But it has serious drawbacks. Where I work people are migrating from server

Re: Persistant data accross processes

2001-06-26 Thread Joachim Zobel
At 14:54 25.06.2001 -0700, you wrote: Hi all, I'd like a way to store complex data structures across Apache processes. I've looked at Apache::DBI for an example: my tests say that he has to create a new dbh for every process. I've looked at IPC::Shareable, but it has to copy data. Meaning

Re: mod_perl 1.25, CGI.pm and POST

2001-06-26 Thread Joachim Zobel
At 15:50 25.06.2001 -0700, you wrote: [...] However, if I change the submission type from POST to GET, the script starts functioning perfectly. Does anyone know what would cause this type of behavior? I am at a loss as to how to proceed ... I am including below an example script which

Can I use mod_perl to monitor mod_ssl

2001-06-24 Thread Joachim Zobel
Hi. We are having infrequent non reproducable problems with SSL. Can I use mod_perl for debugging and monitoring the SSL activity beyond HTTP? Thanx, Joachim -- ... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden koennen.- Bertolt Brecht -

Re: SSI advocacy Was:: Multiple AddHandler statements

2001-06-23 Thread Joachim Zobel
At 12:35 22.06.2001 -0400, you wrote: 1. SSI with XBitHack full plays the 304 game for me. Every time the catalog database is updated, its SSI frame gets a touch. Thats it. Simple. Efficient. Most of the perl templating systems would be just as good on these points, Including

Re: Multiple AddHandler statements

2001-06-22 Thread Joachim Zobel
At 15:33 18.06.2001 -0700, you wrote: We have a CGI script which dynamically generates a certain page on our site. We want to include an SSI on that dynamically created page. Is that possible? We have two AddHandler statements for files that end in .cgi... IfModule mod_mime.c ...

SSI advocacy Was:: Multiple AddHandler statements

2001-06-22 Thread Joachim Zobel
At 14:33 19.06.2001 +0530, you wrote: Is there something in SSI which cant be done in a better way using Perl ?? Yes. 1. SSI with XBitHack full plays the 304 game for me. Every time the catalog database is updated, its SSI frame gets a touch. Thats it. Simple. Efficient. 2. SSI provides a way

Re: can not redirect on POST w/ CGI.pm

2001-06-13 Thread Joachim Zobel
At 17:46 13.06.2001 +0100, you wrote: Actually, it's apache not letting it redirect on a POST form. I don't know why commenting out CGI makes any difference, but the HTTP RFC does say that the behaviour is undefined, for 301/2 on anything other than GET, if you think about it, this makes sense:

How to change an SSIs Last-Modified

2001-06-04 Thread Joachim Zobel
Hi. I am using SSI a lot for 3 reasons: 1. Easy way to modularize static and generated HTML 2. XBitHack full + touch provides an easy way to have pages play the If-Modified-Since game. (If our catalog database is updated, the fame SSIs get a touch) 3. Performance Now I am implementing a way

Re: Appending Sessionid to all the urls

2001-05-24 Thread Joachim Zobel
At 08:39 25.05.2001 +1200, you wrote: And there lies the rub. The user is using the system to process client A. The cookie contains stateful information including the client ID. They then open an new browser window, and lookup client B, recieving a new session ID with new state information,

Re: Appending Sessionid to all the urls

2001-05-22 Thread Joachim Zobel
At 18:06 22.05.2001 +0800, you wrote: For instance when i access url http://www.nus.edu.sg?sessionid=dfd3453http://www.nus.edu.sg?sessionid=dfd3453 i want all the urls to be appended in all the urls of that website.. My qns is everytime i found that the session id is lost... through the many

Have SSIs return the error status if include dies

2001-05-19 Thread Joachim Zobel
Hi. I would like my SSIs to return the error status if an included request dies. A better error message would be nice, too. Is there a trick to do this? Thanx, Joachim -- ... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden koennen.- Bertolt

Can AxKit be used as a Template Engine?

2001-04-21 Thread Joachim Zobel
Hi. I try to understand why and if this XML/XSL stuff is useful. Is it that transformations (XSL) of XML to HTML can be used instead of the usual HTML templates (eg. Template-Toolkit)? Can this do what a template engine can do? Where are the limitations? Is there something it can't do?

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread Joachim Zobel
At 15:44 20.04.2001 +0200, you wrote: an interesting feature of JSP is the possibility to use the MVC design pattern (INPUT/OUTPUT/LOGIC separation) This is obtained with the "forward" instruction. How the MVC design pattern can be implemented in the mod_perl (and specifically Apache::ASP)

Re: [OT]: POST/GET semantics

2001-04-12 Thread Joachim Zobel
At 10:45 11.04.2001 -0700, Andrew Ho [EMAIL PROTECTED] wrote: JZI have found that having a session object is a rather bad idea. What JZhappens if there is such a beast is essentially communication of JZfunctions through global variables. So I thought about the cure and JZfound that having server

[OT]: POST/GET semantics

2001-04-11 Thread Joachim Zobel
Hi. I have found that having a session object is a rather bad idea. What happens if there is such a beast is essentially communication of functions through global variables. So I thought about the cure and found that having server side "objects" that can be retrieved through an id enables

Passing data to subrequests

2001-04-06 Thread Joachim Zobel
Hi. I still think about a way to use content negotiated templates. My favourite solution is now to make my template filler a content handler for the template direktory. The problem is to pass the data the handler should fill in. How do I pass larger data structures to a subrequest? Is there

Postprocess subrequest content

2001-04-03 Thread Joachim Zobel
Hi. If I want to postprocess content from a subrequest before sending it to the client, I can't my $subr = $r-lookup_uri($uri); $subr-header_in("Content-length" = "0"); $subr-run; because this will send the content to the client. What can I do to get the content myself? Thanx,

read vs. Include-virtual

2001-04-01 Thread Joachim Zobel
Hi. I am thinking about using Apache::Include-virtual instead of plain open, read, close for reading in my templates. What is the overhead of doing an internal subrequest compared to plain read? What do I get in return? I know I get content negotiated templates - thats why I am thinking

Re: Renegotiate Language

2001-03-22 Thread Joachim Zobel
At 20:49 21.03.2001 +, you wrote: I've done this and actually got resistance from Brazilians who preferred the Engligh content. You might be better off with a user preference. Sorry, I did not express myself properly. That is what I want. I want to trigger a renegotiation with different

Renegotiate Language

2001-03-21 Thread Joachim Zobel
Hi. I want to use content negotiation to choose a starting language and return appropriate content. I know how to do that with mod_negotiate. What I would like to add is the possibility for the user to add a language. Therefore I want the server to renegotiate the language with different

GET correctness

2001-02-21 Thread Joachim Zobel
Hi. A thing I would like to have is a module that ensures GET correctness. It should at least prevent file and database writes when handling a GET request. Does such a beast exist? Thanx, Joachim -- "... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden koennen."

Site running on mod_perl

2001-02-10 Thread Joachim Zobel
Hi. We are running the a href="http:/www.music-head.de"Music Head Record Store/a (vinyl for DJs) on mod_perl/MySQL. Because our pages are rather large we give them a Last-Modified to take advantage of browser caching. This is determined by the last catalog database update. We display the cart