Re: [OT] MP2 Apache Settings

2003-09-18 Thread Issac Goldstand
Why not just make an include file that contains the module directives, and then just add an  Include myloginconffile.conf to each virtualhost section?     Issac - Original Message - From: Chris Faust To: [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 10:04 PM

Re:[OT] Sending a different protocol header

2003-09-08 Thread Issac Goldstand
> btw, can you please explain what ICY is for me? the $r->assbackwards(1) > thing was specifically implemented in mod_perl 1.0 to support ICY, and I > used it in examples I give of this, but I always have to say that I have no > idea what ICY is. > IceCast. The LINUX version of WinAmp's streamin

Re: post max and MP2

2003-09-02 Thread Issac Goldstand
Right now Apache::Request is in the final proting stages... Until it's done, jjust request Apache::Request with CGI Issac - Original Message - From: "Tofu Optimist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 6:43 PM Subject: post max and MP2 > Hello

Re: File Upload mod_perl to mod_perl2

2003-08-27 Thread Issac Goldstand
You might want to look at Apache::Request for mod_perl. It's currently almost ready for mod_perl2... Issac - Original Message - From: "rkl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 9:51 AM Subject: File Upload mod_perl to mod_perl2 > Could anyone

Re: [MP2] Placing Apache::RequestRec & Apache::RequestIO & APR::Tableuse statements in startup.pl

2003-07-24 Thread Issac Goldstand
It will work. Just be careful - if you distribute this module, the people who use it may not include these modules in their startup.pl, and if you discontinue usage of this module, you may end up with extra modules in memory which aren't needed. Issac - Original Message - From: "Jamie

Re: [mp2] BEGIN blocks

2003-07-24 Thread Issac Goldstand
connect();}...In this example, I get the error message until Apache::Reload reloads the module, after which it works fine.Any insight would be appreciated. Issac- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]>

Re: [Fwd: Call for Participation for ApacheCon US 2003]

2003-07-22 Thread Issac Goldstand
Actually, it is. I found it by going to the ApacheCon 2003 page, click the CFP link and then logging in. The page Stas sent doens't appear to work directly... Issac - Original Message - From: "Bill Weinman" <[EMAIL PROTECTED]> To: "mod_perl Mailing List" <[EMAIL PROTECTED]> Sent: Tue

Re: Apache::UploadMeter

2003-07-22 Thread Issac Goldstand
Sven wrote... [snip] - use Apache (); use Apache::Request (); $apr = Apache::Request->new($r); foreach $parm($apr->param){ print "->".$parm." : ".$apr->param($parm)."\n"; } print "-\n"; - First of all

[mp2] BEGIN blocks

2003-07-19 Thread Issac Goldstand
I seem to be having some trouble that I think may be associated with BEGIN blocks. To make sure I'm not jumping at shadows, could someone tell me what the expected behavior of BEGIN blocks in use()d modules is? How many times are they called (during server startup and/or restarts of any type) and

Re: [MP2 - BUG ?] Issue handing Apache config. error messages

2003-07-15 Thread Issac Goldstand
- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]> > Issac Goldstand wrote: > > Looking at it now, I tend to agree... I just have a vague recollection of > > my first mod_perl 2 handler (

Re: [MP2 - BUG ?] Issue handing Apache config. error messages

2003-07-14 Thread Issac Goldstand
Right. Could you possibly clarify the difference between SetHandler perl-script and SetHandler modperl? I'm still not sure I've got the straight of it yet... Issac Stas Bekman wrote: > Sreeji K Das wrote: > [...] > You need to use 'SetHandler perl-script' for that, see: > http://perl.apache.

Re: getting *any* variables out of the server environment

2003-06-09 Thread Issac Goldstand
Ryan, Ust out of curiosity, at what stage in the request chain are you doing this? If you are doing anything before mod_ssl populates its environment variables (which I seem to rembmer being at Fixup, although I may be confusing with something else), you wouldn't be able to access them. You *sh

Re: Fw: [OT] [Perl] HTML::Mason help anyone?

2003-06-09 Thread Issac Goldstand
Ged Haywood wrote: [snip] >>>I have a simple form [snip] >>>The problem is that I only see the values printed when I use the "GET" >>>option in the form above, when I change "GET" to "POST" nothing gets >>>printed... >>POST data can only be read once, if you want to read it again you have >>to save

Fw: [Perl] HTML::Mason help anyone?

2003-06-09 Thread Issac Goldstand
Forwarded from the Israeli Perl Mongers mailing list: - Original Message - From: "Ron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 1:48 PM Subject: [Perl] HTML::Mason help anyone? > I have a simple form that looks like so: > > enctype="text/plain"> > >

Re: file upload object - getting form field name

2003-06-08 Thread Issac Goldstand
Sorry for the latte reply. Absolutely: [snip] **use Apache::Request; **my $q=Apache::Request->instance($r); my $upload_id = 0; **for my $upload ($q->upload) { $upload_id++; **my $name=$upload->name; # do stuff } [snip] All the best, Issac

[OT] CGI::Push

2003-06-04 Thread Issac Goldstand
Does anyone have success/failure stories using Push responses? Please share. Thanks. Issac

Re: UploadMeter

2003-06-04 Thread Issac Goldstand
tected filename: /yame100.zip (320327 bytes) > Reported MIME type: application/x-zip-compressed > Spool file: /tmp/apreqHHY8vh > Other debug info: Apache::Table=HASH(0xa1223ec) > > -Original Message- > From: Issac Goldstand [mailto:[EMAIL PROTECTED] > Sent: Wed

Re: UploadMeter

2003-06-04 Thread Issac Goldstand
Sorry for the late reply. http://epoch.beamartyr.net/umtest/form.html That's a development version, but there shouldn't be any noticable differences between that and the currect version. It's just configuration issue. One thing I did note is that MSIE 6 is not refreshing the meter... Issac

Apache::ReadConfig and method handlers

2003-06-04 Thread Issac Goldstand
After a few fruitless days of fiddling with this, I find myself getting nowhere... Can anyone really explain how Apache::ReadConfig and/or direct me to the source code (for handling the namespace, not the code for sections) Issac

Re: Using Apache::ReadConfig and method handlers

2003-06-03 Thread Issac Goldstand
- Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> > On Mon, 2003-06-02 at 15:19, Issac Goldstand wrote: > > No - this is at startup. It's also, to the best of my knowledge, the *only* > > way to push handlers onto a dynamic URL (eg, wher

Re: Using Apache::ReadConfig and method handlers

2003-06-03 Thread Issac Goldstand
- Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> > On Mon, 2003-06-02 at 11:36, Issac Goldstand wrote: > > I want to assign a method handler from within the Apache::ReadConfig > > namespace. Right now, what I have is some functi

Using Apache::ReadConfig and method handlers

2003-06-03 Thread Issac Goldstand
I want to assign a method handler from within the Apache::ReadConfig namespace. Right now, what I have is some function which somewhat resembles: package My::Object; sub method1 { my $self=shift; package Apache::ReadConfig; no strict; $Location{'/some/URL/'} = { Options => '+ExecCGI', P

[OT] YAPC::Israel

2003-04-01 Thread Issac Goldstand
Hey all, Was just wondering if anyone here was planning on attending YAPC::Israel::2003 (http://www.perl.org.il/YAPC/2003 )? Issac

Fw: [Perl] CPAN was hacked !

2003-03-31 Thread Issac Goldstand
- Original Message - From: "Gabor Szabo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 11:41 PM Subject: [Perl] CPAN was hacked ! > by Matt's Script Archive, Inc. > april fools!

Fw: Apache::GD::Thumbnail Question

2003-03-27 Thread Issac Goldstand
Forgive my use of the list if this is a tad OT - but I seem to not be able to contact Steven directly all of the sudden (my ISP got but on a RBL, I think, and it will take them another bit to get off - that's why it took so long, Steven) Issac > > On Tue, 2003-03-25 at 00:12, Issa

Re: speeding up CGI.pm

2003-03-25 Thread Issac Goldstand
That would be really amazing if it could still be implemented in mp1, too, as it would allow for interoperability between libapreq-based applications (like Apache::UploadMeter) and response handlers like CGI scripts which use CGI.pm I suppose that this isn't such a big problem in mp2 whose filters

Re: Apache::GD::Thumbnail Question

2003-03-24 Thread Issac Goldstand
It does work - I use it on http://pics.beamartyr.net/ Remember that it's a tricky sorta configuration - you must configure it within a location block which will be the "thumbnail directory", and specify the real source directory: Example: The below configuration maps /home/me/pictures to http://fo

Fw: [Perl] how to static link mod_perl 2 into apache 2.0

2003-02-10 Thread Issac Goldstand
Forwarding this from another list, because it's more appropriate here :-)   - Original Message - From: Ron Gidron Sent: Monday, February 10, 2003 3:48 PM Subject: [Perl] how to static link mod_perl 2 into apache 2.0 I am trying to install a Mason based system. This package requir

Fw: OT - Santa uses PERL

2002-12-20 Thread Issac Goldstand
Title: OT - Santa uses PERL This came yesterday on the httpd-users list, and I haven't seen it on the mod_perl list yet (apologies if I just happened to not notice it).  I thought that people might enjoy it.  I'm sure one or two of you will want to flame me for it so I'd ask those people to d

Re: [OT] Ideas for limiting form submissions

2002-12-18 Thread Issac Goldstand
- Original Message - Subject: RE: [OT] Ideas for limiting form submissions > Can GIMP be programmatically set up to warp/woof/weird-out an image? > > Yahoo's warped words works, I bet, since they use it. > > I'm referring to get getting an anon email account from yahoo.com They actually

Re: pass-thru/redirect/DECLINE to *.jpg

2002-12-17 Thread Issac Goldstand
From: "Ged Haywood" <[EMAIL PROTECTED]> > It seems a bit wasteful to have a mod_perl Apache process involved at > all in serving .jpg and other static files. Why not run a two-Apache > setup and let the non-mod_perl server serve them without even letting > a heavyweight process see the request? I

Re: [MP2] Handler feauters in a filter?

2002-12-03 Thread Issac Goldstand
- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> > Issac Goldstand wrote: > > Not sure how to translate that to mod_perl's API (the first half is easy and > > understandable in C, I think, though...) > > It works exactly the same, jus

Re: [MP2] Handler feauters in a filter?

2002-12-03 Thread Issac Goldstand
x27;m not sure if it's the "best way to do it"... I'm sure that as I delve deeper into Apache 2, I'll find better solutions... Issac ----- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]

[MP2] Handler feauters in a filter?

2002-12-02 Thread Issac Goldstand
I'm writing a filter in which two lines of data are to be appended to the content going back. However, I'd like to test for a 404, and if found set the response to 200. Can this be done from the output filters? Or am I going to have to do something more complex with a handler? The big problem i

Re: default Content-Length calculation has been removed in 2.0 (was Re: mod_perl 2.x vs. mod_perl 1.x benchmarks)

2002-11-29 Thread Issac Goldstand
> Issac Goldstand wrote: > > I think I got it... I was under the understanding that each fireman could > > only hande 1 bucket at a time, but there could be up to as many buckets as > > firemen on the stack at any given time... Do you know why it's like that? >

Re: default Content-Length calculation has been removed in 2.0 (was Re: mod_perl 2.x vs. mod_perl 1.x benchmarks)

2002-11-28 Thread Issac Goldstand
- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> Cc: "Ask Bjoern Hansen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 11:07 AM Subject: default Content-Length calculation has been removed in 2.0 (was Re: mod_perl 2.x vs. mod_perl 1.x benchmarks)

Re: Apache 2?

2002-11-27 Thread Issac Goldstand
- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Philip Mak" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 2:24 AM Subject: Re: Apache 2? . Since if your mod_perl handler sends > the data to a thread which runs a filter that send the data

Re: partial page display

2002-11-26 Thread Issac Goldstand
; header? > > Thanks, > Fran > > -Original Message- > From: Issac Goldstand [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 2:13 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: partial page display > > > local $|=1;

Re: partial page display

2002-11-26 Thread Issac Goldstand
local $|=1; - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 9:11 PM Subject: partial page display > > I would like to have some of the page display while the rest of the data for > the page is still being retrieved (i.e. a "Please w

Re: How do I force a 'Save Window?'

2002-11-20 Thread Issac Goldstand
if you confuse them with a type that they've certainly never heard of. Issac - Original Message - From: "Tom Hukins" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]> Cc: "Dennis Daupert" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]

Re: How do I force a 'Save Window?'

2002-11-20 Thread Issac Goldstand
To force the save window is easy - make up your own content subtype (main type application) and set it: Content-Type: application/x-download-this-file-you-stupid-browser Remember to start with an "x-" as your type is obviously not registered with the IANA. The tricky part is setting up the defa

[OT] Persistant MySQL connections in Apache 2

2002-11-18 Thread Issac Goldstand
ions in Apache 2 > Hi Issac, > > From: "Issac Goldstand" > Subject: [apache-modules] Persistant MySQL connections in Apache 2 > > > > Hi all, > > I'm a rookie C API programmer (mod_perl was just so much *easier* > most of > > the time :-)), an

Re: File Upload Questions

2002-11-15 Thread Issac Goldstand
So far, I've seen two suggestions; both are very good, and I wanted to try to offer a combination, based on a real implementation. The relevant parts of the source code for uploading the content (as related to writing the actual file on the server): my $r=shift; my $q=Apache::Request->inst

[OT] Re: sending ssl certificate according to virtual host

2002-11-06 Thread Issac Goldstand
- Original Message - From: "Vivek Khera" <[EMAIL PROTECTED]> Newsgroups: ml.apache.modperl To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 6:52 PM Subject: Re: sending ssl certificate according to virtual host > > "MJ" == Mathieu Jondet <[EMAIL PROTECTED]> writes: > > MJ>

Re: Problems writing binary uploaded data...

2002-10-23 Thread Issac Goldstand
Um... Why don't you simply use $upload->link on the handle? my $upload = $apr->upload('file'); $upload->link("/path/to/newfile") or die sprintf "link from '%s' failed: $!", $upload->tempname; Issac - Original Message - From: "Leif Snorre Schøyen Boasson" <[EMAIL PROTECTED]>

Re: Problems writing binary uploaded data...

2002-10-23 Thread Issac Goldstand
tput buffer to the file since you never explicitly close the filehandle... Issac - Original Message ----- From: "Leif Snorre Schøyen Boasson" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002

Re: posts headers and so on.

2002-10-16 Thread Issac Goldstand
I just hit reply now - note that it is AUTOMATICALLY to you, plus [EMAIL PROTECTED] Also note the original headers below: Issac - Original Message - From: "Innerlab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 16, 2002 3:18 PM Subject: posts headers and so on.

[OT] Re: Testing mod_perl app on Windows

2002-10-13 Thread Issac Goldstand
FYI: MS Windows .NET server (which is the XP server equivalent) is available for beta. Find out at windowsbeta.microsoft.com Issac - Original Message - From: "Adam Nelson" <[EMAIL PROTECTED]> To: "'Ken Y. Clark'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002

[OT] Re: asynchronous downloads

2002-10-03 Thread Issac Goldstand
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 5:09 PM Subject: Re: asynchronous downloads > > How do I send a file asynchronously? > > > > The classic example is download sites. You click on the file you want and > > it generate

Re: mod_perl Windows 2000 install notes

2002-10-02 Thread Issac Goldstand
It's needed, for example, to enable the system-wide PATH to include \Perl\bin in it, which is needed to load mod_perl.so into the server when running as a system service. Note that you can still go to a command shell, add perl\bin to the path and manually start apache from the command shell - tha

Re: Error compiling mod_perl/1.27/Apache-1.3.26/Perl-5.8.0 for Native Win32

2002-09-24 Thread Issac Goldstand
Worked. Thanks. Issac - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 1:37 AM Subject: Re: Error compiling mod_perl/1.27/Apache-1.3.26/

Error compiling mod_perl/1.27/Apache-1.3.26/Perl-5.8.0 for Native Win32

2002-09-22 Thread Issac Goldstand
I keep getting the following error when compiling mod_perl under MS-Dev-6.0 Constants.xs(158) : error C2065: 'errno' : undeclared identifier It's the only compilation error I'm stuck on, but I've been stuck for 2 weeks now... Everything is natively built for Win32 from source (read: no activest

Re: New mod_perl site and oddness with IE

2002-07-16 Thread Issac Goldstand
Not just you. I have the same problem under MSIE. Issac - Original Message - From: "Jim Helm" <[EMAIL PROTECTED]> To: "'Perrin Harkins'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 8:23 AM Subject: New mod_perl site and oddness with IE > Has anyone el

Re: Idiot question: headers at the base of the page.

2002-06-13 Thread Issac Goldstand
umm... If you send them twice. Aside from happening by doing $r->send_http_header twice (it's happened), it could be something else is automatically sending header s for you... Just an idea... Issac - Original Message - From: "Rafiq Ismail (ADMIN)" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: mod_perl/passing session information (MVC related, maybe...)

2002-06-12 Thread Issac Goldstand
- Original Message - From: "John Siracusa" <[EMAIL PROTECTED]> To: "Mod Perl Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 8:06 PM Subject: Re: mod_perl/passing session information (MVC related, maybe...) > On 6/12/02 12:57 PM, Per Einar Ellefsen wrote: > > But what if

Re: How to proxy everything except selected urls?

2002-05-22 Thread Issac Goldstand
Ken Miller wrote: >I the past, when I've setup a proxy/app server configuration, it's always >been to forward certain url's to the app server, with the rest being >processed by the proxy. > >However, I need to turn this around. I want to pass everything to the app >server, except for some url's

Re: Memory Leaks

2002-05-20 Thread Issac Goldstand
I'd like to try to disagree here. I have built several file-related webapps where I have implemented virtual filesystems which require special perl modules to access the files at all. mod_perl takes care of serving the requests. If I need a restart, then I can still safely use graceful. Ad

Re: $r->args vs $r->content

2002-05-14 Thread Issac Goldstand
Quoting Mike Melillo <[EMAIL PROTECTED]>: > > Hi, > > One of the fields is an image file that will be uploaded so I need to > use POST requests. Is this a job for Apache::Request? The eagle book > doesn't cover it much because it was "experimental" at the time of > publishing. > There's a v

Re: full-featured online database apps

2002-04-24 Thread Issac Goldstand
I've actually USED Ms Access for just this purpose on a few occasions... It's a lot easier to do using the GUI... Issac Adi Fairbank wrote: >Does anyone know of a good customizable, user-friendly, online database >application, preferably mod_perl-based? I want to migrate a small Access >da

Q & A: $r->custom_response

2002-04-23 Thread Issac Goldstand
Reposting a question (and the answer) that geoff and I discussed in the IRC room, as I think it's worthwhile to mention... I had the following line of code (actually many of the sort): $r->custom_response(FORBIDDEN=>"File size exceeds quota."); And kept getting errors like: [Tue Apr 23 19:46:14

Re: Inline generation of error document?

2002-04-20 Thread Issac Goldstand
Bas A.Schulte wrote: > Hi all, > > On Thursday, April 18, 2002, at 04:58 PM, Geoffrey Young wrote: > >>> I'm a little confused (honestly). I want to handle parameter errors >>> in a content handler. When there's a parameter missing in the URL, >>> my handler returns HTTP_BAD_REQUEST. >>> Now Ap

Re: Help required

2002-04-16 Thread Issac Goldstand
Issac Goldstand wrote: > Murugan K wrote: > >> Hi I am new to mod_perl and i am developing some samples using >> mod_perl . While developing sample , i do not want to restart the >> server frequently with respect to my changes. >> >> So i used the

Re: Help required

2002-04-16 Thread Issac Goldstand
Murugan K wrote: >Hi > I am new to mod_perl and i am developing some samples using >mod_perl . >While developing sample , i do not want to restart the server >frequently with respect to my changes. > >So i used the$r->header_out("Pragma", "no-cache"); statement not >to cache the

Re: Trapping browser events

2002-04-11 Thread Issac Goldstand
Jacob Elder wrote: >On Tue, Apr 09, 2002 at 11:13:09AM +0100, Martin Harriss wrote: > >>I am using Embperl on an intranet system to perform complex database >>searches and display the results. >> >>My problem is that, depending on the parameters given by the user, some >>searches can take some

Re: OT: Status Page

2002-04-10 Thread Issac Goldstand
I sometimes use pages with a text INPUT field and javascript to upate it to display status. I'm also planning on releasing a more complex version of that that uses a seperate thread under Apache 2, based on the IPC methods I use for Apache::UploadMeter... Issac Rasoul Hajikhani wrote: >Fol

Re: [OT] Unsubscribe me please

2002-04-09 Thread Issac Goldstand
Fulko Hew wrote: >Issac Goldstand <[EMAIL PROTECTED]> commented: > >>Fran Fabrizio wrote: >> >>>>The info is in too many places: posted many times here (read: search >>>>archives), >>>>on the front page of perl.apache.or

Re: Unsubscribe me please

2002-04-09 Thread Issac Goldstand
Fran Fabrizio wrote: >> The info is in too many places: posted many times here (read: search >> archives), >> on the front page of perl.apache.org, in the guide (search!) and >> probably many other places. > > > > Not to mention in the header of every single message to this list. > > -Fran Well

Re: mod_perl & restart vs. graceful

2002-04-09 Thread Issac Goldstand
> [snip] > >> we could change the >> script to do a stop then restart, but we've seen where this method (done >> manually) was not 100% reliable and would sometimes require a couple of >> "stops" before we could really restart apache (never understood why >> this was >> so.) > > > It's most likel

Typo

2002-04-09 Thread Issac Goldstand
Did I *really* write Apache::expat? Stupid error - Apache::compat.. Sorry :) Issac

use Apache2/use Apache::expat

2002-04-09 Thread Issac Goldstand
Can one of the mod_perl 2 developers explain what each of these does? It seems that the first loads mod_perl 2.0 mode and the latter loads mod_perl 1 compatibility mode, or something to that extent, but what about other behind-the-scenes things which are happening that might be useful to know

Re: [ANNOUNCE] Cache::Cache 1.0

2002-04-07 Thread Issac Goldstand
DeWitt Clinton wrote: [snip] I've actually meanty to ask this for a while: I'm curious as to the auto_purge functionality of Cache::Cache - especially under mod_perl... I tend to use it a lot, but from time to time, which is basically EVERY time I look at /tmp, I notice bunches of stale entri

Re: Access right on files from CGI script

2002-04-05 Thread Issac Goldstand
I would say you should set up suexec to let the user that Apache runs as execute those specific commands as a privaleged user. But use suexec with EXTREME care. Issac bo wrote: > Hello gurus, > > I am notivice on Apache configuration. > I wrote a CGI program, which will display > some system st

Re: how to identify an interrupted downloads?

2002-03-25 Thread Issac Goldstand
F.Xavier Noria wrote: >I would like to know whether in the server side one can figure out if a >user has completed the download of a known file. Would bytes_sent() give >the actual number of bytes sent if the download gets interrumpted by the >client? Would yo know a better approach if not? > >--

Re: mod_perl developers cookbook... a kitchen hand asks... doh!

2002-03-24 Thread Issac Goldstand
> > You must have taken this subroutine out of context. There are a > certain number of things which must appear for an Apache handler to work: > > package Apache::Whatever; > > You need to have that line to uniquely identify your module. If you > use the name Apache::Whatever, your handler must

Re: Can't open perl script " -spi.bak"

2002-03-24 Thread Issac Goldstand
Garth Winter Webb wrote: >On Fri, 2002-03-22 at 12:57, Robert Landrum wrote: > >>>That's is very weird, because this code doesn't seem to work: >>> >>>perl -e 'system("perl", " -e1") == 0 or die "oops"' >>> >>Actually, that's not all that weird. Most shells take care of >>stripping out garbage

Re: Non-web use for Apache/mod_perl

2002-03-21 Thread Issac Goldstand
Bas A.Schulte wrote: > Hi, > > I've been meaning to write an article about how I used Apache/mod_perl > to implement a mobile SMS application platform as it demonstrates use > of Apache/mod_perl outside the Web realm, something I hadn't seen so > far. Time constraints (as always) have prevente

Re: mod_perl does not see multipart POSTs

2002-03-18 Thread Issac Goldstand
I'm not sure I understand what you're asking... Apache, on it's own, does not support any internal parsing of POST data, multipart or otherwise, so why should mod_perl? For this, we have the Apache::Request library in mod_perl (Which is the mod_perl interface to the libapreq library for Apac

Re: [OT] checking a site for ssl cert?

2002-03-18 Thread Issac Goldstand
t; >Thanks, >K > > >>-----Original Message- >>From: Issac Goldstand [mailto:[EMAIL PROTECTED]] >>Sent: Monday, March 18, 2002 7:16 AM >>To: [EMAIL PROTECTED] >>Cc: modperl >>Subject: Re: checking a site for ssl cert? >> >> >>Ki

Re: checking a site for ssl cert?

2002-03-18 Thread Issac Goldstand
Kirk Rogers wrote: >hello, >kind of a long shot but does anyone know if its possible to check a site for >ssl certificate information from a mod perl handler or perl script? > >thanks >k > it's all exported into %ENV if you do: SSLOptions + StdEnvVars Issac

Re: Cookies and redirects

2002-03-12 Thread Issac Goldstand
Geoffrey Young wrote: >Axel Andersson wrote: > >>Hello, >>I'm having trouble with both setting a cookie and redirecting the user to >>another page at the same time. It would appear the cookie is only sent >>when a normal header is sent by server. >> > >this is a common problem - you have to add t

Re: Cookies and redirects

2002-03-12 Thread Issac Goldstand
Well, I ran into this problem a while back... I solved it by baking my cookies and sening a Refresh: header to the browser. The format is the same as the more popularly used META tag. (eg "Refresh: $time;url=$url") For example, to immediately redirect from /foo to /bar while setting a cookie,

Re: where is libperl.so.1?

2002-03-07 Thread Issac Goldstand
*looks again* oops... I didn't look close enough at tyhe error, assumed it couldn't find mod_perl.so *hits himself in head*. Did you install perl yourself? If so, you may want to make sure that the directory containing the libperl.so file (usually TOP_LEVEL/libexec/) is included in the file

Re: where is libperl.so.1?

2002-03-07 Thread Issac Goldstand
so if it's statically compiled, why are you using LoadModule? Issac J S wrote: > > > Hi there, > > I've installed an apache build I did onto a Solaris > 2.6 box, and when I try to start it I get the following error message: > > ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open

Re: problems with $r->status('OK')

2002-03-05 Thread Issac Goldstand
You don't want to do that... You want to do this: use Apache::Constants qw(:common); and then $r-status(OK); # (no quotes) Issac - Original Message - From: "clayton cottingham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 6:47 PM Subject: problems with $r-

[ANNOUNCE] Apache::GD::Thumbnail-0.03

2002-03-01 Thread Issac Goldstand
Changes: Cache control headers are returned to the browser BEFORE the thumbnail is generated now (why I didn't do this originally is beyond me :-)) The uploaded file Apache-GD-Thumbnail-0.03.tar.gz has entered CPAN as file: $CPAN/authors/id/I/IS/ISAAC/Apache-GD-Thumbnail-0.03.tar.gz

Re: Status of mod_perl 2.0

2002-02-27 Thread Issac Goldstand
Which gives me another nice idea for articles... How about some pointers in thread safety with Apache/Perl... What you sould and should not do? Issac - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Jeff Stuart" <[EMAIL PROTECTED]> Cc: "Mod Perl Devel List" <[EMAIL PRO

Re: another article on perl.com

2002-02-27 Thread Issac Goldstand
[snip] > Just to assure you, 99.9% of the old code will run as is. Though there > are many new things ;) > Actually, that's what I'm interested in... I've mentioned on the IRC room on a number of occasions, that I'd like to try to use the new threaded interface to try to design some new innovat

Re: another article on perl.com

2002-02-27 Thread Issac Goldstand
Can I humbly suggest some articles that would lead to a guide for mod_perl 2? I'm actually a bit embarrassed to admit that this is more out of personal laziness than real need... I've just been so swamped lately, I've never gotten around to looking at the API for Apache 2.0, and therefore have no

Re: file globbing question

2002-02-20 Thread Issac Goldstand
It occurred to me that using a scheme like this, it might be possible to help improve mod_perl's popularity... Or, at least, the popularity of Toolkits built under mod_perl... Using (or the Apache::MIMEMapper module), makes mod_perl a bit more ISP friendly, as it's a lot easier for users to

Re: mod_perl cookbook ... next steps

2002-02-18 Thread Issac Goldstand
[EMAIL PROTECTED] wrote: [snip] >As I need information between the stage of life, I would use $r->notes to >communicate down the cycle. But then again, if I have some data tied >to the session (I use Apache::Session), how can I give it to >the PerlHandler. Is $r->notes proofed for any export, obj

Re: Image Magick Alternatives?

2002-02-18 Thread Issac Goldstand
Ooh!!! Ooh!!! *jumps to publicize his module in a desperate attempt to find someone who might actually NEED it* [So I'm shameless... So what? :-)] Apache::GD::Thumbnail - CPAN friendly. It needs, however, GD, which means that instead of using Perl Magick for the sole use of generating thumbn

Re: Cookie as session store

2002-02-14 Thread Issac Goldstand
Perrin Harkins wrote: >>When the cookie is recovered, I simply decode, uncompress, thaw, check >>the digest, and thaw the inner object. >> > >It's really a good idea to do this even when the cookie is nothing but a >session ID. A standard module for this like the one Jay mentioned would >definit

Re: mod_perl + UNIVERSAL

2002-02-12 Thread Issac Goldstand
Jean-Michel Hiver wrote: >>>* If you have two *different* modules which have the same name, then >>>either one, or the other is loaded in memory, never both. This is >>>dead annoying. I think Perl standard modules + CPAN modules should be >>>shared, other modules which are specific to a given scr

Re: mod_perl + UNIVERSAL

2002-02-12 Thread Issac Goldstand
Jean-Michel Hiver wrote: [snip] > >A list of things I've noticed: > >* If you have two *different* modules which have the same name, then >either one, or the other is loaded in memory, never both. This is >dead annoying. I think Perl standard modules + CPAN modules should be >shared, other modul

[ANNOUNCE] Apache::UploadMeter-0.21

2002-02-03 Thread Issac Goldstand
The URL http://prdownloads.sourceforge.net/apache-umeter/Apache-UploadMeter-0.21.tar.gz has entered CPAN as file: $CPAN/authors/id/I/IS/ISAAC/Apache-UploadMeter-0.21.tar.gz size: 7293 bytes md5: c2b830b7a6204d40050946c5d84c9583 Also available on SourceForge (see above URL). SourceF

Re: New mod_perl Logo

2002-01-31 Thread Issac Goldstand
Jay Lawrence wrote: >I looked at some of the candidates at >http://wypug.digital-word.com/mod_perl/ >must confess I am partial to >http://wypug.digital-word.com/mod_perl/logos/louise_bramald_1.jpg so far > >Thinking camels for Perl and feathers for Apache putting them together all I >could see is

Re: performance coding project? (was: Re: When to cache)

2002-01-25 Thread Issac Goldstand
Ah yes, but don't forget that to get this speed, you are sacrificing memory. You now have another locally scoped variable for perl to keep track of, which increases memory usage and general overhead (allocation and garbage collection). Now, those, too, are insignificant with one use, but the

[ANNOUNCE] Apache::GD::Thumbnail-0.01

2002-01-21 Thread Issac Goldstand
ailBaseDir Sets the directory that contains the images to be thumbnailed. Defaults to ".." if not set. AUTHOR AND COPYRIGHT Copyright (c) 2002 Issac Goldstand - All rights reserved. This library is free software. It can be redistributed and/or modified

Re: Thumbnail generator

2002-01-21 Thread Issac Goldstand
Robert Landrum wrote: > At 4:13 PM +0100 1/21/02, Gerald Richter wrote: > >> > I recently decided that Apache::Gallery is really nice if you want to >> >>> sit down and start fiddling with templates, but that I needed to make a >>> "quick-easy" version for myself. The design is to be extremely s

RFC: Thumbnail generator

2002-01-21 Thread Issac Goldstand
I recently decided that Apache::Gallery is really nice if you want to sit down and start fiddling with templates, but that I needed to make a "quick-easy" version for myself. The design is to be extremely simple, and is divided into two seperate modules. The first is an on-the-fly thumbnail

  1   2   >