I just set up mod_perl_.1.21 with apache_1.3.11 andperl 5.005_03. When
trying to start the httpd server, my httpd.conf is calling a
perlstartup.pl script where I get the following error. I looked in the
file itself and says when finding that error it means an install error
with DBI. I
Hi
I had Apache 1.3.6.
I executed the following steps for installing Apache 1.3.9.
% cd /usr/src
% lwp-download http://www.apache.org/dist/apache_1.3.9.tar.gz
% lwp-download http://perl.apache.org/dist/mod_perl-1.21.tar.gz
% tar zvxf apache_1.3.9.tar.gz
% tar zvxf
Has anyone delivered a commericial mod_perl application before? If so, how
do you handle demo versions, preferably with expiration dates? One thought
is to simply xor encrypt some of the modules when the user downloads it,
mail him a key, and use the Filter module to decrypt at runtime using his
Apache/1.3.9 (Unix) mod_perl/1.21 perl 5.005_03
[notice] child pid 16903 exit signal Alarm Clock (14)
I'm confused by this one. I was thinking that this was the case of:
http://perl.apache.org/guide/debug.html#Handling_the_server_timeout_case
Which I though was fixed for $SIG{ALRM}
From: [EMAIL PROTECTED] (Randal L. Schwartz)
The docs hint that I can use whatever I would put after ErrorDocument
as the arg to custom_response, but also suggest that I can put "a
module" there. Does that mean it's the same style of argument as a
-pushhandler(), where I can also put a
Anyone got any good ideas on picking up a site-unique MAC secret. What I
need is something that won't change over server software upgrades, but
isn't hard coded. At the moment I've picked:
use Config;
my $secret = Config-myconfig;
(output of perl -V)
But it's sensitive to perl upgrades. I'm
"Bill" == Bill Jones [EMAIL PROTECTED] writes:
From: [EMAIL PROTECTED] (Randal L. Schwartz)
The docs hint that I can use whatever I would put after ErrorDocument
as the arg to custom_response, but also suggest that I can put "a
module" there. Does that mean it's the same style of argument
On Wed, 9 Feb 2000, Matt Sergeant wrote:
Anyone got any good ideas on picking up a site-unique MAC secret. What I
need is something that won't change over server software upgrades, but
isn't hard coded. At the moment I've picked:
use Config;
my $secret = Config-myconfig;
(output of
On Wed, 09 Feb 2000, Doug Kyle wrote:
Matt Sergeant wrote:
Anyone got any good ideas on picking up a site-unique MAC secret. What I
need is something that won't change over server software upgrades, but
isn't hard coded. At the moment I've picked:
use Config;
my $secret =
On Wed, 09 Feb 2000, Randal L. Schwartz wrote:
"Bill" == Bill Jones [EMAIL PROTECTED] writes:
From: [EMAIL PROTECTED] (Randal L. Schwartz)
The docs hint that I can use whatever I would put after ErrorDocument
as the arg to custom_response, but also suggest that I can put "a
module"
At 04:34 PM 02/09/00 +0200, Stas Bekman wrote:
eval {
local $SIG{__DIE__};
local $SIG{ALRM} = CORE::sub { die "Timeout" };
Anonymous sub within package CORE? I've never seen such a code...
Oh, that's some old code that I just still use. I assumed it's harmless.
The problem was with
On Wed, 09 Feb 2000, Doug Kyle wrote:
What about generating some value from the MAC address of the server's
NIC(s)?
ifconifg interface name ether, or arp hostname will return MAC
addresses.
Doh! Just realised that producing a secret from something that's totally
*not* a secret is really
On Wed, 9 Feb 2000, Matt Sergeant wrote:
And for those following along, after further study in the source, it
looks like custom_response can be only one of three things: a string,
an internal URL (internal redirect) or an external URL (external
redirect on error). Same thing as a
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes:
So, I'm punting. When I get an error, I have to redirect to a URL,
which then has to start all over figuring out why they were sent
there. Which is not totally bad, because I have to ask the user some
questions in a form, and I need to
hostid is read-only, near as I can tell.
NAME
hostid - print the numeric identifier of the current host
SYNOPSIS
/usr/bin/hostid
DESCRIPTION
The hostid command prints the identifier of the current host
in hexadecimal. This numeric value is likely to differ when
hostid
Matt Sergeant wrote:
On Wed, 09 Feb 2000, Doug Kyle wrote:
What about generating some value from the MAC address of the server's
NIC(s)?
ifconifg interface name ether, or arp hostname will return MAC
addresses.
Doh! Just realised that producing a secret from something that's
Matt Sergeant [EMAIL PROTECTED] wrote:
On Wed, 09 Feb 2000, Doug Kyle wrote:
[snip]
What about generating some value from the MAC address of the server's
NIC(s)?
ifconifg interface name ether, or arp hostname will return MAC
addresses.
Could potentially change if someone swaps out their
Bill Jones writes:
hostid is read-only, near as I can tell.
I seem to remember seeing some code that lets you change the hostid
(at least on a Sun), possibly via the PROM monitor.
Michael
--
Michael Peppler -||- Data Migrations Inc.
[EMAIL PROTECTED]-||-
Hi - I'm probably posting this to the incorrect list (If there is a
dedicated apache list would someone please point me in it's direction.)
Here's my problem -
I'm trying to grab the 'id' part of a url - e.g - www.somewhere.com/id
and place the val. into an environment variable - which
[This went off topic, so this is my last contribution;
at least until some mod_perl stuff get's added back... :]
Matt Sargent wrote -
Doh! Just realised that producing a secret from something that's totally
*not* a secret is really dumb :)
Next option? :)
InSecurity.Org -
# ifconfig -a
It is interesting to note that according to 'sysdef' -
the HostID is not quite the same as the ether MAC.
ifconfig -a says:
ether 8:0:20:a7:fc:f5
sysdef says
HostID
80a7fcf5
Also, on a Sun Ultrasparc, hostid is system dependant and R/O;
on an x86, the changes are emulated via an eeprom -i
Thanks for your response. I have tried "activate-module" and it doesn't
work either. I did a ./config.status and then I did a make at apache_1.3.9
directory, I got the following errors after the make command:
In file included from mod_perl.c:60:
../../include/mod_perl.h:40: EXTERN.h: No such
On Tue, Feb 08, 2000 at 01:27:39PM -0600, J. Meltzer wrote:
How do I make sure that I use xlc to compile apache and mod_perl? Is there
a command-line option for it?
You need to have xlc installed, it is an extra cost option since AIX 4.
If you have both gcc and xlc in your path, I think
On Wed, 09 Feb 2000, James G Smith wrote:
Somewhat off topic... Using some hardware related information such as NIC
info will either break high availability solutions or require such hacks as
kernel modifications to allow software setting of the MAC address. Take a
look at FlexLM (used
On Wed, 9 Feb 2000, Matt Sergeant wrote:
Can you do an internal redirect and stuff things in
pnotes/notes?
haven't tried it but dont see why not. you'd just have to
use $r-prev-pnotes inside the second request.
we actually use err_headers_out in our webmail, but that
code was written before
Dear Mr. Baker:
I am trying to use Apache::Session module with a Sybase 11
server, but can't get it to work. I think the problem is with the a_session
field type. I tried with text, varchar, varbinary, and binary types but without
much luck. Can someone give me some help on this, or point
hi David!
i remember that i couldn't get Sybase to work with Apache::Session b/c the
prepare statements use placeholders. you cannot use placeholders with a text
field in sybase. from the DBD::Sybase docs:
Note that IMAGE or TEXT datatypes can not be passed as
parameters when
0 Aaron Ross wrote about "Re: Apach::Session with Sybase?":
hi David!
i remember that i couldn't get Sybase to work with Apache::Session b/c the
prepare statements use placeholders. you cannot use placeholders with a text
field in sybase. from the DBD::Sybase docs:
Note that
On Wed, 09 Feb 2000, Aaron Ross wrote:
hi David!
i remember that i couldn't get Sybase to work with Apache::Session b/c the
prepare statements use placeholders. you cannot use placeholders with a text
field in sybase. from the DBD::Sybase docs:
Note that IMAGE or TEXT datatypes
Remove [EMAIL PROTECTED] from the [EMAIL PROTECTED] mailing
list
For the source code to Apache::Session::DBI::Sybase, see
http://www.xray.mpe.mpg.de/mailing-lists/dbi/1999-12/msg00289.html
Chip Turner wrote:
The problem is that no matter how you encrypt the system, it has to
know how to decrypt itself. That is, if you xor, or even used DES or
IDEA or whatnot, the key (password, etc) has to be included with the
modules, and therefore a suitably sophisticated programmer could
Dmitry Beransky wrote:
Hi,
Is there any way to get to PerSetVar values from ASP? I have a few
configuration items that I need to access from both ASP pages and
handlers. I'd hate to replicate the same data in two different places:
httpd.conf and global.asa.
Try
How about only shipping part of the software, with the remaining part of the
software running on your own (not the client) machine? For instance, certain
subroutines could be split off, and the input output could be passed back and
forth between the client and the vendor. Then you can easily
Hello fellow mod_perlians,
I know I had promised to send this in by the end of December / early
January, I am really late and sorry. I was caught in France by the french
army for being an alleged deserteur, and they were *very* insistent on
having me stay there. Anyway I'm out now :)
Some time
Hello All,
I have been having numerous problems with Apache::DBI, I have tried using
PerlRequire startup.pl
with startup.pl containing
use Apache::DBI;
and also tried
PerlModule Apache::DBI;
in httpd.conf
with only this module loaded but to no success. I can load Apache::Registry fine.
Hi
i installed Apache_1.3.11 with openssl-9.04
mod_per and mod_ssl. I checked the command httpd -l found the model mod_perl and
mod_ssl is existing. now i want to link/ add Suthensmb modules for the winNT
users authentication. but i ma not able to understand how to go with it. can you
give
Matt Sergeant wrote:
Anyone got any good ideas on picking up a site-unique MAC secret. What I
need is something that won't change over server software upgrades, but
isn't hard coded. At the moment I've picked:
use Config;
my $secret = Config-myconfig;
(output of perl -V)
But it's
Matt Sergeant wrote:
On Wed, 09 Feb 2000, Doug Kyle wrote:
What about generating some value from the MAC address of the server's
NIC(s)?
ifconifg interface name ether, or arp hostname will return MAC
addresses.
Doh! Just realised that producing a secret from something that's
Title: RE: Don't run the modules mod_perl
I bet /usr/local/apache/bin is not on your search path, therefore when you do a httpd -v, it fires up the old copy of httpd on, say, /usr/sbin.
Add this in /usr/local/apache/conf/httpd.conf:
IfModule mod_perl.c
Include conf/perl.conf
/IfModule
There's another way. We can't build pre-compiled modules easily,
but even when you code in C or Java, desassemblers can extract
some source from the binaries you deliver. As far as perl scripts are
concerned, a workaround consists in trivially removing all comments
and \n from the source, which
Fabrice Scemama [EMAIL PROTECTED] writes:
There's another way. We can't build pre-compiled modules easily,
but even when you code in C or Java, desassemblers can extract
some source from the binaries you deliver. As far as perl scripts are
concerned, a workaround consists in trivially
I have data I need access to via WEB or filesystem. or more correctly with
email. Since the data lives in Web server territory, my Apache/mod_perl
configuration files know where everything is -
What I think I would like to do, is when the mail process starts up, I'd
like to reach inside of
[EMAIL PROTECTED] (Robin Berjon) wrote:
Some time ago Matt Arnold and I started work with the aim of redesigning
the perl.apache.org website. A draft of the proposed layout is sitting at
http://modperl.knowscape.org/ .
I'm glad to see this text:
It's a common misunderstanding that mod_perl
Here's the problem. I have a number of cgi scripts I want to run
under PerlRun (some under Registry, but not all of them are cleaned up
yet), and also run a new Mason interface we've put together. But with
the config below, only HTML::Mason processes them. My understanding
of SetHandler in
Could someone please tell me where ApacheModulePerl.dll is?
Hate to sound so clueless, but I am...
Did a search at apache.org with "ApacheModulePerl.dll"
and it wasn't there...
thanks
kevin carothers
At 20:06 09/02/2000 -0600, Ken Williams wrote:
I'm glad to see this text:
It's a common misunderstanding that mod_perl is just a CGI replacement
for Perl scripts, this is only a small part implemented by the
Apache::Registry module.
Well, thanks Ken but I'm afraid you're patting the
Hi,
We have designed a web site creator that uses
Perl and DBI to work with MySQL. The integration
between the two was great, but recently our website has
been over run with users and our poor MySQL database is showing
some major slow downs. So we have two possible solutions we
are researching.
According to Ryan, Aaron:
We found that we are quicking using up the max connections to the MySQL
database
and when we raise the max connection, the performance gets worse. What was
MySQL designed
to handle, should it be able to handle 2000 connections, or is that outside
the scope
of
On Wed, 9 Feb 2000, kevin carothers wrote:
Could someone please tell me where ApacheModulePerl.dll is?
Hate to sound so clueless, but I am...
Did a search at apache.org with "ApacheModulePerl.dll"
and it wasn't there...
Hi,
This is the file you would put in your /Apache/modules/
Matt Sergeant [EMAIL PROTECTED] writes:
Has anyone delivered a commericial mod_perl application before? If so, how
do you handle demo versions, preferably with expiration dates? One thought
is to simply xor encrypt some of the modules when the user downloads it,
mail him a key, and
Wed, Feb 09, 2000 at 04:34:08PM -0500 David Huang ÎÁÐÉÓÁÌ ÐÏ ÐÏ×ÏÄÕ Re: Apach::Session
with Sybase?
I installed Vladimir's package, and run the main.pl script but got the
following error:
Can't locate object method "TIEHASH" via package
"Apache::Session::DBI::Sybase" at main.pl line 8.
52 matches
Mail list logo