Hello,
It seems the method unparse() of Apache::URI does not take the port
value into the result string. For example, I have:
my $uri = Apache::URI-parse($r, $r-uri);
$uri-scheme('http');
$uri-hostname($r-get_server_name);
$uri-port(8080);
$uri-query(scalar $r-args);
If I call
When I run ./httpd -l should I see mod_perl.c in the list of modules?
--
James Gosnell
[EMAIL PROTECTED]
ICQ#1727569
http://premed.dhs.org
startup.pl
I have run into the same issue also both with mod_perl as a DSO module or
compiled staticly. I have tested it using apache-1.3.6 and apache-1.3.12
w/ mod_perl-1.22 and mod_perl-1.21. The memory growth also occurs if I
HUP the server rather than sending USR1. Since the problem only occurs if
Hi all,
The Guide release I've just made is one of the planned milestones is has
reached. I've intergrated most of the backlog emails. I still have to
cleanup the TODO file and covert all the META: tags into corrections that
should be done in places you see these tags.
After I complete the
I have noticed that although it is required to pass $r to
Apache::Cookie-new() as the first argument, it appears that no type
checking is performed. In other words, if I pass anything else as the
first arg, no error is reported. However the subsequent call to
$cookie-as_string will result in an
When I run ./httpd -l should I see mod_perl.c in the list of modules?
Yes, unless httpd was created as DSO and it wasn't configured to load this
module in httpd.conf.
__
Stas Bekman | JAm_pH--Just Another
Hi All
I have a module that displays a selection of FORMs for the user to pick
from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a
different module which parses the data and uses 'open' to call an external
perl script to generate a file and returns the full disk path
Is it possible to install apache and perl succesfully on windows 98 ?
I have tried and failed !
I want to run server-side perl script on apache...
Is there anyone in this mailing list that has installed apache and perl
succesfully on windows 98 so that this is possible ?
Please let me
Hi,
The front-end light server, serving static requests and proxying
dynamic requests to a back-end modperl server, is well documented,
except in the case of virtual hosts. How do you do it? Specifically,
do you setup virtual hosts on the backend server? Different IPs, or
different ports? Or
Light Software wrote:
Is it possible to install apache and perl succesfully on windows 98 ?
I have tried and failed !
I want to run server-side perl script on apache...
Is there anyone in this mailing list that has installed apache and perl
succesfully on windows 98 so that this is
Hello,
It seems the method unparse() of Apache::URI does not take the port
value into the result string. For example, I have:
my $uri = Apache::URI-parse($r, $r-uri);
$uri-scheme('http');
$uri-hostname($r-get_server_name);
$uri-port(8080);
$uri-query(scalar $r-args);
If I call
Hi,
after some browsing of the [EMAIL PROTECTED] archives, I see now that my
AuthDBI problem is the same as this thread (Segfault on DBI-Connect). I
tried the workaround suggested by wil (*sock=0 before mysql_init(sock)) to
no avail.
Here's a backtrace from gdb httpd -X. Has any headway been
I don't have 5.6 to test this, but isn't the warnings pragma lexical and
not dynamic now? Which means it's doing the right thing.
Also, it's probably right - shouldn't Apache::DBI be changed?
Perhaps doing "local $^W;" instead of "no warnings qw(deprecated);" will
be a bandaid for you.
Well if it is lexical shouldn't it suppress the warnings
anyhow? Remember that the 'use' is lexically inside the
BEGIN block where I have the pragma.
From the command line:
perl -wc Apache/DBI.pm
produces the error while
perl -M-warnings=deprecated Apache/DBI.pm
doesn't.
"JG" == James Gosnell [EMAIL PROTECTED] writes:
JG When I run ./httpd -l should I see mod_perl.c in the list of modules?
Depends if you compiled it into your httpd... ;-)
If you compiled mod_perl as a DSO module, then no. If you compiled
mod_perl statically, then yet.
--
"EC" == Eric Cholet [EMAIL PROTECTED] writes:
EC do you setup virtual hosts on the backend server? Different IPs, or
EC different ports? Or just a flat url space, using mod_rewrite on the
EC front-end to translate the urls?
I think I posted this example earlier. This is just a snippet of the
EC do you setup virtual hosts on the backend server? Different IPs, or
EC different ports? Or just a flat url space, using mod_rewrite on the
EC front-end to translate the urls?
I think I posted this example earlier. This is just a snippet of the
relevant portions of the front/back end
I bought a new book this weekend: the wolf book. I'm enjoying it. I
came from an engineering background, so anything that gives comp sci
theory is good.
I read in the book, and I've always suspected, that anchoring regular
expressions will speed them up. I'm finding that after 5000
On Mon, 10 Apr 2000, Jason Simms wrote:
I have a question first, then some insight as to why you may be having the
problem... First, is this Knoxville, TN? I lived there for 17 years of my
life, and only recently (1.5 years ago) moved up to New York City. I left
due to lack of
Hello all,
I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be
running fine. I have verified that mod_perl.c shows up as one of the
compiled-in modules. How can I test or verify that my perl cgi scripts
are actually running via mod_ perl rather than simply executing? Is
http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_
:)
--Geoff
-Original Message-
From: Ron Beck [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 1:28 PM
To: modperl
Subject: Newbie help - mod_perl use
Hello all,
I have built Apache 1.3.12 and
On Mon, 10 Apr 2000, Ron Beck wrote:
Hello all,
I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be
running fine. I have verified that mod_perl.c shows up as one of the
compiled-in modules. How can I test or verify that my perl cgi scripts
are actually running via
"J. Horner" wrote:
On Mon, 10 Apr 2000, Jason Simms wrote:
As to your problem, I doubt people can be of much assistance (though we'll
see) without seeing the regex and sample data. Perhaps if you resent that??
In any case, good luck. And perhaps, stay in touch, or put me on a mailing
What does the following do for you...
IfModule mod_perl.c
Files *.pl
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
/Files
/IfModule
The "Porting CGI Scripts" recommended including this in my httpd.conf
file.
Harald,
Randy Kobes has been keeping the Win32 mod_perl crowd happy for the last
few months with his compile that is available at:
ftp://theoryx5.uwinnipeg.ca/pub/other/
(the link is on the perl.apche.org home page as well :^) ).
Jeffery Baker has a version as well, but it is not as up to
On Mon, 10 Apr 2000, Devin Ben-Hur wrote:
$ diff first anchored
1c1
sub first {
---
sub anchored {
9a10
my $request = join(" ",$method,$uri);
The only difference between your two benchmark subroutines are their
names, and that the anchored one also composes your $request
On Mon, 10 Apr 2000, Ron Beck wrote:
What does the following do for you...
IfModule mod_perl.c
Files *.pl
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
/Files
/IfModule
The "Porting CGI Scripts" recommended
Reading through the Handling Errors section of the Eagle book, I was
unable to use $ENV{REDIRECT_ERROR_NOTES} to report on errors generated by
registry scripts. This patch corrects the problem in a clean, standard
Apache way. I don't think this will step on any toes, since in the case of
a
"J. Horner" wrote:
Sorry, it is a Monday. I attached the right file.
--
Devin Ben-Hur | President / CTO | mailto:[EMAIL PROTECTED]
The eMarket Group | eMerchandise.com | http://www.eMerchandise.com
503/944-5044 x228 |
"Where do you want to go today?"
"Confutatis maledictis,
On Mon, 10 Apr 2000, Eric Cholet wrote:
The front-end light server, serving static requests and proxying
dynamic requests to a back-end modperl server, is well documented,
except in the case of virtual hosts. How do you do it? Specifically,
do you setup virtual hosts on the backend server?
"J. Horner" wrote:
Sorry, it is a Monday. I attached the right file.
You're problem is that you have toomuch other junk in addition to the
statements you're trying to compare. Also, the strings you're matching
against are all so short that you wont see much difference between an
anchored and
Sorry for the repost. I typo'd in the Subject line(!) and I thought that
the message might get skipped over.
--- Original message
Reading through the Handling Errors section of the Eagle book, I was
unable to use $ENV{REDIRECT_ERROR_NOTES} to report on errors generated by
registry scripts. This
Hi!
get-cookie.html
--
%
use Apache::Cookie;
my $cookie_ref = Apache::Cookie-fetch;
my $conf_cookie = $cookie_ref-{conf};
my %hash = $conf_cookie-value;
^^^
thats it, now I understand!
many thanks, it was too late last night for me
On Mon, 10 Apr 2000, Bill Jones wrote:
AuthDBMUserFile
Is there a difference between DBM and GDBM?
I always thought they were the same...
I found sleepcat (DB) and GDBM, but where is DBM?
perldoc GDBM_File:
DESCRIPTION
GDBM_File is a module which allows
According to Stas Bekman:
On Mon, 10 Apr 2000, Bill Jones wrote:
AuthDBMUserFile
Is there a difference between DBM and GDBM?
I always thought they were the same...
I found sleepcat (DB) and GDBM, but where is DBM?
sleepycat == berkeley db (a product of sleepycat.com)
gdbm
On Mon, 10 Apr 2000, Jeff Gleixner wrote:
Been running a mod_perl/Mason enabled server for a while, now I want to
change the owner of the process to "www", from "nobody". In doing so I
get:
Permission denied at
/usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm
[EMAIL PROTECTED] (Paul G. Weiss) wrote:
Well if it is lexical shouldn't it suppress the warnings
anyhow? Remember that the 'use' is lexically inside the
BEGIN block where I have the pragma.
Yeah, but the line producing the warning isn't, and that's what counts for
lexicals.
Any in any case:
I'm looking for some help/advice with Apache::Request. I'm currently using
Apache::Request to parse the POST that is used to upload a bunch of files to
our server.
The problem I'm running into is that I seem to be running out of file
descriptors over a long period of time, if a large number of
I'm looking for some help/advice with Apache::Request. I'm currently using
Apache::Request to parse the POST that is used to upload a bunch of files to
our server.
The problem I'm running into is that I seem to be running out of file
descriptors over a long period of time, if a large number of
I missed an opportunity to set $r-notes('error-notes') if there was an
error at compile-time. This patch includes both run-time and compile-time
patches.
*** Registry.pm Tue Mar 14 23:55:28 2000
--- RegistryTom.pm Mon Apr 10 17:45:57 2000
***
*** 127,132
--- 127,133
I'm getting segfaults with a RedHat 6.1 system. I've tried mod_perl 1.22,
as well as a CVS snapshot from today, and I pretty much get the same thing
either way. I would appreciate it if anyone could help me out on this, it's
driving me nuts.
Here's my system:
RedHat 6.1 (with all updates)
cholet 00/04/10 03:15:12
Modified:.index.html
Log:
Better link for modperl distro
Revision ChangesPath
1.49 +3 -3 modperl-site/index.html
Index: index.html
===
RCS file:
sbekman 00/04/10 03:37:48
Modified:.index.html
Log:
cvs snapshot link + moved the link to the guide as requested
Revision ChangesPath
1.50 +12 -6 modperl-site/index.html
Index: index.html
cholet 00/04/10 07:13:42
Modified:.Changes
Log:
document change to Apache::URI::port()
Revision ChangesPath
1.462 +3 -0 modperl/Changes
Index: Changes
===
RCS file:
cholet 00/04/10 07:16:11
Modified:.Changes
Log:
typo
Revision ChangesPath
1.463 +1 -1 modperl/Changes
Index: Changes
===
RCS file: /home/cvs/modperl/Changes,v
retrieving
45 matches
Mail list logo