help in maintainability.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
a normal
field.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
read access. After that you
can have the web server, say, symlink a file with
some temp name and redirect the user to the ftp
server.
Net result is that the proxy handles an ftp request
for a name that is temporary to the download and hard
to guess.
--
Steven Lembark
successfully telling you that
it failed; cpio croaks and exits non-zero immediatly if it
detects an error on writing or extract.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762
, C++, tkl, Python...) source in your Perl code.
enjoi.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
, is Perl. The spamassassin module
to be precise, see http://www.spamassassin.org for
details.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
# ! /usr/bin/perl -w
`su - root password -c 'mount -t smbfs -o credentials=some.file
//windows/share /mount/point'`;
Check out the automounter.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
. It's a bood bet that Damian hasn't tested any of
his code with mod_perl.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
options are used for mod_perl.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
./Configure -des -Dprefix=/home/stas/perl/ithread \
-Dusethreads -Duseshrplib
Also worth using large file support if you habitually
munge 2GB files.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
PerlSendHeader On
/Location
EOF
/Perl
Is this a good way to solve this problem, is there an easier way, and
does this even work? :-)
Thanks,
Fran
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
-numbered port w/o stepping on one another.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
these at startup time or on a user
signal (e.g., $SIG{USR1} = \reload_stuff_from_db).
Timestamping the database entry for the site might also
help, since you wouldn't have to re-load the entire thing
every time the site was hit.
--
Steven Lembark 2930 W. Palmer
Workhorse
Why does CPAN.org say Comprehensive Java Archive Network
Don't forget to check the RFC sites today either.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
http://www.stonehenge.com/
http://www.stonehenge.com/perltraining/
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
Assuming the content isn't updated too often, burning
the site from a test area and mounting it as a CDROM
makes it pretty hard for outsiders to udpate.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
and track the schmuck to cracked
you.
Point is that even if you cannot trust anything at all
on your hard drives at this point you can still analyze
what's there and recover at least some of it.
enjoi.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing
with *NIX. This does seem like
a good way to show people that gaining add'l control with
mod_perl doesn't have to be painful.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800
W/ current apache and mod_perl, perl-5.6.1, Solaris-2.8.
Been having problems with DBI dropping connections. One
suggestion was to override the default of no and use
the malloc that comes with perl-5.6.1.
Anyone know of problems or any obvious symptoms?
thanx.
--
Steven Lembark
. That also
saved us quite a bit of work.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
the re-write phase to balance the load
w/in Apache if you want to. Alternatives include round-
robin DNS and separate load balancing software.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
or obviated by faster
hardware [how's that for a sentence?].
Net result is that the objection is probably based on once-
valid but now out of date analysis.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
it to another system based on the estimated
load any other balancing criteria. You might be
able to find it via google also.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
the
chain which can be unintuitive.
Other approach is to use a separate login site and
redirect people there if they don't meet the auth.
criteria to begin with. This way you don't have to send
AUTH_REQUIRED, just a redirect (or internal redirect).
--
Steven Lembark 2930
= 'deflate, gzip, x-gzip, identity, *;q=0',
MOD_PERL = 'mod_perl/1.26',
SCRIPT_FILENAME =
'/home/lembark/sandbox/cdr//code/app/website/htdocs/cdrloginform',
APACHE_PORT = '8081',
SERVER_PROTOCOL = 'HTTP/1.1',
HTTP_CONNECTION = 'Keep-Alive, TE
:22 2001] [error] auth_type Cdr::AuthCookie
[Thu Dec 6 15:16:22 2001] [error] auth_name CDR
[Thu Dec 6 15:16:22 2001] [error] ses_key_cookie
[Thu Dec 6 15:16:22 2001] [error] uri /foo
[Thu Dec 6 15:16:22 2001] [error] no cookie
[Thu Dec 6 15:16:22 2001] [debug]
/home/lembark/sandbox/cdr//code
-no_cache( 1 );
$request-send_http_header( 'text/html' );
$request-print( $form );
OK
}
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
or Llama books).
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
-- Vlad Safronov [EMAIL PROTECTED]
Hi,
How can I export C++ class and its interface to Perl?
Is it just like exporting simple C function to Perl (in perlxs doc.
example)?
Is there good (not big) CPAN examples for this problem?
perl -MCPAN -e shell;
get Inline
--
Steven Lembark
of checking then most other languages even allow.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
for the moment:
PerlSetVar Blah A long line withbrHTMLbrBreaks In It;
that or set the thing and use:
s/br/\n/gs;
somewhere in the code.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
'} =
{
SetHandler = 'perl-script',
PerlHandler = 'Cdr::Menu',
};
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
-- [EMAIL PROTECTED] on 10/23/01 10:23:18 -0500
Is anyone else using independent perl processes in a web app, or have strong
reasons not to?
I use them for quite a few things. fork/exec works nicely in perl
(on unix at least), allows me to write daemons for most things.
Why do you ask?
the network
(i.e., with fewer routers between them and the cloud) it might
help. Randal wrote an article last year about using rewrite
rules as a poor-man's load balancer. That might help.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago
in dso. So is it possible from
the Apache binary to check mod_perl ?
If the server is compiled w/ mod_info check that for mod_perl.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
-- Brice D Ruth [EMAIL PROTECTED] on 09/18/01 10:57:26 -0500
Am I assuming correctly, that Perl could communicate with a MS Access
database file via ODBC, on a Windows box? If so, are there any
particular gotchas or limitations to this approach that I should be aware
of? I typically use
-- Jeremy Howard [EMAIL PROTECTED] on 09/19/01 06:37:15 +1000
This one's gonna grind the net to a halt pretty quick. I hate to think
what
this will mean for people running web servers at home over DSL (including
me
soon).
Any suggestions on how we should respond? Update
?
I've never had problems with:
sub handler
{
my $request = shift;
foo $request or croak foo doesn't like you!;
...
}
sub foo
{
my $request = shift;
...
}
--
Steven Lembark 2930 W. Palmer
Workhorse Computing
- brian moseley [EMAIL PROTECTED] on 07/14/01 10:43:42 -0700:
On Sat, 14 Jul 2001, Ken Williams wrote:
I just noticed that there's no mod_perl BOF listed at
http://conferences.oreillynet.com/cs/os2001/pub/10/bofs.html .
Is one scheduled? If not, let's get one together.
speaking of
memory used by the various .pm files that will be loaded numerous
times. I can see that grouping functions based on functionality would
reduce the number of .pm files in memory. However, if I go that route,
use only loads the .pm once. Multiple uses don't eat up any more resource
than
Note that if they do get called this will end up using more memory than if
you had just loaded them during startup, since they won't be shared between
child processes.
Original assumption is that they are called infrequently. You'll also find
that the amount of memory sucked up by a
I am running Apache/1.3.14 (Unix) mod_perl/1.25 on a redhat 7 system.
Since the perl binary that came with the redhat distribution was version
5.6.0, I assumed that is the version that got built into mod perl
(statically linked). But I just discovered using perl's $] variable,
that it's
apache_1.3.20 mod_perl-1.25
AIX kbs80 3 4 000C30CD4C00 unknown
Problem: regardless of what arg's I've tried or all-in-one, one-step I
keep getting
xlC as the compier and CFLAGS which include -qlonglong -q32 -maxmem'. xlC
then fails to compile apache.
Running ./configure --blah in the
while( $lastmod == -M $logfile );
my $newstuff = $logfile;
# regex $newsuff to your heart's delight.
# that or read it as @newstuff and process it
# line by line
}
--
Steven Lembark
2930 W. Palmer
snip
file called makpl_args.mod_perl in the mod_perl directory. The best
arrangement for the directories seems to be something like:
snip
Even easier, put .makepl_args.mod_perl into your home directory and
you won't have to re-create it every time you go to re-build Apache.
for later use. If you
are running large enough queries over time the memory use will
track the high-water mark of the rows returned (which obviuosly
pertaint to fetchall-type returns). If the queries get large
enough you can suck up lotsaMB.
--
Steven Lembark 2930
;,
184 PerlHandler = 'Tdrdw::Welcome',
185 },
is there any better doc for this than the eagle book?
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[EMAIL PROTECTED
if there is anything
other than simply truncating the uri to its path (leaving off
the arguments) that's done by MS. if anyone knows how their
process works, or is willing to help check it, please warn me.
it'll be a big help in this thing done sooner.
thanx.
--
Steven Lembark
le; MSIE 5.5; Windows 98)
HTTP/1.1 (null)
[Thu Mar 29 15:54:58 2001] [error] [client 10.35.2.5] Digest: uri
mismatch - /tdrdw/Data does not match request-uri
/tdrdw/Data?menuform=1report=lo
--
Steven Lembark 2930 W. Palmer St.
anyone know where doc's for handling digest authentiction w/
m_p 1.25 live? having little luck finding any working examples
and i'm running out of time...
thanx.
--
Steven Lembark 2930 W. Palmer St.
Chicago
GNAME}";
to check out a new version just bounce your copy of the
server and keep going. normal cycle looks something like
cvs -q update -d;
bounce;
try it, edit thing, keep going. if you reach a point where
something works use cvs commit.
--
Stev
purposes, leaving
me stuck with $cutoff = blah if( time $cutoff ) every time
i pass through the routine (blech).
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[EMAIL PROTECTED
ourselves.
seems like performing the replacement in-place (e.g., via
$LOGNAME) would be a cleaner way.
thanx
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[EMAIL
the Makefile.PL doesn't even work... can't find any references
to specific problems, figured i'd check before getting into the
gory details...
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[EMAIL
n Makefile.PL is run, it'll read in those options and pass then to
Apache's configure script.
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[EMAIL PROTECTED] 800-762-1582
55 matches
Mail list logo