Re: Apache::DBI

2002-02-11 Thread Martin Haase-Thomas
Marty J. Rogers wrote: >[snip] >>From httpd.conf: > >PerlModule Apache::DBI CGI DBD::mysql \ >Apache::AuthenDBI >PerlRequire /path/to/startup.pl > >Alias /perl/ /path/to/perl >PerlModule Apache::Registry > >SetHandler perl-script >PerlHandler Apache::Registry >Options ExecCGI >allow from all >P

QUESTION

2002-02-06 Thread Martin Haase-Thomas
Hi all, I hope there'll be someone here to help we with a mod_perl prob, of which I thought first it wouldn't be one. I refer to the "Writing Apache Modules" book by Stein/MacEachern. The prob is quite simple: I have to redirect certain requests under certain conditions to another URL (a

Re: Make test issue with the URI module

2002-02-04 Thread Thomas Klausner
Hi! On Sun, Feb 03, 2002 at 05:24:03PM -0800, Pierre Carette wrote: > I am trying to install the latest version of Mod_perl (version 1.26) with > Apache 1.3.23 on RedHat 7.2. > > When I tried the "make test" from the mod_perl installation I had an error > saying that the module URI couldn't be f

Re: email attachments; was modperl growth

2002-02-02 Thread Thomas Eibner
ware etc been there, done > that, I'm sticking to my story. Outlook Express has no clue on what to do with PGP signed messages? Which is what it was. -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_poin

Re: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Thomas Klausner
Hi! On Fri, Feb 01, 2002 at 10:24:24AM -0800, Mod Perl wrote: > Here are the problems/Questions that I face: > 1. Since in this case each requests for a html file > has multiple files that need to be downloaded by the > client. Am I right to assume that the handler will act > on each and every fi

Re: Cross-site Scripting prevention with Apache::TaintRequest

2002-01-22 Thread Thomas Eibner
exp to see if it's worth trying the real validation function. My little system for doing this isn't All the variables that are passed through form fields into other pages goes through HTML::Entities' encode_entites function right before it's inserted in a template. -- Thomas

Re: disable mod_perl for certain virtual hosts/folders

2002-01-22 Thread Thomas Klausner
Hi! On Tue, Jan 22, 2002 at 03:02:58PM +0100, [EMAIL PROTECTED] wrote: > only pl-files are affected. Unfortunately I have some pl-files that > must not run under mod_perl (even not under PerlRun cause they are > really dirty) and I wonder if there is no way to set the orginal > cgi-handler (that

Perl based Authentication on Apache

2002-01-20 Thread Thomas . Waelde
side the error log from Apache: configuration error: couldn't check user. No user file?: /ro-euma/index.pl i guess Apache does not access this AuthenticationHandler and requires something like a htpaaswd. Pls, what must i do to correct this ? Thks for every help in advance n Bgrds Thomas

ANNOUNCE: CGI::URI2param 1.00

2002-01-07 Thread Thomas Klausner
Hi! The URL http://domm.zsi.at/source_code/modules/CGI-URI2param-1.00.tar.gz has entered CPAN as file: $CPAN/authors/id/D/DO/DOMM/CGI-URI2param-1.00.tar.gz size: 4133 bytes md5: 2b216c471242e72dbcfc73059431756e The main thing that changed is that I included Apache::URI2param, a Per

Re: Fast template system. Ideas,theorys and tools

2002-01-01 Thread Thomas Eibner
nly easier for the project's webdesigner to gasp when there's no code they can break by using whatever windows-app they want to use to edit their html. I tried Mason and other of the more featurefull template systems out there but I always ended up going back to CGI::FastTem

Re: irc

2001-12-24 Thread Thomas Eibner
rather see #modperl, but Why don't we do that then? on irc.rhizomatic.net -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: irc

2001-12-22 Thread Thomas Eibner
On Sat, Dec 22, 2001 at 12:25:51PM -0800, Cure wrote: > On irc.dal.net, theres a #mod_perl, Nobody goes there anyomore, But we all > could start joining it. Please, no more networks =) I think something like #modperl would be appropriate on rhizomatic, but it's not up to me. -- Th

Re: irc

2001-12-22 Thread Thomas Eibner
We used to hang on #Take23 on Openprojects for a while, but it kinda died out.. You have any suggestions? -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: What phase am I in?

2001-12-21 Thread Thomas Eibner
ing the sources if he actually knew what the function was called. -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: mixing cgi-bin & mod_perl

2001-12-20 Thread Thomas Eibner
king under mod_perl. > > How can he do that ? When he's still renaming the files he could do something like: Alias /cgi-bin/script1.pl /mod-perl/script1.pl And when he has moved them all just move the directory so it works from the original directory. -- Thomas Eibner <http

Re: Report on mod_accel and mod_deflate

2001-12-20 Thread Thomas Eibner
d_proxy_add_forward works. The module can be found at: http://stderr.net/apache/rpaf/ -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: [modperl site design challenge] and the winner is...

2001-12-18 Thread Thomas Klausner
Hi! On Tue, Dec 18, 2001 at 10:28:04PM +0800, Stas Bekman wrote: > # Design by Votes > -- > 1. Thomas Klausner 86 yeah! > Since Thomas' design has won the gold, I suggest that we incorporate the > constructive comments (attached) into his desig

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Thomas Klausner
Hi! On Mon, Dec 17, 2001 at 04:17:02PM -0500, David Harris wrote: As one of the three contributers I'd like to reply to some points you made: > Thomas Klausner's isn't broken in anyway and acceptable, but I don't really > *like* the page look very much. The main g

Re: RFC: CGI vs. Apache Namespace Question

2001-12-16 Thread Thomas Klausner
Hi! On Wed, Dec 12, 2001 at 01:44:52PM -0500, darren chamberlain wrote: > I didn't even think of that; if Apache is not installed, having > URI2Param.pm in site_perl/Apache doesn't matter. Therefore, I > would like to resubmit option 5: > > 5) Include Apache::URI2Param with the CGI::URI2Para

Re: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread Thomas Eibner
On Fri, Dec 14, 2001 at 12:58:51PM -0800, Jeff Yoak wrote: > At 09:15 PM 12/14/2001 +0100, Thomas Eibner wrote: > >The key to mod_perl development is speed, there are numerous testimonials > >from users implementing a lot of work in a very short time with mod_perl. > >Ask

RE: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread Thomas Moore
I spoke to the technical lead at Yahoo who said mod_perl will not scale as well as c++ when you get to their level of traffic, but for a large ecommerce site mod_perl is fine. I think people just stick to what they started with. We wrote our site racesearch.com using mod_perl and it is super fast

Re: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread Thomas Eibner
style apps) it shows that mod_perl is pretty fast. my $cent = 2; -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

RFC: CGI vs. Apache Namespace Question

2001-12-11 Thread Thomas Klausner
Hi! I've got a small CPAN Namespace Question: Some time ago I wrote CGI::URI2param ( http://search.cpan.org/search?mode=module&query=URI2param ). Now, thanks to an idea by darren chamberlain, I wrote a small PerlInitHandler that does nothing more than parse some PerlSetVars and then call uri2pa

Re: [modperl-site design challenge] Thomas Klausner (domm)

2001-11-25 Thread Thomas Klausner
Hi! On Mon, Nov 26, 2001 at 01:36:07AM +0100, Robin Berjon wrote: > > * The first page ("Home") successfully validates at w3.org (HTML and CSS). > That's very good. Do the others validate as well (or at least, do you see any > reason why they wouldn't ?) ? On some of the deeper pages, Pod::POM g

[modperl-site design challenge] Thomas Klausner (domm)

2001-11-25 Thread Thomas Klausner
Hi! You can look at my idea of the the new modperl-site design here: http://domm.zsi.at/modperl-site-domm/ You can get the whole distro to download at: http://domm.zsi.at/modperl-site-domm/modperl-site-domm.src.tgz or just the output at: http://domm.zsi.at/modperl-site-domm/modperl-site-domm.dst

solved, sorry (was Re: missing directive)

2001-11-14 Thread Thomas Bach
sorry for the derangement, i solved it today thanks anyway! Thomas Bach <><><><><> think karo... bkaro.net At 23:59 13/11/01 +0100, Thomas Bach wrote: >Hello > >We're running a cobalt raq4 and have some problems with the apache >configuration.

missing directive

2001-11-13 Thread Thomas Bach
../admin/ adress, which should be rewritten by a rule written in some $PerlConfig-Variable which is filled in a - part of the httpd.conf do you have any hints? i don't know this server really good, but it seems to me that it should be obvious for people working with it ..

Re: [challenge] new mod_perl site

2001-11-13 Thread Thomas Klausner
Hi! On Wed, Nov 14, 2001 at 01:31:52AM +0800, Stas Bekman wrote: > Obviously the site should be very light on graphics, but since you are > a good web designer you know this and all the other requirements > already. The only requirement we have is that this is an information > site, so avoid fanc

[OT] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Thomas Klausner
Hi! On Fri, Oct 19, 2001 at 09:59:18AM -0400, Drew Taylor wrote: > What I found most interesting was the detail of the extensive caching which > was implemented to survive the seasonal rush. Wasn't this "seasonal rush" at least partly caused by the so-called toywar (www.toywar.com) between eToys

Re: segfault on start....

2001-10-02 Thread Thomas Eibner
ost here. > Pretend like I'm NOT some C-code guru, and explain to me what I need > to do, because it doesn't seem like doing what the docs say is > helping. *chuckle* Isn't there anything about debugging in the documentation? -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: Keeping POST information between request phases

2001-10-01 Thread Thomas Eibner
q; } Which means you're only calling Apache::Request->new once and therefore only reading from the socket once. This is stored in the pnotes table in the Apache request object and follows all the way through the request and will make POST's work from both your AuthenHandler and your co

Re: Keeping POST information between request phases

2001-10-01 Thread Thomas Eibner
ore information: > > http://perl.apache.org/guide/snippets.html#Reusing_Data_from_POST_request Above instance method was made to avoid having to do workarounds like that in the guide. -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: Keeping POST information between request phases

2001-09-30 Thread Thomas Eibner
phases of Apache's handling? For >example, if I have a $q=new Apache::Request($r); in, say, the Authentication, how can >I get the POSTed variables in, say, the Response phase? Use the "newly" introduced instance function of Apache::Request : my $apr = Apache::Request->i

Re: problems building mod_perl with apache: cannot find -lperl

2001-09-26 Thread Thomas Eibner
lpers/dummy.c `perl > /usr/local/src/mod_perl-1.25/src/modules/perl/ldopts ` -lm > /usr/bin/ld: cannot find -lperl > collect2: ld returned 1 exit status > make: *** [dummy] Error 1 > = End of Error Report = apt-get install libperl5.6 libperl-dev --

Re: Pre-announce Apache::ConfigParser

2001-09-14 Thread Thomas Klausner
Hi! > I swore there was yet a third candidate in this realm, but I didn't see it > on brief inspection. I am currently sort of working (haven't touched for some time) on something called Apache::FakeEnv which should be something like a subclass of Apache::FakeRequest, but which includes access to

internal redirect with byterange (was: "open downloaded file")

2001-08-30 Thread Thomas Bach
; MSIE 5.01; Windows NT)"195.141.44.1 - - [30/Aug/2001:17:13:14 +0200] "GET /files/sid00017/AR_1000A-TSS_report-TSS.PDF HTTP/1.1" 206 397776 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" All three entries comes out of an access to one file .

Re: is postreadrequest too late to determine name vhost?

2001-08-29 Thread Thomas Eibner
On Wed, Aug 29, 2001 at 02:44:48PM -0400, Vivek Khera wrote: > >>>>> "TE" == Thomas Eibner <[EMAIL PROTECTED]> writes: > > TE> It seems that everything concerning vhosts is set up in http_protocal.c > TE> and that the vhost is set right after A

Re: is postreadrequest too late to determine name vhost?

2001-08-29 Thread Thomas Eibner
alling ap_update_vhost_from_headers to actually determine the vhost. All this happens before your module gets to run. It might be possible to create a C module that sets the Host: header like you want it to be and then call ap_update_vhost_from_headers. -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

open downloaded file

2001-08-27 Thread Thomas Bach
{ $r->header_out("Content-Disposition" => "attachment;"); }; $r->send_http_header(); return OK if $r->header_only; $r->send_fd($file); return OK; . . . any ideas ? what I'm doing wrong? Thanks in advance!! Thomas Bach <><><><> think karo .. www.bkaro.net

Re: mod_auth_digest

2001-08-21 Thread Thomas Bach
r_manage.tar.gz that's exactly what i was looking for, thanks alot!! the link above is broken, but it is available on CPAN: http://search.cpan.org/search?dist=HTTPD-User-Manage Thanks alot! Thomas Bach <><><><><><><><> think karo... bkaro.net

[ANOUNCE] aphid 0.13a (minor release)

2001-08-16 Thread Thomas, Peter L
ed the documentation. Thanks. -Pete Thomas

[ADMIN] can we have a reply-to header?

2001-08-15 Thread Thomas Eibner
Am I the only one that always have to go *doh* after I replied to a message here? -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

mod_auth_digest

2001-08-15 Thread Thomas Bach
for every hint or URL ;oP Thomas Bach <><><><><><><><> think karo... bkaro.net

Re: DBI Problem...

2001-08-13 Thread Thomas Eibner
rror. Try DBI users mailinglist: [EMAIL PROTECTED] -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Filter access to Files on Apache

2001-07-09 Thread Thomas Bach
the following: open(DATEI, ...) print while () close(DATEI) So, I'd be glad if you can give me some hints to solve this. Especially in order to efficiency (for that it don't have to be compiled everytime) I'm running apache 1.3.17 with mod_perl on a Linux machine. Thanks in advanc

Re: Apache::SimpleTemplate

2001-07-08 Thread Thomas Eibner
t, since it gets the job done. I wrote my own wrappers around this module too, like you and it works pretty well with the rest of the framework I use. -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

ANNOUNCE: CGI::URI2param 0.03

2001-07-05 Thread Thomas Klausner
Hi! The uploaded file CGI-URI2param-0_03.tar.gz has entered CPAN as file: $CPAN/authors/id/D/DO/DOMM/CGI-URI2param-0_03.tar.gz size: 2858 bytes md5: 059f7b717e5b746a1ecde3fc12fb32d5 This is the first public release. DESCRIPTION: CGI::URI2param takes a request object (as supplied b

RFC: CGI::URI2param (was: handler question)

2001-07-04 Thread Thomas Klausner
Hi! darren chamberlain <[EMAIL PROTECTED]>: > How is it different from mod_rewrite using the QSA flag to add > values to r->args? (This is a question, not a criticism!) True, you could use mod_rewrite to get the same result, but there are situations where you can't use it, e.g. you're not workin

Re: handler question

2001-07-03 Thread Thomas Klausner
Hi! On 3 Jul 2001, at 15:21, Viljo Marrandi wrote: > Actually i thought about r->uri. It returns everything after servername > and if i split it using '/' as separator i think i'm almost there ;o). I have a nearly finished module which applies some regular expression (specified in some config

Re: RFC: new module: Apache::FakeEnv

2001-06-27 Thread Thomas Klausner
Hi! On 26 Jun 2001, at 14:17, Andrew Ho wrote: > That's my script. The caveat is, that it will *never* be possible to > simulate mod_perl entirely--that would be so complex that you might as > well have everybody run a single-child Apache with mod_perl instead. I agree if you are out for debuggin

[ANNOUNCE] Apache::DnsZone 0.2

2001-06-26 Thread Thomas Eibner
Hi Folks, The URL http://dnszone.org/dist/Apache-DnsZone-0.2.tar.gz has entered CPAN as file: $CPAN/authors/id/T/TH/THOMAS/Apache-DnsZone-0.2.tar.gz size: 47032 bytes md5: 8cc9ef56ae9c1ef481801c01b2212d00 What's new: and PTR records are now supported. Much work has been

Re: RFC: new module: Apache::FakeEnv

2001-06-25 Thread Thomas Klausner
Hi! Geoffrey Young: >there was a more advanced Apache::FakeRequest floating around somewhere... > >I think this was it, but I swore it was something on the dev@ list: >http://marc.theaimsgroup.com/?l=apache- modperl&m=98719810927157&w=2 I knew this script (it was posted here, too), and while it

RFC: new module: Apache::FakeEnv

2001-06-20 Thread Thomas Klausner
Hi! I am currently working on a module that generates a Fake Apache Request Object like Apache::FakeRequest does, but that also parses the Apache Configuration and enables the user to access values set with PerlSetVar (i.e. fake $r->dir_config). This Request Object can than be used in mod_per

Re: Best way to attach a module to /

2001-06-15 Thread Thomas Klausner
Hi! On 14 Jun 2001, at 14:03, Andrew Ho wrote: > JK>What is the best way to attach a module to be run when a user first > JK>enters the site? > GED>Can you be a bit more specific? > I think the question is better phrased by the subject, "how can I > use mod_perl to handle all requests?" > .. T

[ANNOUNCE] First release of Apache::DnsZone

2001-06-13 Thread Thomas Eibner
AN/authors/id/T/TH/THOMAS/Apache-DnsZone-0.1.tar.gz size: 39963 bytes md5: b3ed58a8c0e72822da665e67f42b37f5 -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: Just a few questions...

2001-06-13 Thread Thomas Eibner
b 'fails' some times. > Can anyone shed some light on exactly what is happening with ab here? I > have verified that there is no Content-Length header in the output via > telnet to the Apache server, but how safe is it to omit this header? Why is > the results with ab inconsist

Re: Trying to find correct format for PerlSetVar's -- or get Apache::AuthNetLDAP working.

2001-05-30 Thread Thomas Eibner
x27;) to get the values from the configuration file. Example: my $BindDN = $r->dir_config('BindDN'); See: <http://perl.apache.org/guide/config.html#PerlSetVar_PerlSetEnv_and_PerlP> -- Thomas Eibner <http://thomas.eibner.dk/> - DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>

Re: libapreq behaving differently on RedHat vs Debian...

2001-05-21 Thread Thomas K. Burkholder
nt out, to avoid the possibility of this problem. Thanks!!! //Thomas Thomas K. Burkholder [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: > On Mon, May 21, 2001 at 01:35:11AM -0700, Thomas K. Burkholder wrote: > > Hi, > > > > I'm using libapreq to do http file uploads, works

libapreq behaving differently on RedHat vs Debian...

2001-05-21 Thread Thomas K. Burkholder
And showing the perl isn't really important, since it doesn't get called. Any ideas, anyone? Thanks, //Thomas Thomas K. Burkholder [EMAIL PROTECTED]

Re: Any way to make StatINC work for imported modules?

2001-05-16 Thread Thomas K. Burkholder
Whoops. Pilot error. Cancel that. Sorry. //Thomas "Thomas K. Burkholder" wrote: > Hi, > > I'm using mod_perl without the registry, because it seems a bit faster > and, well, more elegant. This means, in essence, that the configuration > is: > > PerlInit

Any way to make StatINC work for imported modules?

2001-05-16 Thread Thomas K. Burkholder
C only attempts to reload files referenced in the initial configuration and files referenced by the initial configuration; anyone know how to make it load new files without restarting the server? Is it a bug? (It seems like a bug). Thanks for any help, //Thomas Thomas K. Burkholder [EMAIL PROTECTED]

Re: RFC - testers wanted - application for mod_perl

2001-05-13 Thread Thomas Eibner
s and bandwidth by the company we work for to have our own personal websites put up and since we would rather not have people loging into our nameservers. So I came up with this idea and since it works for us and we don't need a profit I thought I just might as well release it. It'

RFC - testers wanted - application for mod_perl

2001-05-13 Thread Thomas Eibner
DnsZone.pm, Apache::DnsZone.pm and Apache::DnsZone::, is that fine? that's all for now, -- Thomas Eibner - <http://thomas.eibner.dk/>

ANNOUNCE: aphid-0.12a (minor updates)

2001-05-08 Thread Thomas, Peter L
Just a note for the mod_perl list that aphid, the browser-based mod_perl+mod_ssl Apache installer was recently updated to include current software releases. Aphid will download the source for Perl, Apache, Open SSL, mod_ssl, and mod_perl plus a few other things and attempt to compile everything f

ANNOUNCE: aphid 0.12a (minor release)

2001-05-08 Thread Thomas, Peter L
Aphid, the browser-based mod_perl+mod_ssl Apache installer has been updated to accommodate current third-party software releases. Aphid downloads the source for Perl, Apache, Open SSL, mod_ssl, and mod_perl plus a few other requisites and attempts to compile and install everything in a top-leve

Final form of config code [Was: RE: What the heck actuallyhappens in a perl section?]

2001-04-18 Thread Thomas K. Burkholder
ful in ISP/hosting situations. //Thomas Thomas K. Burkholder [EMAIL PROTECTED] PerlInitHandler Apache::StatINC PerlModule Apache::DBI use IO::File; use Data::Dump; #use Apache::PerlSections (); # convert this to per-user match later while(my ($name,undef,undef,undef,u

Re: What the heck actually happens in a perl section?

2001-04-17 Thread Thomas K. Burkholder
ey to 'areaj-areaj' so that there wouldn't be any spurious matches, and it worked! This *is* a bug, right? Location is supposed to be an exact match, isn't it? Geoff- thanks for the help. It wasn't quite 'full-case-of-beer' help, but I definitely owe you one.

What the heck actually happens in a perl section?

2001-04-17 Thread Thomas K. Burkholder
Hi again, I'm still beating my head against perl sections. Using PerlSetVar inside $Location seems really flaky - constants work, variables vanish. And using $Location{$key} = {...} causes odd spurious multiple-matching behaviour from a single matching hit. Frankly, I'm at a loss. I'm about re

Mea Culpa [Was: Re: modperl security model question]

2001-04-16 Thread Thomas K. Burkholder
should reproduce. Or am I missing something? Is there a perfectly logical reason why having the $line variable contain "use Data::Dump;" should result in $line being evaluated to undef a few lines later? Thanks to those who helped. //T darren chamberlain wrote: > Be sure to che

Re: modperl security model question

2001-04-16 Thread Thomas K. Burkholder
ehow the values inside PerlSetVar have to be constants of some sort. Commenting out the PerlSetVar part and uncommenting the push line just gives me 404 (doesn't even print out my STDERR statement earlier in the routine, I really don't get that). I'm obviously being a bonehead. Ca

modperl security model question

2001-04-14 Thread Thomas K. Burkholder
a lot more elegant. This is probably well-trodden territory - anyone got a solution? Thanks again, several of you have been helpful to me, and I do appreciate it. Happy Easter. //Thomas Thomas K. Burkholder [EMAIL PROTECTED]

is Apache::Request upload->fh lazy or not?

2001-04-14 Thread Thomas K. Burkholder
blem before? I want to provide an upload function for my web app that shows the user periodic progress or maybe even allows them to cancel it part way through. Is this too much of a reach for http/mod_perl? Thanks in advance, //Thomas Thomas K. Burkholder [EMAIL PROTECTED]

Re: install solution for new mod_perl based application needed

2001-04-12 Thread Thomas K. Burkholder
e non-interactive installs like that provided by the CPAN module either not possible or necessitate operational changes to those tools. There might be a way to do this, but if it's there it's very non-obvious. I'm going to stick to a manually-initiated interactive install script after the

install solution for new mod_perl based application needed

2001-04-11 Thread Thomas K. Burkholder
ng that doesn't require that the user be root except maybe to modify their httpd.conf. Thanks in advance- //Thomas Thomas K. Burkholder [EMAIL PROTECTED]

header_out/AUTH_REQUIRE

2001-01-22 Thread Thomas Plathe
line in the header. Do I need something else ? Thanks Thomas Plathe

AUTH_REQUIRED with MSIE

2001-01-21 Thread Thomas Plathe
ybody tell me, how i can get MSIE to open the Mask like Navigator? I don't know if it is a problem in my module or in the preferences of MSIE. Thanks Thomas Plathe

FW: Problem after rebooting apache with Oracle

2001-01-10 Thread Thomas Moore
Does anyone have ideas why we would get this error periodically after our system has been running for about 20 minutes? thanks, -tom [Wed Jan 10 16:22:45 2001] [error] DBI->connect(RSPD1) failed: ORA-12154: TNS:could not resolve service name (DBD ERROR: OCIServerAttach) at /usr/local/lib/perl5/s

Problem after rebooting apache with Oracle

2000-12-23 Thread Thomas Moore
Everything works fine for about 1/2 an hour and then we start getting the message below. We used to get an error that Oracle home was not found, so we hard-coded it in and now we just get the message below. Does anyone have any suggestions? If our code produces an oracle error, does that corrupt

RE: strange caching

2000-12-17 Thread Thomas Bach
!thanks alot! i don't yet look really through, but once i'll ;) fact is: IT WORKS! > > [..] > > sometimes i can reload the page and then it shows me once the old datas > > anothertime the new datas (internet explorer alternately and netscape > > navigator 'randomly') > > > > if a modifiy/save

strange caching

2000-12-17 Thread Thomas Bach
've heard of another (in a german mySQL-mailinglist) who had also this problem, but he didn't really solved it (he goes around) does anyone of you know this problem (and perhaps a fix)? sorry if it's offtopic Thanks alot! Thomas Bach [EMAIL PROTECTED]

Re: Mod_perl tutorials

2000-12-14 Thread Thomas von Elling Skifter Eibner
Now I'm just in doubt wheter I actually saw a message where Baiju was saying he'd donate the domain or it was just Stas' message I remembered. On a sidenote, I have modperl.dk and it's currently just redirecting to http://perl.apache.org/ -- Thomas Eibner

Re: mod_perl advocacy project resurrection

2000-12-05 Thread Thomas J. Mather
On Tue, 5 Dec 2000, Michael Nachbaur wrote: > I don't know what I'm getting at here, but I see that Perl is half a > step behind Java in many ways, except for the performance issues > (which perl is leagues ahead). For my company, we're probably going > Java, but it sorta makes sense for us (we

Re: RFC: Apache::Carp - Error Handling under mod_perl

2000-11-30 Thread Thomas J. Mather
Yes it would be useful to have an Apache::Carp as Gunther described it, but I don't really have the time right now to develop it. Maybe I'll get the time to later, but in the meanwhile, I'll stick with the current module in PageKit (it works well with code written under PageKit). If anybody else

Re: RFC: Apache::Carp - Error Handling under mod_perl

2000-11-30 Thread Thomas J. Mather
OK, I think Apache::Carp was a misleading name - it is not really a replacement for CGI::Carp - instead it is a simple module for reporting errors under a mod_perl enviroment that is easy to use and doesn't require that the programmer use carp and croak. A better name would have been something l

Re: RFC: Apache::Carp - Error Handling under mod_perl

2000-11-30 Thread Thomas J. Mather
I forgot to include the Apache/Carp.pm attachment in my last e-mail. Here it is. package Apache::Carp; # $Id: $ use integer; use strict; use Mail::Mailer; # trap die and warn $main::SIG{__WARN__} = \&Apache::Carp::warn; $main::SIG{__DIE__} = \&Apache::Carp::die; $Apache::Carp

Re: RFC: Apache::Carp - Error Handling under mod_perl

2000-11-30 Thread Thomas J. Mather
Sure. I have attached Apache/Carp.pm, so you can examine it. Some of the main differences that can't be implemented easily under CGI are: * Apache::Carp can be configured in the httpd.conf file to send an e-mail to the server admin by setting 'PerlSetVar APACHE_CARP_HANDLER email'. This way yo

new module

2000-11-13 Thread Thomas Klausner
Hi! I am currently developing a perl module that is somewhat simmilar to CGI::PathInfo, and somewhat not. (IMO more not). The module would be used in a CGI- or mod_perl-environment. It takes the path-info (or the whole URL) and performs some regular expressions (defined via some configuration

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Thomas Klausner
Hi! > If you use $r->pnotes, you can just put a reference to an arbitrary data > structure into it and it will still be there in the next handler. No > need to serialize it with Data::Dumper. Better than using a normal > global because it gets automatically cleaned up after the request. Thanks

Passing data structures between Stacked Handlers

2000-11-11 Thread Thomas Klausner
Hi! Is there a module that can do "Stacked Handler Pipelining", but doesn't pass around tied filehandles but data structures ? If there isn't, could it be implemented by dumping the data structure to $r->notes (with Data::Dumper) and have it eval'ed back by the next handler? -- D_OMM

Re: Connection Pooling / TP Monitor

2000-11-06 Thread Thomas A. Lowery
d safety? > > Yeap. How about an explaination on how to test a pure perl driver for thread safety and/or what types of code we need to check for or look into? Tom -- Thomas A. Lowery[EMAIL PROTECTED]

Re: a web interface to visualize tables

2000-11-01 Thread Thomas von Elling Skifter Eibner
he way DBI has database drivers.. I would be able to spend some time help testing/developing on a project like this, so if you want help just email me. regards, -- Thomas Eibner

Re: Apache::SSI problem

2000-11-01 Thread Thomas von Elling Skifter Eibner
gt; and finaly, one file, named test.bozo contains, among some plain > html the ^ The tag should be -- Thomas Eibner

Re: Problem reading content...

2000-10-31 Thread Thomas von Elling Skifter Eibner
.0"); my $req = new HTTP::Request(POST => 'http://tssdatadev.jc.jefco.com/wilco/PutXml/asynch'); $req->content_type('application/x-www-form-urlencoded'); $req->content(uri_escape("easter bunny is coming to town..."); my $resp = $ua->request($req);

Win32: Activestate 5.6.0 618 / 1.24_01 / 1.3.14

2000-10-17 Thread Thomas
e the lib in the server-root dir, add a LoadModule directive into the ap-conf and install >> kickstart a service-instance of "Apache/1.3.14 (Win32) PHP/4.0.2 mod_perl/1.24_01" Now, hopefully, your AS 5.6.0 618 / 1.24_01 / 1.3.14 service no longer crashes at a shutdown/stop. thomas.

Win32: Activestate 5.6.0 618 / 1.24_01 / 1.3.14

2000-10-17 Thread Thomas
e the lib in the server-root dir, add a LoadModule directive into the ap-conf and install >> kickstart a service-instance of "Apache/1.3.14 (Win32) PHP/4.0.2 mod_perl/1.24_01" Now, hopefully, your AS 5.6.0 618 / 1.24_01 / 1.3.14 service no longer crashes at a shutdown/stop. thomas.

Re: I'm missing something in Apache::Cookie (fwd)

2000-09-15 Thread Thomas S. Brettin
from the looks of the code you guys posted, I would guess that Cookie->fetch returns a hash reference, not a hash. Could this be the problem? Thomas S. Brettin Staff Member Bioscience Division, MS-M888 Los Alamos National Laboratory Los Alamos, NM 87545 505-665-3334 On Fri, 15 Sep 2

Re: Do I need to reinstall mod_perl?

2000-09-15 Thread Thomas S. Brettin
It looks like /usr/local/lib/perl5/site_perl/5.6.0 needs to be in in @INC If this is your problem, there are several options that might work, #!/usr/local/perl -I/usr/local/lib/perl5/site_perl/5.6.0 or move the .../site_perl/5.6.0/Apache directory to a directory in @INC. On Fri, 15 Sep 2000,

Apache::Request growing httpd

2000-08-28 Thread Dave Thomas
I applied the patch from the archives but the httpd child process is still growing by the size of the file. Is that normal, or is there an update to the patch that Jim Winstead placed out there The system that I am running on is: SunOS 5.6 on a sparc Ultra-1 Thanks in advance for any he

Re: custom server string

2000-08-10 Thread Thomas von Elling Skifter Eibner
ule in C that uses the ap_add_version_component() function. If you want to change the whole Server string you'd probably have to edit the source files of apache. -- Thomas Eibner

Aborting Apache startup during PerlInitHandler

2000-07-23 Thread Thomas Klausner
Hi! I have got a PerlInitHandler that does some config parsing etc. I would like Apache to stop starting up and to print out some error message ("Config Directive blabla missing" or something like that) if an error occures during config parsing. (As it is happing when something is wrong with the

<    1   2   3   >