Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Per Einar Ellefsen
At 05:43 10.06.2002, Mark Korey wrote: ENV{HTTP_COOKIE} does not contain a newly set cookie, often it still contains an old value when I try to change it (ie switch to a different user). Everything else appears to be working fine. If you're saying that $ENV{HTTP_COOKIE} is empty, you should set

Re: AuthenNTLM, IE, KeepAlives

2002-06-10 Thread Gerald Richter - ecos gmbh
The issue that I am having is that when I have KeepAlive turned on my scripts won't get the params from the URI. But this only happens in Internet Explorer. Opera works fine. This normaly should not happen. How do you retrieve the parameters ? Gerald

Re: OSC early bird and mod_perl T-Shirts

2002-06-10 Thread Adam Worrall
SB == Stas Bekman [EMAIL PROTECTED] writes: SB 2. We want T-Shirts. Is there some kind company to sponsor the SB mod_perl T-Shirts this year? It might be nice it some T-shirts were available (somehow) to non-attendees - after all, every shirt worn is advertising ;) Or perhaps the

Re: OSC early bird and mod_perl T-Shirts

2002-06-10 Thread Mark Fowler
On Mon, 10 Jun 2002, Adam Worrall wrote: It might be nice it some T-shirts were available (somehow) to non-attendees - after all, every shirt worn is advertising ;) Yeah, considering that some of us can't afford the flight all the way to the states, and even some of us don't want to enter

mod_perl 1.99-02 cgi_header_out

2002-06-10 Thread John Bass
Hello, Does anyone have a solution for the cgi_header_out function within mod_perl 2. I have found it is used by Apache:Session, and would like to use this module. John

RE: AuthenNTLM, IE, KeepAlives

2002-06-10 Thread Harnish, Joe
Title: RE: AuthenNTLM, IE, KeepAlives I am using the CGI module(latest from CPAN). -Original Message- From: Gerald Richter - ecos gmbh [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 3:44 AM To: Harnish, Joe; [EMAIL PROTECTED] Subject: Re: AuthenNTLM, IE, KeepAlives

RE: persistent Mail::ImapClient and webmail

2002-06-10 Thread Joe Breeden
We implemented our own because mail is one part of a larger application and we needed it to beintegrated with all the other part of the application. For a pointer on the backend server config we used see the url http://howtos.eoutfitters.net/email. I believe that the webmail that comes with

RE: persistent Mail::ImapClient and webmail

2002-06-10 Thread Joe Breeden
That's not necessarily the most secure way. We have found that even though IMAP is supposed to be a long state protocol many clients (PINE, Netscape, Balsa, M$ Outlook Express, etc) implement as connect/work/disconnect cycle. So I don't think this persistency of connection across multiple

DBD::RAM Woes

2002-06-10 Thread Gabriel C Millerd
i am writing a little function (see hack below) that will allow me to sort data for my CGI's easily (especially for multiple columns) ... ala another function that works the CGI.pm aspect of things. problem is that this function seems to (under mod_perl) duplicate the rows that i pass to it

MVC Topic Joy

2002-06-10 Thread Jon Robison
I can make no claims to being any kind of exceptional programmer. Heck, I don't even claim to be half bad. But this topic has really revealed to me that the concept of MVC means many things to many people. In the end, I think what I have concluded, at least for my purposes, is simply this: 1.

RE: AuthenNTLM, IE, KeepAlives

2002-06-10 Thread Harnish, Joe
Title: RE: AuthenNTLM, IE, KeepAlives I am using Apache::PerlRun instead of Apache::Registry. Could this be an issue? -Original Message- From: Harnish, Joe Sent: Monday, June 10, 2002 8:34 AM To: 'Gerald Richter - ecos gmbh'; Harnish, Joe; '[EMAIL PROTECTED]' Subject: RE:

RE: [OT] MVC soup (was: separating C from V in MVC)

2002-06-10 Thread Vuillemot, Ward W
Wow! I kept deleting the MVC Soup mailings wihtout reading...I saw Soup, thought Soap. . .and just deleted. From what I have read thusfar of the archives on MVCyes! I agree. I want to read MORE!!! I have been a practicing wannabe programmer for sometime, and I have been working out the

Re: separating C from V in MVC

2002-06-10 Thread Ray Zimmerman
At 12:02 AM -0600 6/6/02, Rob Nagler wrote: To solve this problem, we added a letter. bOP is MVCF, where F stands for Facade. A Facade allows you to control icons, files, colors, fonts, text, and tasks. You can add other components, but we usually use text as a catch all, e.g. numeric formats.

Re: MVC Topic Joy

2002-06-10 Thread Perrin Harkins
Jon Robison wrote: I should never really have to edit #3 (the Viewer), because the HTML construction should be done in #2. If I find myself editing my viewer to accomodate some function I am adding to the overall system, I know I need to re-think what I am doing. In an MVC system, you would

Re: separating C from V in MVC

2002-06-10 Thread Perrin Harkins
Ray Zimmerman wrote: So how is everybody else handling URL mapping? In httpd.conf: Location /search SetHandler perl-script PerlHandler Controller::Search /Location Location /cart SetHandler perl-script PerlHandler Controller::ShoppingCart /Location Most applications only have a

Re: MVC Topic Joy

2002-06-10 Thread Jon Robison
Essentially a Dispatch.pm module, which simply looks at the url string params and sets a Handler based upon the value of the action param. (After handling security, etc.). In most cases the Handler is set to view, in which case View.pm instantiates other modules objects, (and those

Re: MVC Topic Joy

2002-06-10 Thread Perrin Harkins
Jon Robison wrote: In most cases the Handler is set to view, in which case View.pm instantiates other modules objects, (and those instantiations use other url string data to determine what to construct into the object). View then just spits out the default head, body (created with the other

Re: separating C from V in MVC

2002-06-10 Thread John Hurst
Ray Zimmerman wrote: So how is everybody else handling URL mapping? In the filesystem. Directly requested .tt files are all sent to a default template handler: Location /tt_engine SetHandler perl-script PerlHandler UAL::TTEngine /Location AddType text/tt .tt Action text/tt /tt_engine The

Re: AuthenNTLM, IE, KeepAlives

2002-06-10 Thread Gerald Richter
RE: AuthenNTLM, IE, KeepAlives I am using Apache::PerlRun instead of Apache::Registry. Could this be an issue? I am not using PerlRun, but maybe. Can try without it? Maybe just a small test script. Gerald - Gerald Richterecos

Re: Can't set multiple cookies?

2002-06-10 Thread Ken Miller
Last confirmation: 1.3.25-dev does indeed work fine. I've got cookies flying everywhere! Thanks guys! -klm. - Original Message - From: Ken Miller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 3:45 PM Subject: RE: Can't set multiple cookies? Yup, just

Help -- OpenIndexOptions

2002-06-10 Thread Noam Solomon
I'm installing a new site build ona production server, where I've built mod_perl 1.24 statically into Apache 1.20. Everything works nicely, except that one of the modules can't set it's own custom directives, and apache balks with a syntax error whenever it encounters one. I've tried moving

Help - OpenIndexOptions / AutoIndex...

2002-06-10 Thread Noam Solomon
Also, if I try to load Apache::AutoIndex, and turn off mod_autoindex, the server won't accept the IndexOptions directive...

[DIGEST] mod_perl digest 2002/06/03

2002-06-10 Thread jgsmith
-- mod_perl digest June 3, 2002 - June 9, 2002 -- Recent happenings in the mod_perl world... Features o

ANNOUNCE: AxKit 1.6

2002-06-10 Thread Matt Sergeant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 AxKit 1.6 is out. I'll save you all the hoopla in the announce in case people are subscribed to both this list and the AxKit list. Instead here's a link: URL:http://axkit.org/cgi-bin/ezmlm-cgi?3:mss:4164:gckddipdnjdnhmddncgd Enjoy ;-) - --

Re: separating C from V in MVC

2002-06-10 Thread Valerio_Valdez Paolini
Ray Zimmerman wrote: So how is everybody else handling URL mapping? On Mon, 10 Jun 2002, John Hurst wrote: In the filesystem. Directly requested .tt files are all sent to a default template handler: [...] % cat admin/proj-edit.tt [% Ctrl.DBEdit.run(ObjectType = 'Project') %] I used html

Re: separating C from V in MVC

2002-06-10 Thread Perrin Harkins
Valerio_Valdez Paolini wrote: On Mon, 10 Jun 2002, John Hurst wrote: In the filesystem. Directly requested .tt files are all sent to a default template handler: ... I used html pages with augmented tags parsed by a standard handler: Those are both interesting and may be the most

Re: separating C from V in MVC

2002-06-10 Thread James G Smith
Valerio_Valdez Paolini [EMAIL PROTECTED] wrote: Ray Zimmerman wrote: So how is everybody else handling URL mapping? On Mon, 10 Jun 2002, John Hurst wrote: In the filesystem. Directly requested .tt files are all sent to a default template handler: [...] % cat admin/proj-edit.tt [%

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Mark Korey
We found the problem ... this was an odd one (aren't most!?!). Turns out that the path (i.e. $cgi-cookie(-path ='/', ...); ) was NOT being set. Guess we assumed that CGI.pm would default it to '/'. Setting that seemed to do the trick. We are using CGI.pm and did not need to PerlSetupEnv On. I'm

Re: separating C from V in MVC

2002-06-10 Thread Valerio_Valdez Paolini
On Mon, 10 Jun 2002, Perrin Harkins wrote: Those are both interesting and may be the most appropriate solution for the problems you're working on, but I wouldn't call either of them MVC. You are going straight to a view (template) and letting it drive all the decisions. In an MVC

Re: separating C from V in MVC

2002-06-10 Thread Valerio_Valdez Paolini
On Mon, 10 Jun 2002, James G Smith wrote: I'm working on a framework that will use the Mason component as the controller, Perl modules as the model, and either Mason components or TT templates called from the controller as the view. The view would output XML that would then be put through

Re: separating C from V in MVC

2002-06-10 Thread Matt Sergeant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 10 June 2002 11:09 pm, Valerio_Valdez Paolini wrote: On Mon, 10 Jun 2002, James G Smith wrote: I'm working on a framework that will use the Mason component as the controller, Perl modules as the model, and either Mason components or

RE: separating C from V in MVC

2002-06-10 Thread Vuillemot, Ward W
: Really interesting, xml : appears to be : the final destination for most of us, even if now i : prefer objects. : : Ciao, Valerio That is my big question. Is XML/XSLT really the right solution? Using SAX along with having tags call handlers seems like a pretty

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Per Einar Ellefsen
At 23:55 10.06.2002, Mark Korey wrote: We found the problem ... this was an odd one (aren't most!?!). Turns out that the path (i.e. $cgi-cookie(-path ='/', ...); ) was NOT being set. Guess we assumed that CGI.pm would default it to '/'. Setting that seemed to do the trick. We are using CGI.pm

Re: separating C from V in MVC

2002-06-10 Thread Valerio_Valdez Paolini
On Mon, 10 Jun 2002, Matt Sergeant wrote: It seems perfect for mod_perl2. Really interesting, xml appears to be the final destination for most of us, even if now i prefer objects. There's no conflict between using XML and using Objects if you're using AxKit. Especially thanks to Simon

Re: separating C from V in MVC

2002-06-10 Thread John Hurst
Perrin Harkins wrote: On Mon, 10 Jun 2002, I wrote: In the filesystem. Directly requested .tt files are all sent to a default template handler: Those are both interesting and may be the most appropriate solution for the problems you're working on, but I wouldn't call either of them MVC.

Logging under CGI

2002-06-10 Thread Sergey Rusakov
Hello! I'm working on mod_perl project and I worry about logging. I don't like to log to Apache's error log. I want to log to file. open(ERRORLOG, '/var/log/my_log'); print ERRORLOG some text\n; close ERRORLOG; This bit of code runs in every apache child. I worry abount concurent access to this

[JOB] Backend mod_perl programmer, frontend HTML/VoiceXML developer

2002-06-10 Thread Andrew Ho
Hello, We have two positions open at Tellme, one for a web backend developer doing mod_perl development, and the other for a VoiceXML and HTML frontend developer who would produce content in a mod_perl framework. We are looking for a web backend developer who: * has experience

[ANNOUNCE] Bricolage 1.3.2

2002-06-10 Thread Sam Tregar
The Bricolage development team is proud to announce the release of Bricolage version 1.3.2. This is a development release with new features as well as numerous bug fixes. Summary of major changes (see the Changes file in the distribution for details): * New installation system tested on

Re: Logging under CGI

2002-06-10 Thread Sam Tregar
On Tue, 11 Jun 2002, Sergey Rusakov wrote: open(ERRORLOG, '/var/log/my_log'); print ERRORLOG some text\n; close ERRORLOG; This bit of code runs in every apache child. I worry abount concurent access to this log file under heavy apache load. Is there any problems on my way? You are

Re: Logging under CGI

2002-06-10 Thread Sam Tregar
On Mon, 10 Jun 2002, Sam Tregar wrote: You are correct to worry. You should use flock() to prevent your log file from becoming corrupted. See perldoc -f flock() for more details. Gah, these fingers... That should be perldoc -f flock. -sam

Re: Logging under CGI

2002-06-10 Thread Bill Moseley
At 10:30 PM 06/10/02 -0400, Sam Tregar wrote: On Tue, 11 Jun 2002, Sergey Rusakov wrote: open(ERRORLOG, '/var/log/my_log'); print ERRORLOG some text\n; close ERRORLOG; This bit of code runs in every apache child. I worry abount concurent access to this log file under heavy apache load. Is

Possible module

2002-06-10 Thread Marc Slagle
I have written a module for one of our clients, and want to know if I should make it available on CPAN. My hope is that others might find it useful. The client had a system where he wanted all incoming requests for a site to have the exact same pages if you asked for anything except

Re: OSC early bird and mod_perl T-Shirts

2002-06-10 Thread Stas Bekman
Leon Brocard wrote: Stas sent the following bits through the ether: SB 2. We want T-Shirts. Is there some kind company to sponsor the SB mod_perl T-Shirts this year? I've just convinced my company (http://www.fotango.com/) to sponsor 50 tshirts with the mod_perl logo on. Once we get it

Re: Logging under CGI

2002-06-10 Thread Les Mikesell
From: Sergey Rusakov [EMAIL PROTECTED] open(ERRORLOG, '/var/log/my_log'); print ERRORLOG some text\n; close ERRORLOG; This bit of code runs in every apache child. I worry abount concurent access to this log file under heavy apache load. Is there any problems on my way? This is OS

Re: Possible module

2002-06-10 Thread Andrew McNaughton
Even without modperl, There's More Than One Way To Do It. I like mod_rewrite for this sort of task. See the examples for Virtual host configurations in the 'Apache URL Rewriting Guide'. If this is all you're using mod_perl for, then mod_rewrite is likely to be a better, slimmer option than