Re: xml and mod_perl

2003-11-10 Thread tvilliers
On Thu, 06 Nov 2003 17:36:38 -0700, Dustin Whitney wrote: > 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" > > > SetHand

Re: xml and mod_perl

2003-11-07 Thread Perrin Harkins
On Thu, 2003-11-06 at 19:36, Dustin Whitney wrote: > 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" Try taking out Stat

Re: xml and mod_perl

2003-11-06 Thread Dustin Whitney
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

Re: xml and mod_perl

2003-11-06 Thread Perrin Harkins
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

Re: xml and mod_perl

2003-11-06 Thread Stas Bekman
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

Re: xml and mod_perl

2003-11-06 Thread Perrin Harkins
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

Re: xml and mod_perl

2003-11-06 Thread Dustin Whitney
$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

Re: xml and mod_perl

2003-11-06 Thread Perrin Harkins
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

xml and mod_perl

2003-11-06 Thread Dustin Whitney
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]