cvs commit: modperl-2.0/src/modules/perl modperl_callback.c

2001-05-22 Thread dougm
dougm 01/05/22 15:13:28 Modified:src/modules/perl modperl_callback.c Log: bug fix: callbacks that returned DECLINED were changed to OK Revision ChangesPath 1.42 +2 -1 modperl-2.0/src/modules/perl/modperl_callback.c Index: modperl_callback.c

cvs commit: modperl-2.0/xs/APR/URI APR__URI.h

2001-05-22 Thread dougm
dougm 01/05/22 13:58:21 Modified:src/modules/perl modperl_apache_includes.h modperl_types.h modperl_util.c modperl_util.h t/response/TestAPI rutil.pm uri.pm xs/Apache/URI Apache__URI.h xs/maps apache_functions.map

Re: Connection to MySQL DB fails when mod_perl enabled...

2001-05-22 Thread Matt Sergeant
On Tue, 22 May 2001, Jonathan M. Hollin wrote: This is driving me crazy... is there anything special I need to do when using DBI (DBD::MySQL) with mod_perl. A script that works just fine sans mod_perl dies with error 500 (Internal Server Error) when mod_perl is enabled for that file type:

Re: Connection to MySQL DB fails when mod_perl enabled...

2001-05-22 Thread Ask Bjoern Hansen
On Mon, 21 May 2001, Rodney Broom wrote: $dbh = DBI-connect($dsn, dbusrname, dbpassword) or die Error: $DBI::errstr; If you want to die then $dbh = DBI-connect($dsn, dbusrname, dbpassword, { RaiseError = 1}); would look neater. s/Raise/Print/ to just have it spew the error messages

Real Widgets and Template Languages

2001-05-22 Thread Gunther Birznieks
There has been some discussion on the list lately about generating widgets ala CGI.pm, HTML::StickyWidgets etc... The thing is that these products or plug-ins are very HTML oriented. The widget is defined as an HTML widget like a textfield or checkbox or dropdown or what-have-you. What I am

Re: Real Widgets and Template Languages

2001-05-22 Thread Matt Sergeant
On Tue, 22 May 2001, Gunther Birznieks wrote: Does anyone have a widget framework like this? I think the closest I found to widget abstraction is SmartWorker, but it is not abstract in quite the way that I want above. We're planning to do something like this as a taglib in XSP for AxKit.

Appending Sessionid to all the urls

2001-05-22 Thread ktgoh
Hi all : I wanted to write a mod URL rewrite program. I wanted to append session ID to the tail of all the urls of a website. For instance when i access url http://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

Re: Real Widgets and Template Languages

2001-05-22 Thread Gunther Birznieks
At 10:13 AM 5/22/2001 +0100, Matt Sergeant wrote: On Tue, 22 May 2001, Gunther Birznieks wrote: Does anyone have a widget framework like this? I think the closest I found to widget abstraction is SmartWorker, but it is not abstract in quite the way that I want above. We're planning to do

Re: Real Widgets and Template Languages

2001-05-22 Thread Matt Sergeant
On Tue, 22 May 2001, Gunther Birznieks wrote: Has someone done this already? Struts. But you knew that already :-) For those that do not know struts is a Java framework and I think someone is trying to get me riled up! I want/need a *Perl* solution! Well if you can pay for it...

Re: Real Widgets and Template Languages

2001-05-22 Thread Adi Fairbank
Gunther, I have been interested in the concept of an HTML widget module for a while now. The reason being, my application currently generates all HTML using CGI.pm in a mod_perl handler OO-style design, and we are starting to notice patterns.. similar pieces of HTML that get generated over and

Re: Appending Sessionid to all the urls

2001-05-22 Thread Michael . Jacob
Hi ktgoh, you don't tell the browser about the session id. Why? To use a session id that's appended to the URL is hard work - it has to be maintaned in every module and html file. So you must append the session id to every URL in every page and every piece of code that produces html. Ther is no

Apache::ASP error re: subroutines

2001-05-22 Thread Andrew Koebrick
Howdy, I am attempting to move a few subroutines from my Apache::ASP pages into a central module, but get the error: Undefined subroutine Apache::ASP::Demo::date_swap called at (eval 6) line 67. , /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1506 Is there something funky in the

Re: Real Widgets and Template Languages

2001-05-22 Thread jay
Hey all, I have been giving this very subject area a lot of thought myself - I would like to really make a push for HTML/interface widgets in Perl. Have done some work to that end and have a lot of ideas. In addition I was thinking about making an investment of time and resources into this

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

Re: Connection to MySQL DB fails when mod_perl enabled...

2001-05-22 Thread Jonathan M. Hollin
My Lords, Ladies and Gentlemen, I am delighted to announce that this problem is now SOLVED. That is, I can now access my MySQL database from a Perl script running under mod_perl. I won't detail the whole sorry affair again, but the rogue line read: $dsn =

Apache::Session not storing changes to hashref

2001-05-22 Thread Chris Thompson
I'm at wits end, I'm hoping someone can tell me what's wrong. This is Apache 1.3.19, Redhat 6.2, modperl 1.25, apache::session 1.53 and MySQL 3.23.36. (This is also happening inside HTML::Mason 1.03, but I dont think that has anything to do with it. I've crossposted to the mason list in case

Re: Connection to MySQL DB fails when mod_perl enabled...

2001-05-22 Thread Jonathan M. Hollin
My Lords, Ladies and Gentlemen, I am delighted to announce that this problem is now SOLVED. That is, I can now access my MySQL database from a Perl script running under mod_perl. I won't detail the whole sorry affair again, but the rogue line read: $dsn =

Re: Appending Sessionid to all the urls

2001-05-22 Thread Jay Jacobs
there's always more then one way... DocumentRoot /usr/local/apache_mp/htdocs RewriteEngine On RewriteCond /usr/local/apache_mp/htdocs/%{REQUEST_FILENAME} !-f RewriteRule /?S=([^/]+)/(.*) /$2 [E=SESSION_ID:$1] This sets $ENV{SESSION_ID} to the session ID, but also catches it, if by some bizarre

Re: [Mason] Apache::Session not storing changes to hashref

2001-05-22 Thread Dave Baker
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2001 at 03:59:52PM -0400, Chris Thompson wrote: I'm at wits end, I'm hoping someone can tell me what's wrong. [snip] This is documented

Re: Apache::Session not storing changes to hashref

2001-05-22 Thread Jeffrey W. Baker
On Tue, 22 May 2001, Chris Thompson wrote: I'm at wits end, I'm hoping someone can tell me what's wrong. This is Apache 1.3.19, Redhat 6.2, modperl 1.25, apache::session 1.53 and MySQL 3.23.36. (This is also happening inside HTML::Mason 1.03, but I dont think that has anything to do

Re: Real Widgets and Template Languages

2001-05-22 Thread Cees Hek
On Tue, 22 May 2001, Gunther Birznieks wrote: What I am really looking for is a library that abstracts and allows widgets to be developed that are tied to an application not to a set of HTML necessarily. I guess I will start by providing an example of what I want based on what we

Re: Apache::Session not storing changes to hashref

2001-05-22 Thread Cees Hek
Apache::Session only does a shallow check of your data structure to see if it needs to update the database. If you are only changing values deep inside a hash structure, A::S will not see the changes, and they will not be saves. The man page recommends adding a timestamp to the tied hash and

RE: Connection to MySQL DB fails when mod_perl enabled...

2001-05-22 Thread Bird Lei
At 03:28 AM 2001/5/22 +0100, you wrote: Incidentally, I am using the following module versions: DBD-MySQL [1.2214]; DBI [1.13] Does this have any bearing on my problem? Does reinstalling the DBI help? I had problem with DBI before. I just reinstalled it and it works fine. (I can just

Re: Real Widgets and Template Languages

2001-05-22 Thread Gunther Birznieks
At 02:26 PM 5/22/2001 -0400, kyle dawkins wrote: On Tue, 22 May 2001 06:25, Matt Sergeant wrote: On Tue, 22 May 2001, Gunther Birznieks wrote: I want/need a *Perl* solution! Well if you can pay for it... (still unemployed here and getting poorer waiting for people to possibly say yay

Re: Real Widgets and Template Languages

2001-05-22 Thread Gunther Birznieks
At 08:54 PM 5/23/2001 +1000, Cees Hek wrote: On Tue, 22 May 2001, Gunther Birznieks wrote: This sounds very useful and powerful. I've been looking for a project to help out with, and this one sounds interesting to me. Let me know if you want some help developing it, or someone to bounce

Re: Real Widgets and Template Languages

2001-05-22 Thread Cees Hek
On Wed, 23 May 2001, Gunther Birznieks wrote: Hmmm. I had not thought of this because we do not provide this capability now in the Java widget library that we have and we don't really miss it. For color, most UI widgets do not have color. For font and height, I think that most designers

Re: Apache::ASP error re: subroutines

2001-05-22 Thread Joshua Chamas
Andrew Koebrick wrote: Howdy, I am attempting to move a few subroutines from my Apache::ASP pages into a central module, but get the error: Undefined subroutine Apache::ASP::Demo::date_swap called at (eval 6) line 67. , /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1506 PerlSetVar