--
mod_perl digest
January 28, 2001 - February 3, 2001
--
Recent happenings in the mod_perl world...
Features
[EMAIL PROTECTED] wrote:
Does any body have an idea how to access MSsql server using DBI or
other method.
I've to build an application and I don't want to go to IIS so is
there any way to work with Apache+Modperl in gnu-Linux and querying
a NT box running MSsql.
Hi Jose:
I don't use Apache-ASP, but we have Apache-Sandwich, SSL and FrontPage
support in both a Linux and Alpha boxes, and have never seen a conflict.
The only tough part was building it, as SSL and Frontpage try to patch the
same source files. Hope this helps.
Regards,
Rafael Caceres
At
On Mon, 5 Feb 2001, Rafael Caceres wrote:
Hi Jose:
I don't use Apache-ASP, but we have Apache-Sandwich, SSL and FrontPage
support in both a Linux and Alpha boxes, and have never seen a conflict.
The only tough part was building it, as SSL and Frontpage try to patch the
same source files.
I would like to close this thread with LOTS of THANK YOUS to Gunther who
gave me tons of very valuable information on the subject. I am still in
the process of digging my way through design patterns, but still at the
'huh?' stage but am optimistic that very soon will have the 'Aha!' as
the intro
Hello,
I ma trying to use this module to store persident data on file
on win32 environment.
I use the code:
use Apache;
use Apache::Session::File;
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser);
print header();
print start_html;
my %global_data;
eval {
tie %global_data,
Hi,
do you have a startup.pl with something like
$ENV{MOD_PERL} or die "not running under mod_perl!";
use lib qw( /your-path-to-your-libs );
which is registred in your httpd.conf with something like
PerlRequire /etc/httpd/startup.pl
PerlInitHandler Apache::StatINC
Hello.
I'm about to give the kick-off of a new project and we want to start with
current and to-date version of software.
Will it be ok for production use to go with all-fresh version of the
mod_perl environnement : apache 1.3.17, mod_perl 1.25, perl 5.6 ? I'm going
with the latest version
On Mon, 5 Feb 2001, Benoit Caron wrote:
Hello.
I'm about to give the kick-off of a new project and we want to start with
current and to-date version of software.
Will it be ok for production use to go with all-fresh version of the
mod_perl environnement : apache 1.3.17, mod_perl 1.25,
Hi,
Could somebody give me a pointer in the right direction for
manipulating the contents of index pages.
I need a way to insert an href under the description column for each
file in a directory, which is a link to an RDF search facility I'm
creating, e.g.
FileDescription
At 11:04 05/02/2001 -0500, Benoit Caron wrote:
I'm on the impression from my reading of the list that there was some
problems with perl 5.6 : am I wrong? If not, what kind of problem should I
expect?
I've been quite happy with 5.6 in production for quite some time. I used
the source provided
At 16:10 05/02/2001 +, Matt Sergeant wrote:
There are some nasty bugs in 5.6 which tend to surface when you stretch
perl a bit. One that AxKit brings rise to is the "Bizarre copy of ARRAY in
aassign" (sic) bug. There are patches available to fix this though.
Yup, that was a nasty one, and it
Sorry I forgot to include these files with the earlier message.
Does anyone have any clues with this problem.
I have searched the archives for internal server errors and
PerlFixupHandlers
and found no similar problems. Perhaps this is a mod_dir issue.
Judy
judy selen wrote:
We are using
Hey all,
Maybe its too early or whatever. How would you go about setting
$ENV{SERVER_ROOT} without using Perl. I was trying
PerlSetEnv SERVER_ROOT Apache::server_root_relative()
in perl.conf, but no go. Any ideas?
Joe Crotty
wm looks like a home directory. The default perms on the home
directory are usually 700. Try changing that to something like 755
or even 744 (it may not need execute).
Robert Landrum
Hi folks,
Maybe I'm just rusty after 8 months off, but my StatINC can't find
files that exist on the
I compiled perl 5.6 and Apache 1.3.17 using gcc egcs-2.91.66
on a RH Linux 6.1 system.
If I compile Apache without modperl it run OK. If i compile it with
mod_perl 1.25 I also get the segmentation fault on startup.
I looked in ../mod_perl/SUPPORT and didn't see anything obvious
about this
If you want to use a perl function ( Apache::server_root_relative() ) then
you have to use a Perl block.
This might work :
PerlSetEnv SERVER_ROOT \
Perl
Apache::server_root_relative()
/Perl
But this seems so much easier :
Perl
$ENV{'SERVER_ROOT'} = Apache::server_root_relative()
/Perl
Maybe
Hi there,
On Mon, 5 Feb 2001, Matisse Enzer wrote:
I compiled perl 5.6 and Apache 1.3.17 using gcc egcs-2.91.66
on a RH Linux 6.1 system.
If I compile Apache without modperl it run OK. If i compile it with
mod_perl 1.25 I also get the segmentation fault on startup.
I looked in
Robert Landrum wrote:
I have some very large httpd processes (35 MB) running our
application software. Every so often, one of the processes will grow
infinitly large, consuming all available system resources. After 300
seconds the process dies (as specified in the config file), and the
Drew Taylor wrote:
I have a slightly different twist on this question. We run Registry scripts on
our site for debugging purposes. I would love to have a module for saving
variables/data structures on a per-request basis (like the current Apache
notes), but internally using pnotes under
[EMAIL PROTECTED] wrote:
I'm interested in doing rate-limiting with Apache. Basically, I want
to give Apache a target bitrate to aim at. When writing to one user,
it writes as close to bitrate as the user/network can suck it down.
When writing to two users (two connections), it writes to
On Mon, Feb 05, 2001 at 06:41:00PM +, G.W. Haywood wrote:
Hi there,
On Mon, 5 Feb 2001, Matisse Enzer wrote:
I compiled perl 5.6 and Apache 1.3.17 using gcc egcs-2.91.66
on a RH Linux 6.1 system.
If I compile Apache without modperl it run OK. If i compile it with
mod_perl
Gunther Birznieks wrote:
GoF did not introduce Model-View-Controller architecture. But it is
discussed in Wiley's "A System of Patterns: Pattern-Oriented Software
Architecture".
MVC is frequently used in mod_perl apps. For example, see
Apache::PageKit.
- Perrin
On Mon, 5 Feb 2001, Perrin Harkins wrote:
First, BSD::Resource can save you from these. It will do hard limits on
memory and CPU consumption. Second, you may be bale to register a
handler for a signal that will generate a stack trace. Look at
Devel::StackTrace (I think) for how to do it.
Dave Rolsky wrote:
On Mon, 5 Feb 2001, Perrin Harkins wrote:
First, BSD::Resource can save you from these. It will do hard limits on
memory and CPU consumption. Second, you may be bale to register a
handler for a signal that will generate a stack trace. Look at
Devel::StackTrace
Joshua Chamas wrote:
Hey,
Per Perrin Harkin's advice, and my client's consent, I hacked
up Apache::SizeLimit to support MAX_PROCESS_UNSHARED_SIZE config,
where instead of limiting by the apparent process size, one limits
by the amount of unshared memory being used.
I actually did submit
On Mon, 5 Feb 2001, Perrin Harkins wrote:
Nope, that's not it. I wrote that one and it doesn't talk about that at
all.
I meant "for how to generate a stacktrace". Using it with a singal
handler was demonstrated on this list about two weeks ago, but I can't
recall who did it. It was
Hello,
RBI've been quite happy with 5.6 in production for quite some time. I used
RBthe source provided by activestate because it includes a number of
RBpatches but now that 5.6.1rev2 is out it might be better.
What is the "official" home of 5.6.1rev2? I can't seem to locate it on
CPAN
Arguments about open source aside, I have been asked to convert our
commercial mod_perl modules into bytecode. I have tried to do this but have
encountered various problems as described below. I have also browsed the
previous discussion threads on this topic with interest, but they are quite
Hi People! I have some questions about the usage of mod_perl
in an almost embedded environment. We want to put Apache with
mod_perl in a FreeBSD 4.2 powered server appliance that has
almost no remote admin capabilities. Things need to keep
running for months.
Our concern is the stability of
Currently the company I work for is using ASP code running on Windows
servers.
We'd like to run a web server that isn't microsoft based for obvious
reasons.
We don't have so much ASP code, so it would be possible to scrap it and
start over.
What would you guys suggest as the best option:
1.
On Mon Feb 5 14:47:22 2001 + Matt Sergeant wrote:
On Mon, 5 Feb 2001, Rafael Caceres wrote:
Hi Jose:
I don't use Apache-ASP, but we have Apache-Sandwich, SSL and FrontPage
support in both a Linux and Alpha boxes, and have never seen a conflict.
The only tough part was building
Hi all...
Well, I think the time has come for me to leave my
current position.
Most of my formal work stuff for the past year is
covered my NDAs, but a brief resume can be seen at
http://resumes.dice.com/gost_guru
And, of course, there is always my CPAN stuff and
list postings to
Please reply to the mailing list as well, because I'm also interested
in the answers this post is likely to get.
Matthew Schroeder wrote:
Currently the company I work for is using ASP code running on Windows
servers.
We'd like to run a web server that isn't microsoft based for obvious
Sometime in the next month I need to embark on a log analyzer for the logs
we've been accumulating for many moons via Apache::DBILogger. Has anyone
made any effort to do such a thing already? I've dug around the web for a
while and come up with zilch.
--
/chris
Those who cannot remember the
Interesting, I tried the following in perl.conf:
PerlRequire conf/startup.pl
PerlFreshRestartOn
PerlSetEnv MOD_PERL_TRACE all
#Directory Handlers
#--
Directory /perl
AllowOverride None
Options +ExecCGI
SetHandler
Hi there,
On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote:
Sometime in the next month I need to embark on a log analyzer for the logs
we've been accumulating for many moons via Apache::DBILogger. Has anyone
made any effort to do such a thing already? I've dug around the web for a
while and
On Mon, 5 Feb 2001, G.W. Haywood wrote:
On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote:
Sometime in the next month I need to embark on a log analyzer for the logs
we've been accumulating for many moons via Apache::DBILogger. Has anyone
made any effort to do such a thing already? I've dug
On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote:
Sometime in the next month I need to embark on a log analyzer for the logs
we've been accumulating for many moons via Apache::DBILogger. Has anyone
made any effort to do such a thing already? I've dug around the web for a
while and come up with
You need to change the locking mechanism on Win32 to not use IPC. I believe
there are examples for using Flock based locking but am not sure.
If you are using win32 mod_perl, locking is irrelevant anyway because all
requests are serialized through one engine.
At 03:43 PM 2/5/01 +,
40 matches
Mail list logo