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
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
-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
[stho...@81082-spare ~]$ sudo strace -p 3271
Process 3271 attached - interrupt to quit
futex(0x1b5bbe8, FUTEX_WAIT, 3451, NULL
Thanks,
Sean
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 ../..
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
for mod_perl tutorials has some useful hits. Also,
you might want to read some documentation.
http://perl.apache.org/docs/index.html
Sean
from there. There is
also a beginners-cgi mailing list (not this) and perlmonks.org is a
great site for general perl knowledge.
Sean
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
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
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).
limiting the number of connections (not really
bandwidth, since we host VERY large static files) from a single IP.
Any suggestions?
Thanks,
Sean
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
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
nd, you will always want to stop and then
start the server, not restart.
Sean
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
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
Tracy12 wrote:
> How can we install this seperately from where should we download this?
CGI is available from CPAN.
Sean
prapulla rani wrote:
> hi,
> Where to download Apache source code .
>
> please send me reply it is very need to me.
http://httpd.apache.org/
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
'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
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
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 { ... },
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
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
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
need to
install it. It is available on CPAN.
Sean
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
http://perl.apache.org/docs/index.html
Sean
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
e log, but yet no body (header?!?) appears to have
been returned to the browser.
Thanks!
--
Sean P Quinlan <[EMAIL PROTECTED]>
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
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) },
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,
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]>
go through this tutorial:
http://users.easystreet.com/ovid/cgi_course
Sean
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
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
ynamic website, using a templating
system such as Template Toolkit or HTML::Template is probably the better way
to go.
Sean
eed to make sure SSI is
set up correctly.
Sean
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
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
. 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
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
at will automate parts of
this for you.
Sean
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
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,
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
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
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
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
PerlInitHandler Apache2::Reload
I don't think you have to do anything special with %INC.
Sean
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
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
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
est?
http://perl.apache.org/maillist/modperl.html#Subscription_Information
Sean
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
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
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
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
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
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
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
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
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
the module documentation for installation and
use.
Sean
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
-the-fact: Generate HTML as normal and then modify
it just before being sent to the user browser?
Thanks,
Sean
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
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
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
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
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
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
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
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
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
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::
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
do a redirect?
Thanks,
Sean
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
- 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
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
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
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
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
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
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"
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
, 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
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
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://
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
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
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
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
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
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]>
--
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")'
--
...
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]>
100 matches
Mail list logo