Re: Filter out error log by IP address?

2010-01-28 Thread Sean Davis
to be. > > Can someone point me in the right direction? Hi, Michael. Here is the LogHandler information: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler Sean

Re: Semi-OT usetrack_log analysis tools

2009-09-23 Thread Sean Davis
started collecting usertrack data, and would like to know what >> > tools exist to analyze this stuff for Linux >> > I typically load all this into a RDBMS and then do SQL queries. This ends up being a very flexible approach, in my opinion. Sean > > My questions are, f

Apache Children Stuck on futex

2009-06-23 Thread Sean Thorne
-8<-- Start Bug Report 8<-- 1. Problem Description: I've got some Apache Children that are getting stuck on a futex call. This started happening on a Apache 2.2.6 worker w/ mod_per 2.0.4 install, so I upgraded to Apache 2.2.11 worker w/ mod_perl 2.0.4

Apache Children Stuck on futex call

2009-06-22 Thread Sean Thorne
[stho...@81082-spare ~]$ sudo strace -p 3271 Process 3271 attached - interrupt to quit futex(0x1b5bbe8, FUTEX_WAIT, 3451, NULL Thanks, Sean

Re: Installing mod_perl

2009-06-19 Thread Sean Thorne
I've encountered that before and resolved it by creating a sym link. On Jun 19, 2009, at 10:32 AM, ARTHUR GOLDBERG wrote: Hi I'm installing mod_perl on Ubuntu 8.04.2 LTS 32-bit. I receive the error make[3]: Entering directory `/home/artg/Downloads/mod_perl-2.0.4/xs/ APR/APR' rm -f ../..

Re: mod_perl 2.0.4 make test fails on red hat EL4 with apache 2.2.11 after glibc update

2009-06-11 Thread Sean Thorne
I appreciate you taking a look. I actually fixed that part with symlinks. I attached the wrong make test. On Jun 10, 2009, at 1:40 PM, Adam Prime wrote: Sean Thorne wrote: Hi, I don't know whats wrong, but my hosting environment recently pushed an update of glibc and pthread to a

Re: Reg Web Page Creation in Mod Perl

2009-02-16 Thread Sean Davis
for mod_perl tutorials has some useful hits. Also, you might want to read some documentation. http://perl.apache.org/docs/index.html Sean

Re: question on downloading CGI

2008-09-05 Thread Sean Davis
from there. There is also a beginners-cgi mailing list (not this) and perlmonks.org is a great site for general perl knowledge. Sean

Re: a require problem

2008-08-29 Thread Sean Davis
l can't be found. Hi, Jeff. This list is for mod_perl development, not CGI. That said, you'll need to read the documentation for the template engine (which one are you using?) that you are using. I doubt that you want to simply "require" them in your script like this. Sean

Re: [OT] connection limitation

2008-05-28 Thread Sean Davis
by ip. Just to finalize, I ended up using: http://www.ivn.cl/apache#bandwidth This allows setting connection and bandwidth limits based on IP or across a site. Worked like a charm (webserver load down from 20 to 2). Sean > "Sean Davis" <[EMAIL PROTECTED]> > > 2008

Re: [OT] connection limitation

2008-05-28 Thread Sean Davis
On Wed, May 28, 2008 at 1:19 PM, Fred Moyer <[EMAIL PROTECTED]> wrote: > Sean Davis wrote: >> >> This is decidedly off-topic >> >> We run a pretty small website (multi-use) on Apache (2.2) and mod_perl >> (along with some php, cgi, and static content).

[OT] connection limitation

2008-05-28 Thread Sean Davis
limiting the number of connections (not really bandwidth, since we host VERY large static files) from a single IP. Any suggestions? Thanks, Sean

Re: Beginner question re. mod_perl

2008-05-17 Thread Sean Davis
es, you mean different apache servers, then it doesn't make much difference. However, if you are talking about virtual hosting, again any child can handle the request. Sean

Re: Reload/Graceful Restart Apache

2008-04-03 Thread Sean Davis
mission denied on the socket: > > (13)Permission denied: make_sock: could not bind to address [::]:443 > no listening sockets available, shutting down > Unable to open logs This needs to be done as a root or admin user, I believe. Sean

Re: Reload/Graceful Restart Apache

2008-04-03 Thread Sean Davis
nd, you will always want to stop and then start the server, not restart. Sean

Re: [mp2] how to add data to posted form?

2007-10-08 Thread Sean Davis
but, instead, should be focusing on using the data in a CGI script or in a modperl Request handler. hi Sean! if I didn't misunderstand your meaning, I can't change any request data in the Apache2 server, and only read some data from it . is it right ? This is getting close to

Re: [mp2] how to add data to posted form?

2007-10-07 Thread Sean Davis
form on the browser, you cannot do that once the form has been submitted without regenerating the HTML and sending it back to the browser (or doing some AJAX calls from the browser, which is likely to be more complicated). Sean

Re: All about CGI.pm

2007-08-17 Thread Sean Davis
Tracy12 wrote: > How can we install this seperately from where should we download this? CGI is available from CPAN. Sean

Re: download apache

2007-08-09 Thread Sean Davis
prapulla rani wrote: > hi, > Where to download Apache source code . > > please send me reply it is very need to me. http://httpd.apache.org/

Re: Installing modperl when Apache is currently installed.

2007-07-23 Thread Sean Davis
y installed? If I try to install modperl using Apache source > will it overwrite or install a second version of Apache? I can’t seem to > find any instructions on users that already have a configured version of > Apache. What versions of apache and mod_perl? Sean

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-20 Thread Sean Davis
't want to overstrain your help - but do you have > an idea ? Is this error cut-and-paste? If so, you have only one ':'. Sean

Re: How to run perl in Oracle application server 10g release 2

2007-05-22 Thread Sean Davis
heeja, This list is for questions related to mod_perl, which is running under the apache webserver. Questions about OAS are best dealt with elsewhere. However, have you seen this document? http://download.oracle.com/docs/pdf/A66960_04.pdf Sean

RE: regex quickie

2007-04-26 Thread sean
Martin, I recommend you keep the regex more detailed so you don't match on, for instance, 'yahoo.com?q=google' and so on. my $string = 'google.com?q=yahoo+ask.com+msn'; my $searchfuncs = {google => sub { ... }, yahoo => sub { ... }, ask => sub { ... },

Re: Charts and Graphs

2007-04-13 Thread Sean Davis
more feature-deep. I'm > not terribly concerned about getting a bit more complicated if it means > better efficiency and/or better control, etc. > > Any suggestions? Have you looked at using gnuplot or R? Sean

Re: Generating login forms from authen handler?

2007-03-08 Thread Sean Quinlan
under the registry with access to the request object) can access the pnote(s) during the appropriate phase and generate the response as you need. -- Sean Quinlan [EMAIL PROTECTED] www.getfirefox.com signature.asc Description: This is a digitally signed message part

Re: Making .pm files run.

2007-01-16 Thread Sean Davis
ren't making much sense. Hope that helps. Sean > Michael Peters wrote: > > iNetForce wrote: > >> I installed Image Magick, but now im getting this error: > >> > >> http# apachectl restart > >> /usr/local/sbin/apachectl restart: httpd not runni

Re: Making .pm files run.

2007-01-16 Thread Sean Davis
need to install it. It is available on CPAN. Sean

Re: http authentication via a secure LDAP server

2007-01-16 Thread Sean Davis
installed or must I recompile apache and mod_perl with specific options? > Can anyone point me in the right direction. Thanks for any information. Have you looked at: http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html Sean

Re: Making .pm files run.

2007-01-15 Thread Sean Davis
http://perl.apache.org/docs/index.html Sean

Re: No output to browser with no errors!?

2007-01-10 Thread Sean P Quinlan
On Wed, 2007-01-10 at 00:53 -0500, Sean P Quinlan wrote: > OK, this is probably just a dumb programmer error on my part, but it > is now almost 1am for me and I can't find anything in the docs. > I have a mod_perl (Apache & mod_perl 2 on SuSE 10.1) module destined > to handle

No output to browser with no errors!?

2007-01-09 Thread Sean P Quinlan
e log, but yet no body (header?!?) appears to have been returned to the browser. Thanks! -- Sean P Quinlan <[EMAIL PROTECTED]>

Re: saving userid

2007-01-08 Thread Sean Davis
ata he has entered. You might want to look here for some ideas: http://perl.apache.org/docs/1.0/guide/security.html This is from the mod_perl 1 docs, but I don't think things have changed much. Sean

Re: Problem using PerlSection and global object in conf

2007-01-05 Thread Sean P Quinlan
it is eval'ed as perl. In this context, I > think you'd need to change it to something like this: > > PerlAuthenHandler => sub { $Auth_admin->authen }, > > or maybe even this: > > PerlAuthenHandler => sub { CAS::Apache::Auth->authen($Auth_admin) },

Re: Problem using PerlSection and global object in conf

2007-01-05 Thread Sean P Quinlan
ainly isn't stated in the example. So, I got past that hurdle last night, but didn't come check the list mailbox again until this morning. I'll respond to some other points made below and in any other responses. On Thu, 2007-01-04 at 17:47 -0500, Jonathan Vanasco wrote: > On Jan 4,

Problem using PerlSection and global object in conf

2007-01-04 Thread Sean P Quinlan
PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Apr 23 2006 00:26:41 @INC: /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl . -- Sean P Quinlan <[EMAIL PROTECTED]>

Re: perl script doesn't work under apache2

2006-11-08 Thread Sean Davis
go through this tutorial: http://users.easystreet.com/ovid/cgi_course Sean

Re: Problem with webdav and mod_perl

2006-09-28 Thread Sean Davis
the response to only A, B folders and C should not be displayed. > > Can you guys give me some idea , how should i do this ? I think you want to think about access control. You can do your access control via an auth handler in mod_perl if you like, but I don't think a fixup handler will do what you want. Sean

Re: Logging to a file

2006-09-22 Thread Sean Davis
s to handle this ), i'd > > need to lock / open / write / close / unlock the log file per request > > > > does anyone know of a facility that will let me just log > > straightforward ? You can create a simple logger under mod_perl that logs to a database directly using DBI. You would, of course, want to benchmark anything like this, but it isn't hard to code one. Sean

Re: [CGI] Can't Execute Script on Apache

2006-09-18 Thread Sean Davis
ynamic website, using a templating system such as Template Toolkit or HTML::Template is probably the better way to go. Sean

Re: [CGI] Can't Execute Script on Apache

2006-09-18 Thread Sean Davis
eed to make sure SSI is set up correctly. Sean

Re: HTTP Proxy using MOD_PERL

2006-09-06 Thread Sean Davis
I scripts. Mod_perl imbeds a persistent perl interpreter into apache, while for CGI scripts, the perl interpreter is started again with each request. You can use mod_proxy with or without mod_perl. Sean

Re: Authentication

2006-08-03 Thread Sean Davis
eqest for Cookie with session id and desided whether > to give access or not. > > Disadvantage (as I think) of first method: before every request make > SQL query to the database for varification login and password. You can do both. See things like: http://search.cpan.org/~mschout/Apache-AuthCookie-3.10/lib/Apache/AuthCookie .pm Sean

Re: Installing mod-perl on Tiger

2006-06-01 Thread Sean Davis
. make sure you link against the apache2 > you built - not the osx one > build expat from scratch if you need any libxml stuff I second that notion. Building from source on the OSX has been really straightforward in my experience. However, trying to integrate with the included version of apache is prone to produce headaches. Sean

Re: Oracle DBF Tablespaces and Perl

2006-05-01 Thread Sean Davis
lotho/CAM-DBF-1.01/lib/CAM/DBF.pm If you do the search yourself, you can probably find others that might work for you. Alternatively, could you have the database folks write tab-delimited text or, better yet, XML, instead of DBF? Sean

Re: Oracle DBF Tablespaces and Perl

2006-05-01 Thread Sean Davis
at will automate parts of this for you. Sean

Re: anyone with pgpool experience?

2006-04-26 Thread Sean Davis
and you don't > even know that mod_dbd/apr_dbd have been involved. > > In my thinking you only have to teach DBD::* to use mod_dbd/apr_dbd to > fetch the database connection instead of opening one itself. Just to jump in here--what is the best source of DOCs for doing this? I haven't started playing with it yet, so I have not done my homework, but was just curious to hear what others have found to be most useful. Thanks, Sean

Re: mod_perl 2.0 - redirect

2006-04-06 Thread Sean Davis
I think it would help if you could give some more information (like how you are writing the index.html file). Some code? Sean On 4/6/06 7:32 AM, "Graf László" <[EMAIL PROTECTED]> wrote: > Hi all, > > I made a mod_perl 2.0 module that connects to an IMAP server,

Re: Database transaction across multiple web requests

2006-03-31 Thread Sean Davis
et a total. In postgres, a count(*) can be fairly time-consuming, so a quick-and-dirty hack is to parse the output of the "EXPLAIN ..." query to get the estimated number of rows, which is often just fine as an estimate. If the database is vacuumed often or is basically query-only, these numbers will often be very close or the same as the real thing. Sean

Re: Database transaction across multiple web requests

2006-03-31 Thread Sean Davis
as you already know). Have you benchmarked either b or c? Also, you might have a look at this: http://perlmonks.org/?node_id=492067 It probably falls into category b from above, but the AJAX component makes this look like a pretty slick system. I have never tried it, but I found it intriguing. Sean

Re: No image creation in mod_perl (was RE: Apache2/MP2 Segfaults ...)

2006-03-27 Thread Sean Davis
s about this (just before I am going to >> use this heavily ;-). Can you fork off a separate process to do this (that will die once it is completed)? Sean

Re: Modperl2 question

2006-03-13 Thread Sean Davis
m hoping to > not have to compile the CGI module. My RSHRD = 23.1 M already. I'm > guessing that's > pretty big. Any ideas? Move over to a templating system like HTML::Template or (my favorite) Template Toolkit. It is worth your while to do so, in my opinion. Sean

Re: reload or restart httpd

2006-02-06 Thread Sean Davis
PerlInitHandler Apache2::Reload I don't think you have to do anything special with %INC. Sean

Re: reload or restart httpd

2006-02-06 Thread Sean Davis
sion of mod_perl you are using, but try looking here: <http://search.cpan.org/~pgollucci/mod_perl-2.0.2/docs/api/Apache2/Reload.po d> Sean

Apache::AuthDBI problem when using grp_table

2006-01-11 Thread Sean Davis
st::OK() : Apache::Constants::OK(); } Is this a known problem, a bug, or (most likely) my misconfiguration of something? Thanks, Sean >From httpd.conf: DAV svn SVNPath /usr/local/apache2/webDAV/svnrepos AuthType Basic AuthName DBI PerlAuthenHandler Apa

Re: Adding customs httpd.conf data in mod_perl 2.0

2005-12-30 Thread Sean Davis
On 12/30/05 1:39 PM, "Frank Wiles" <[EMAIL PROTECTED]> wrote: > On Fri, 30 Dec 2005 10:32:49 -0800 > Curtis Poe <[EMAIL PROTECTED]> wrote: > >> Hi all, >> >> I've been searching like mad through the docs for how to do something >> that I know must be really simple. Let's say that I've added

Re: mailing list does NOT work

2005-12-23 Thread Sean Davis
est? http://perl.apache.org/maillist/modperl.html#Subscription_Information Sean

Re: Getting started with Apache::AuthCookie

2005-11-02 Thread Sean Davis
apters/ch6.html I think it might help. Note that a few things are mod_perl 1 specific, so you may have to make some changes in code, but if you look at the authcookie code, you can probably see some similarities Sean

Greetings - Looking for direction

2005-10-12 Thread Sean Kelly
handler = [php-script]<br/> --- end ---       As you can see, the module successfully grabs the contents of the originally requested file and successfully appends the results of the footer file that was called out in httpd.conf. The only thing left is to get the PHP interpreter to handle t

Re: [OT] PDFs and apache 2.0.54

2005-10-12 Thread Sean Davis
On 10/12/05 5:48 PM, "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On Wed, 2005-10-12 at 17:05 -0400, Sean Davis wrote: >> Any ideas, or direct me to the appropriate forum (I >> tried comp.infosystems.www.servers.unix to no avail) if possible. > > I think

[OT] PDFs and apache 2.0.54

2005-10-12 Thread Sean Davis
d are corrupted and only partially downloaded. Googling produces some hits, but the problem still seems elusive. Any ideas, or direct me to the appropriate forum (I tried comp.infosystems.www.servers.unix to no avail) if possible. These worked fine under Apache1.3. Thanks for any insight. Sean

Re: Libapreq-2.0.6 build issue

2005-09-12 Thread Sean Davis
On 9/12/05 9:47 AM, "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Sean Davis wrote: >> % ./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs >> --enable-perl-glue >> % make test > > % ./configure --with-apache2-apxs=/usr/local/apache2/bin

Libapreq-2.0.6 build issue

2005-09-12 Thread Sean Davis
I am trying to build libapreq2 on macos 10.3.9, apache2.0.54, mod_perl 2.0.1 (perl 5.8.1). I am doing the following and getting these results. libexpat is in /usr/local/apache2/lib. Any suggestions? Thanks, Sean % ./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs --enable-perl-glue

Re: DBD:ORACLE test failing

2005-09-07 Thread Sean Davis
mpilation failed in require at (eval 1) line 3. > Perhaps a required shared library or dll isn't installed where expected > at t/01base.t line 19 > The remaining tests will probably also fail with the same error. This isn't really a mod_perl question. You might want to try the dbi-users list. However, it appears that you either don't have the shared libraries for oracle installed or that they aren't installed in a place that can be found for linking. Sean

Re: maintaining shared memory size (was: Re: swamped withconnection?)

2005-08-24 Thread Sean Davis
ache works best in various situations? Are RDBMS's, if accessible, generally a good solution? Is there a document/link giving a comparison? Thanks, Sean

Re: Apache::DBI and mod_perl

2005-06-24 Thread Sean Davis
On Jun 24, 2005, at 5:43 AM, Jan Eden wrote: Perrin Harkins wrote on 24.06.2005: On Fri, 2005-06-24 at 10:02 +0200, Jan Eden wrote: What is the overload message supposed to tell me? That you called disconnect but Apache::DBI prevented the handle from being disconnected. The "overload" mes

Re: Apache::DBI and mod_perl

2005-06-23 Thread Sean Davis
the module documentation for installation and use. Sean

Re: P3P XML inclusion

2005-06-10 Thread Sean Davis
On Jun 10, 2005, at 9:50 AM, Frank Wiles wrote: On Fri, 10 Jun 2005 08:20:10 -0400 Sean Davis <[EMAIL PROTECTED]> wrote: On Jun 10, 2005, at 8:07 AM, Sean Davis wrote: I have a P3P XML file that I want to include in the META section of all HTML generated from certain loc

P3P XML inclusion

2005-06-10 Thread Sean Davis
-the-fact: Generate HTML as normal and then modify it just before being sent to the user browser? Thanks, Sean

Re: P3P XML inclusion

2005-06-10 Thread Sean Davis
On Jun 10, 2005, at 8:07 AM, Sean Davis wrote: I have a P3P XML file that I want to include in the META section of all HTML generated from certain locations. Unfortunately, this is a recently changed policy and I obviously do not want to go back to change all relevant HTML and dynamically

Re: Question about Files directive

2005-03-02 Thread Sean Davis
an one cgi script to be cached, how do I specify via Files directive. I don't think just a files directive will do it. You probably need to read--it is worth the read: http://perl.apache.org/docs/1.0/guide/porting.html Sean

Re: setting user and logging

2005-02-18 Thread Sean Davis
On Feb 18, 2005, at 9:16 AM, Geoffrey Young wrote: Sean Davis wrote: I am using mod_perl 1.29 and apache 1.33 on macos. I have a content handler that does its own authen and authz. I would like to log the username. When I set the user using $r->user($username) in the content handler, I do

setting user and logging

2005-02-18 Thread Sean Davis
me after content, so why can't I see the username? (I am doing custom logging into a database and get the username if I use basic auth in other scripts). Thanks, Sean

Re: securing web form interaction

2005-02-15 Thread Sean Davis
On Feb 15, 2005, at 1:02 PM, Jonathan Vanasco wrote: Can anyone give me some tips for securing web form interaction? I'm looking specifically for 2 things: preemptive defense of potential SQL injection attacks See CGI::Untaint on CPAN for routine untainting. Sean

Re: Running Multiple Servers

2005-01-27 Thread Sean T Allen
but it looks like a nightmare to set up. begin:vcard fn:Sean T. Allen n:Allen;Sean T. org:Ardis Marketing Group adr;dom:;;;New York;NY email;internet:[EMAIL PROTECTED] title:Tech Guru x-mozilla-html:FALSE url:http://ardismg.com/ version:2.1 end:vcard

Re: Trying mod_perl for the first time - how to enable it?

2005-01-27 Thread Sean Davis
On Jan 26, 2005, at 9:21 AM, Edward Wijaya wrote: Thanks so much for the reply Sean, On Wed, 26 Jan 2005 20:58:02 -0500, Sean Davis <[EMAIL PROTECTED]> wrote: Edward, Did you look at the server log? Sean,here is my error server log: http://pastebot.nd.edu/127?tx=on&submit=Format+it%21

Re: AuthenHandler talking to ErrorDocument

2005-01-26 Thread Sean Davis
error message. Sean On Jan 26, 2005, at 11:20 AM, David Dorward wrote: Geoffrey Young wrote: What is the accepted way to pass a message from the AuthenHandler to the ErrorDocument? my $notes = ($r->prev || $r)->notes; That works a charm. Thanks. -- David Dorward

Re: Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
On Jan 19, 2005, at 1:45 PM, Joe Schaefer wrote: Sean Davis <[EMAIL PROTECTED]> writes: [...] Thanks Joe, Tom, and Geoff for the replies. To answer all of you: I am NOT using mp2 and I think the behavior is documented for mp1, as others have suggested. True, you can't share the post

Re: Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
On Jan 19, 2005, at 11:03 AM, Joe Schaefer wrote: Sean Davis <[EMAIL PROTECTED]> writes: On Jan 19, 2005, at 10:11 AM, Sean Davis wrote: This is a simple not-understanding-the-issues question, I'm sure. I have an authen handler (that used Apache::Request, Apache::Cookie, and Apache::

Re: Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
On Jan 19, 2005, at 10:11 AM, Sean Davis wrote: This is a simple not-understanding-the-issues question, I'm sure. I have an authen handler (that used Apache::Request, Apache::Cookie, and Apache::Session) in front of a uri serving a Registry script that runs using CGI. The script works

Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
do a redirect? Thanks, Sean

Re: DBI memory usage

2005-01-18 Thread Sean Davis
case, could you grab just the unique IDs for the rows of interest for your first query and then iterate over them (similar to what Class::DBI does)? Depending on the row size, this may save a good deal of memory. It will obviously be a performance hit.... Sean

Re: [mp2] working directory of scripts

2005-01-15 Thread Sean Davis
- Original Message - From: "Geoff Mishkin" <[EMAIL PROTECTED]> To: Sent: Saturday, January 15, 2005 12:26 PM Subject: Re: [mp2] working directory of scripts Hi Sean, thanks for the reply. However, my problem is that the working directory is set to the root of my fil

Re: [mp2] working directory of scripts

2005-01-15 Thread Sean Davis
served from /var/web/dir/file.html. The ScriptAlias directive works the same way, with the additional effect that all content located at the target path is treated as CGI scripts. Check here for more details. http://httpd.apache.org/docs-2.0/urlmapping.html Sean - Original Message

Re: CGI::Session or CGI::Application

2005-01-15 Thread Sean Davis
ll under mod_per. The CGI in both of those does not refer to needing to be used only under plain CGI. You probably want to look at the plugin CGI::Application::Plugin::Apache. There is an email list for CGI::Application that is probably a better forum for asking further questions. Sean

Re: Output a page for download

2005-01-12 Thread Sean Davis
good question. If you want to force user to download this file try to set the header 'Content-disposition' to the value 'attachment; filename=tissue_dump.txt' $r->content_type('text/plain') $r->headers_out->set('Content-disposition' => 'attachment; filename=tissue_dump.txt'); worked. Thanks Roman

Output a page for download

2005-01-12 Thread Sean Davis
A basic question, but I would like to output tab-delimited text (from a database lookup) to the user as an application/octet-stream with the name "tissue_dump.txt". I can't figure out the correct way to set the headers under mod_perl. Any help? Thanks, Sean

Re: Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Sean Davis
ication_to_Author). Could the same work for you? You could then combine access, authen, and authz in one package and push the appropriate headers based on your access needs and variables set in httpd.conf. Sean

Re: maintaining state between request cycles....

2005-01-06 Thread Sean Davis
ockPassword => ''} || die 'cannot do tie'; my $cookie = Apache::Cookie->new($self->query, -name => '_session_id', -value => $session{_session_id}, -expires=> '+1h', ) || die "cannot do cookie"

clearing a parameter using Apache::Request

2005-01-06 Thread Sean Davis
ocessing "fails", I want to re-run the script, but only after deleting the "submitted" parameter. In the CGI world, one simply does $cgi->delete('submitted'). It seems that Apache::Request does not have this method. Is there a simple way to either add or delete parameters to the request? Thanks, Sean

mp2 and Class:DBI

2005-01-04 Thread Sean T Allen
, I'd appreciate it. Thanks in advance... begin:vcard fn:Sean T. Allen n:Allen;Sean T. org:USA Herbals, LLC email;internet:[EMAIL PROTECTED] title:Tech Guru tel;work:718-388-5424 x-mozilla-html:FALSE version:2.1 end:vcard

Re: Apache::Cookie question

2004-12-29 Thread Sean Davis
On Dec 28, 2004, at 3:44 PM, Stas Bekman wrote: Sean Davis wrote: On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via

Re: Apache::Cookie question

2004-12-28 Thread Sean Davis
these need a valid request to be passed into new before they work? I was testing on the command line, so just wondering if that is a difference? Sean -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://

Re: Apache::Cookie question

2004-12-28 Thread Sean Davis
On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via package "Apache::Cookie" The code looks like: Checking t

Apache::Cookie question

2004-12-28 Thread Sean Davis
L'; } $self->{_session} = \%session; return \%session; } Looking at the source: http://search.cpan.org/src/STAS/libapreq-1.33/Cookie/Cookie.pm I see very little code. What is the magic? What am I missing? Using mod_perl 1.33 on macos. Thanks, Sean -- Report problems: http://perl.a

Debugging for mod_perl

2004-12-17 Thread Sean Davis
ing a problem in the mod_perl setting. Unfortunately, I am using multiple third-party modules, also, so tracking this down by hand is a difficult proposition at best. What tools/steps would folks suggest that I use to track down the issue? Thanks, Sean -- Report problems: http://perl.apache.org

[mp2] Usage: Apache::Connection::remote_ip(obj) error

2004-11-18 Thread Sean T Allen
sage: Apache::Connection::remote_ip(obj) at /ai/toppik/lib/ProxyRemoteAddr.pm line 15.\n Line 15 being the: $r->connection->remote_ip($ip); I've seen numerous examples of this working. Any ideas on my problem? Thanks in advance... -Sean- begin:vcard fn:Sean T. Allen n:Allen;Sean T. org

read not sysread?

2004-11-17 Thread Sean T Allen
ination... if i had built the preeceeding server i could probably track down why it works there and not here... but i didn't so... any pointers re what is the right direction to look are greatly appreciated. begin:vcard fn:Sean T. Allen n:Allen;Sean T. org:USA Herbals, LLC email;internet:[EMAIL

mod perl hosting

2004-10-06 Thread Sean T Allen
can anyone point me in the direction of good hosting sites for dedicated mod-perl, mysql apache hosting companies ours just isnt cutting it anymore... location of host isnt a thuge issue but us/ca hosts definately prefered. thanks in advance -- Sean T. Allen <[EMAIL PROTECTED]> --

PerlCleanupHandler and redirect

2004-10-01 Thread Sean Scanlon
appens after the client times out. has anyone else experienced this kind of behavior? any info or pointers is greatly appreciated! Thanks, -- ----- Sean P. Scanlon perl -le 'print pack("h*", "375616e6e2373616e6c6f6e6e236f6d6")' --

Post truncation problem

2004-08-18 Thread Sean T Allen
... is there a bug in our particular setup? i did find references to a post error with mod-perl but it was always truncating at the same length.. or is there a mod-perl gotcha that i'm just an aware of? if this isnt the right place for this quesiton... please let me know... thanks in advance for the help... -- Sean T. Allen <[EMAIL PROTECTED]>

  1   2   >