I am using Mason. Here are some lines from my httpd.conf file that are
probably relevant:
Alias /perl/ /var/www/perl/
PerlSetVar MasonAllowGlobals $swit_user
PerlInitHandler "Apache::StatINC"
SetHandler perl-script
PerlHandler Apache::Registry
Op
On Thu, 2003-11-06 at 19:20, Stas Bekman wrote:
> Nope. It's Apache::Request. Apache doesn't use libapreq:
Okay, then he must be calling it from a different phase, since his
script didn't have a value for $ENV{'MOD_PERL'}. Dustin, do you have an
access handler, or a transhandler or something like
Perrin Harkins wrote:
> On Thu, 2003-11-06 at 16:49, Joachim Feise wrote:
>
>>using Perl 5.8.1, mod_perl 1.29, Apache 1.3.29, I see this warning in my
>>Apache error log file whenever I start Apache:
>>[Wed Nov 5 01:24:20 2003] CGI.pm: Constant subroutine CGI::XHTML_DTD redefined
>>at /usr/lib/p
Perrin Harkins wrote:
On Thu, 2003-11-06 at 18:56, Dustin Whitney wrote:
$ENV{'MOD_PERL'} is undefined, which leaves me to believe that
Apache::Request isn't involved
Yes, it sounds like this is a general apache problem, not a mod_perl
problem. Did you change to a different version of apache w
On Thu, 2003-11-06 at 18:56, Dustin Whitney wrote:
> $ENV{'MOD_PERL'} is undefined, which leaves me to believe that
> Apache::Request isn't involved
Yes, it sounds like this is a general apache problem, not a mod_perl
problem. Did you change to a different version of apache when you did
this ins
$ENV{'MOD_PERL'} is undefined, which leaves me to believe that
Apache::Request isn't involved, but the error logs produce:
[Thu Nov 6 16:56:45 2003] [error] [client 192.168.0.5] [libapreq]
unknown content-type: `text/xml'
Is there a way I can make apache/mod_perl know 'text/xml'?
-Dustin
On
On Thu, 2003-11-06 at 17:33, Robert Friberg wrote:
> > What do you get when you run:
> > find /usr/local/lib/perl5/ | grep Apache/Util
>
> I get
>
> /usr/local/lib/perl5/site_perl/5.8.1/i686-linux/Apache/Util.pm
>
> > You don't tell us anything about your modperl build.
>
> I copied and paste
On Thu, 2003-11-06 at 17:51, Dustin Whitney wrote:
> I've an old cgi-script that worked before I installed mod_perl, but
> now it won't work. I've put it in a directory that is configured to be
> handled by mod_cgi, but I get this error in my apache error logs when
> it tried to run
I'm
Hello,
I've an old cgi-script that worked before I installed mod_perl, but
now it won't work. I've put it in a directory that is configured to be
handled by mod_cgi, but I get this error in my apache error logs when
it tried to run:
Thu Nov 6 15:50:23 2003] [error] [client 192.168.0.5]
On Thu, 2003-11-06 at 16:49, Joachim Feise wrote:
> using Perl 5.8.1, mod_perl 1.29, Apache 1.3.29, I see this warning in my
> Apache error log file whenever I start Apache:
> [Wed Nov 5 01:24:20 2003] CGI.pm: Constant subroutine CGI::XHTML_DTD redefined
> at /usr/lib/perl5/5.8.1/constant.pm line
> What do you get when you run:
> find /usr/local/lib/perl5/ | grep Apache/Util
I get
/usr/local/lib/perl5/site_perl/5.8.1/i686-linux/Apache/Util.pm
> You don't tell us anything about your modperl build.
I copied and pasted from INSTALL.simple
mvh,
#-
Thanks Stas for your detailed reply.
I have apache 1.3. apxs -q cflags does not show any mention of
LARGEFILE_SOURCE neither does ap_config_auto.h, I guess that's definitive
answer...
Perl -V indicates USE_LARGE_FILES as a compile time option.
I'm not sure what mod_perl was compiled with but Ap
Robert Friberg wrote:
Hi all,
I just installed from source perl 5.8.1, mod_perl 1.29, apache 1.3.29 and
libapreq 1.39 on RH Linux 9. I did the same thing (almost) a couple of weeks
ago and it worked fine, this time I cant get my stuff running.
New is libapreq, last time I installed only Apache::Re
On Thu, 2003-11-06 at 16:46, Dustin Whitney wrote:
> Is there a way that I can make apache use mod_cgi to serve scripts
> in one directory, but mod_perl in all the others? I have some scripts
> that won't work under mod_perl in their current form, and I'd like to
> temporarily use them whi
Hi all,
I just installed from source perl 5.8.1, mod_perl 1.29, apache 1.3.29 and
libapreq 1.39 on RH Linux 9. I did the same thing (almost) a couple of weeks
ago and it worked fine, this time I cant get my stuff running.
New is libapreq, last time I installed only Apache::Request from CPAN.
I g
Hello Dustin,
We had the same problem when we switch to mod_perl couple months ago, and I
created
cgi-bin2 directory for the ones we haven't modified yet and have problem
running under mod_perl
We put the modified scripts for mod_perl in regular cgi-bin directory. The
only headache is
you need
Hi,
using Perl 5.8.1, mod_perl 1.29, Apache 1.3.29, I see this warning in my
Apache error log file whenever I start Apache:
[Wed Nov 5 01:24:20 2003] CGI.pm: Constant subroutine CGI::XHTML_DTD redefined
at /usr/lib/perl5/5.8.1/constant.pm line 108.
[Wed Nov 5 01:24:21 2003] [notice] Apache/1.3.2
Hello,
Is there a way that I can make apache use mod_cgi to serve scripts
in one directory, but mod_perl in all the others? I have some scripts
that won't work under mod_perl in their current form, and I'd like to
temporarily use them while I rewrite them for mod_perl.
Thanks,
Dustin
--
R
Stas Bekman wrote:
yo! please trim the quoted text in your replies to the mimimal
relevant size.
those who need to read the whole thing have the archives. thanks.
Will do.
speeves
cws
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
cramirez wrote:
Has anyone been able to use Apache::AuthenSmb on Windows? I'm trying
to setup our UNIX Apache environment on a Windows box, but I'm having
trouble compiling Authen::Smb. Actually, a better question might be,
does anyone have any ideas on the best approach of implementing web
Adam Griffiths wrote:
Hi All,
How can I get a definitive answer as to whether mod_perl was compiled with
Large File Support?
I have a shell login account but not root.
It's complicated. Because Apache and Perl need to be compiled with LFS to
really "have" it under mod_perl. Many times you get Per
Hi All,
How can I get a definitive answer as to whether mod_perl was compiled with
Large File Support?
I have a shell login account but not root.
Regards
Adam
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
yo! please trim the quoted text in your replies to the mimimal relevant size.
those who need to read the whole thing have the archives. thanks.
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/
Quoting Lanny Derby <[EMAIL PROTECTED]>:
> Do you really think that I haven't sent an email in the proper format and to
> the proper email address requesting to be removed? Basically, I have asked
> nicely twice. Then I emailed the moderator directly. Neither effort did any
> good.
Well, from the
On Wed, 2003-11-05 at 04:43, Andrey A. Kudrin wrote:
> So sometimes when I call CMS.cgi I can see result of print_login of
> chat.cgi and and vice versa.
There is nothing in your sample code here that would cause one sub to be
called in place of another. How do you know that the other print_login
Do you really think that I haven't sent an email in the proper format and to
the proper email address requesting to be removed? Basically, I have asked
nicely twice. Then I emailed the moderator directly. Neither effort did any
good.
-Original Message-
From: Cees Hek [mailto:[EMAIL PROTE
Quoting Lanny Derby <[EMAIL PROTECTED]>:
>
> I have asked to be removed from this mailing list twice now without success.
> I will continue to send this email dailing until I am removed.
It might help to do a little research first instead of resorting to threats.
Firstly, when you signed up f
I have asked to be
removed from this mailing list twice now without success. I will continue to
send this email dailing until I am removed.
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed.
Neil Watson ÐÐÑÐÑ:
On Thu, Nov 06, 2003 at 05:28:23PM +0300, Ruslan U. Zakirov wrote:
RT have issue with attachments coruption, it have such issue almost
all time with latest mp2 from time to time, RT's documentation have
WARNING
RT has had issues with attachment corruption that are not rela
On Thu, Nov 06, 2003 at 05:28:23PM +0300, Ruslan U. Zakirov wrote:
RT have issue with attachments coruption, it have such issue almost all
time with latest mp2 from time to time, RT's documentation have WARNING
RT has had issues with attachment corruption that are not related to
mp2. I have RT o
Hi,
I'm trying out Eric Cholet's chatsrv with a lite apache front end and
mod_perl server. The front end and mod_perl are on different machines.
if I use http://mod_perl_server:8080/chat.pl everything works okay
when I use http://front_end/chat.pl I get don't get any output displayed
to the brow
cramirez wrote:
Awhile back, I encountered this same problem and found a solution
from Matt Arnold's mod_perl post, which I cannot locate at the time.
Anyhow, here's the fix that I've been using in our production
environment.
1. Update Authen::Smb like so:
use Fcntl qw(:flock);
...
open S,
Hello All.
I'm Request Tracker(RT) user.
There were talk and code for mason handler in the archive:
if ($mod_perl::VERSION >= 1.9908) {
require Apache::RequestUtil;
no warnings 'redefine';
my $sub = *Apache::request{CODE};
*Apache::request = sub {
my $r;
eval { $r =
Stas Bekman wrote:
Stas Bekman wrote:
[...]
It's a known problem. I'll commit a fix soonish (I need to do some
extra testing and rewrites). Meanwhile please replace
- read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
+ $r->read($buffer, $ENV{'CONTENT_LENGTH'});
That should do the trick.
Christian,
Stas Bekman wrote:
Christian Wetzig wrote:
Hi,
the following worked fine under 1.99_09 in a perl module called from a
simple mod_perl script (SetHandler perl-script, PerlHandler
ModPerl::Registry):
> read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
But after upgrading to 1.99_10, the content of
Stas Bekman wrote:
It seems that you are still confused between $r and Apache::Request
objects, which are two different things. The former is a request object
which you can do many things with. The latter is just a GET/POST data
container which gives you methods to access that data.
Actually, if
Andrey A. Kudrin wrote:
Hello Stas,
Wednesday, November 05, 2003, 3:11:21 PM, you wrote:
SB> Is it possible that you import functions with the same name from different
SB> modules into the same script? If not, you really need to show us some *very*
SB> short examples of your code so we can get t
Eric Sammer wrote:
[...]
For Apache2, Apache::Request->new will always reference the
appropriate per-request data; instance() isn't needed there,
so it won't be included in the 2.X releases.
That's pretty much what I was looking for. I just wanted to know that
there will be a common and reliabl
Thanks for the 'patches' to the modules!
> 1. Update Authen::Smb like so:
>
> use Fcntl qw(:flock);
> ...
> open S, "> /full/path/to/AuthenSmb.lck" or
> die "Can't open AuthenSmb.lck: $!\n";
> flock S, LOCK_EX;
> my $res = Valid_User($username, $password, $server, $backup, $domain);
> close S;
W
Joe Schaefer wrote:
There are no plans whatsoever to deprecate instance() from
the Apache::Request 1.X that comes in the libapreq-1.X package.
The APIs for 1.X are stable, and very unlikely to change at
all.
I wasn't so much thinking about the API changing within the 1.x branch
so much as being
Hello!
SB>> Is it possible that you import functions with the same name from different
SB>> modules into the same script? If not, you really need to show us some *very*
SB>> short examples of your code so we can get the idea what your problem is.
AAK> Substituted functions is not in modules, but
Eric Sammer <[EMAIL PROTECTED]> writes:
> I'd rather not paint myself into the proverbial corner if
> Apache::Request->instance() is being deprecated.
There are no plans whatsoever to deprecate instance() from
the Apache::Request 1.X that comes in the libapreq-1.X package.
The APIs for 1.X are
42 matches
Mail list logo