Re: Need help installing on Win32...

2001-05-02 Thread Carey Burgess
Hey, Yeah... It's ActivePerl build 623. What's a vanilla script? I know I can run scripts just fine with this same Perl when I comment out the mod_perl lines I have below. Well, again, thanks for your help! If this is getting (or gets) too annoying for you, just direct me to the

RE: Exception modules

2001-05-02 Thread Henrik Tougaard
From: Paul Lindner, on Tuesday, May 01, 2001 3:04 AM: On a related note, does anyone anywhere still use Experimental::Exception? The COPE CORBA module uses Experimental::Exception for it's exception handling. There is an effort underway to change to Error.pm (or something else a bit more

Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread Tommy Davis
We use a server-setup with a mod_perl enabled backend server. The server only runs mod_perl and mySQL for about 5 virtual hosts. Our problem is that a syntax-error in a program used on only one virutal host, causes an internal server error across all virtual hosts. I suspect it's not possible

WinNT:fatal error LNK1181: cannot open input file ..\..\..\..\..\unzipped\ap\apache-1.3\src\Release\ApacheCore.lib

2001-05-02 Thread Simon Duduica
Hello, I try to compile mod_perl on Windows NT 4 sp6 and I get the following message LINK : fatal error LNK1181: cannot open input file ..\..\..\..\..\unzipped\ap\apache-1.3\src\Release\ApacheCore.lib I added the path to the ApacheCore.lib to the libpaths, I added the file to the project,

dev,ino namespace [was: Re: Apache::Registry - a thought]

2001-05-02 Thread Ime Smits
| It occurs to me that there would be no overhead to speak of in using a | sequence number, given that Apache::Registry already maintains a hash for | its generated package names for mtime checks. Something like: Why not use (stat($script))[0,1] device and inode numbers of the script being

Re: glimmer of hope -- cookies: www.host.tld vs host.tld

2001-05-02 Thread darren chamberlain
will trillich ([EMAIL PROTECTED]) said something to this effect on 05/02/2001: Cookies are restricted to certain domains, for security reasons. (Why have a microsoft.com cookie sent to debian.org, right?) So all cookies need domain=box.subnet.intralan.organization.tld *snip* A

Re: Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread G.W. Haywood
Hi there, On Wed, 2 May 2001, Tommy Davis wrote: We use a server-setup with a mod_perl enabled backend server. The server only runs mod_perl and mySQL for about 5 virtual hosts. Our problem is that a syntax-error in a program used on only one virutal host, causes an internal server

Re: Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread Chris Winters
* Tommy Davis ([EMAIL PROTECTED]) [010502 04:11]: We use a server-setup with a mod_perl enabled backend server. The server only runs mod_perl and mySQL for about 5 virtual hosts. ... Another problem is that the solutions uses diffferent databases. That means we end up with 5 ttimes as

Re: Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread darren chamberlain
Chris Winters ([EMAIL PROTECTED]) said something to this effect on 05/02/2001: package MyServer::DB; use strict; use DBI; my $DB_USER = ''; my $DB_PASS = ''; sub connect { my ( $class, $dbname ) = @_; my $dbh = DBI-connect( 'DBI:mysql:mysql', $DB_USER, $DB_PASS,

Re: modify Server header via a handler

2001-05-02 Thread Alistair Mills
On Tue, 1 May 2001, will trillich wrote: On Tue, May 01, 2001 at 12:10:34PM -0700, Randal L. Schwartz wrote: newsreader == newsreader [EMAIL PROTECTED] writes: newsreader randal s. posted a way to do that newsreader sometime back. search for it in newsreader the archive. his

Re: modify Server header via a handler

2001-05-02 Thread Mark Maunder
You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf. (Only supported after 1.3.12) You can then use ap_add_version_component (C API) to add stuff after that. IMHO you should at least mention 'Apache' and 'mod_perl'

Re: modify Server header via a handler

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Mark Maunder wrote: You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf. (Only supported after 1.3.12) You can then use ap_add_version_component (C API) to add stuff after that. Right, but

Re: WinNT:fatal error LNK1181: cannot open input file..\..\..\..\..\unzipped\ap\apache-1.3\src\Release\ApacheCore.lib

2001-05-02 Thread Randy Kobes
On Wed, 2 May 2001, Simon Duduica wrote: I try to compile mod_perl on Windows NT 4 sp6 and I get the following message LINK : fatal error LNK1181: cannot open input file ..\..\..\..\..\unzipped\ap\apache-1.3\src\Release\ApacheCore.lib I added the path to the ApacheCore.lib to the

Re: modify Server header via a handler

2001-05-02 Thread Richard Chen
On Wed, May 02, 2001 at 03:22:51PM +0100, Matt Sergeant wrote: On Wed, 2 May 2001, Mark Maunder wrote: You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf. (Only supported after 1.3.12) You can then use

middle tier like j2ee only in mod_perl, possible?

2001-05-02 Thread Matthew Kennedy
I've been experimenting with what's possible in terms of having mod_perl interface with a system of business logic rather than a relational database. ie. I am try to find the find the mod_perl equivalent of Java's EJB tier in the following: (web brower + servlets) --- (ejb) --- (relational

Re: modify Server header via a handler

2001-05-02 Thread Alistair Mills
On Wed, 2 May 2001, Richard Chen wrote: On Wed, May 02, 2001 at 03:22:51PM +0100, Matt Sergeant wrote: On Wed, 2 May 2001, Mark Maunder wrote: You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf.

Re: Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread Tommy Davis
G.W. Haywood wrote: [EMAIL PROTECTED]"> We use a server-setup with a mod_perl enabled backend server. The server only runs mod_perl and mySQL for about 5 virtual hosts.Our problem is that a syntax-error in a program used on only one virutal host, causes an "internal server error" across all

Re: modify Server header via a handler

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Richard Chen wrote: On Wed, May 02, 2001 at 03:22:51PM +0100, Matt Sergeant wrote: On Wed, 2 May 2001, Mark Maunder wrote: You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf.

XML::Parser Expat cause segfaults

2001-05-02 Thread Oskari 'Okko' Ojala
Got a problem: About 250 of 1000 requests cause a segfault (11) when using XML::Parser::parse() under mod_perl. In FAQs it is stated that this is because of the bundled Expat in Apache. I've tried disabling Apache's Expat with --disable-rule=EXPAT, but it doesn't help. Have you found any

Re: Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread Tommy Davis
Chris Winters wrote: [EMAIL PROTECTED]">* Tommy Davis ([EMAIL PROTECTED]) [010502 04:11]: We use a server-setup with a mod_perl enabled backend server. The server only runs mod_perl and mySQL for about 5 virtual hostsAnother problem is that the solutions uses diffferent databases. That means

Re: XML::Parser Expat cause segfaults

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Oskari 'Okko' Ojala wrote: I compiled mod_perl with perl Makefile.PL APACHE_SRC=../apache_1.3.19/src DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 Try changing PREP_HTTPD=1 to APACHE_PREFIX=/usr/local/apache, and add APACI_ARGS='...' where ... are your --enable-module

Re: XML::Parser Expat cause segfaults

2001-05-02 Thread Oskari 'Okko' Ojala
On Wed, 2 May 2001, Matt Sergeant wrote: Try changing PREP_HTTPD=1 to APACHE_PREFIX=/usr/local/apache, and add APACI_ARGS='...' where ... are your --enable-module bits. Tried that too, but it doesn't seem to help. Still segfaults. :(

OT: Re: glimmer of hope -- cookies: www.host.tld vs host.tld

2001-05-02 Thread ___cliff rayman___
u can also use the rewrite engine - for our domain genwax.com: RewriteCond %{HTTP_HOST}^genwax\.com$ [NC] RewriteRule ^(.+) http://www.genwax.com$1 [R,L] notice that it also makes sure to convert any case such as: GeNwAx.com to www.genwax.com -- ___cliff [EMAIL

Re: glimmer of hope -- cookies: www.host.tld vs host.tld

2001-05-02 Thread will trillich
On Wed, May 02, 2001 at 07:28:05AM -0400, darren chamberlain wrote: will trillich ([EMAIL PROTECTED]) said something to this effect on 05/02/2001: Cookies are restricted to certain domains, for security reasons. (Why have a microsoft.com cookie sent to debian.org, right?) So all cookies

[JOB SEEKER] mod_perl expert for hire

2001-05-02 Thread Matt Sergeant
I feel bad that, with the dot-bomb, all we see now are job seekers, not job adverts, but here I am, in need of some work to keep food on my table. My skills are fairly well known here. I'm an expert in XML and mod_perl. I built the take23.org mod_perl news and resources site. And I'm the

RE: glimmer of hope -- cookies: www.host.tld vs host.tld

2001-05-02 Thread Rob Bloodgood
Or at the very least, two segments thereof: domain=.org.tld Which would be sent to any of these hosts: www.org.tld some.obscure.server.org.tld even.here.org.tld BUT NOT TO ord.tlg Thank you very four-borking-days-lost-forever much. So, patient gurus

ProxyPass based on file ext, not by path

2001-05-02 Thread Surat Singh Bhati
I want to use the mod_perl apache as backend to my public non mod_perl Apache server as Stats says, we can use the ProxyPass/ProxyPassReverse directives as below: ProxyPass/modperl/ http://localhost:81/modperl/ ProxyPassReverse /modperl/ http://localhost:81/modperl/ But in my case

files having same ext, different handler based on partial name

2001-05-02 Thread Surat Singh Bhati
I want to configure mod_perl in such a way a. files like *.cgi (but not *mod.cgi) should be run using the PerlRun, and b. files like *mod.cgi should run using the Apache Registry. The settings: FilesMatch *\.cgi$ SetHandler perl-script PerlHandler Apache::PerlRun

Re: glimmer of hope -- cookies: www.host.tld vs host.tld

2001-05-02 Thread ___cliff rayman___
Rob Bloodgood wrote: Or at the very least, two segments thereof: domain=.org.tld --- lots of snippage --- you have it right at the top. assuming you are operating in org.tld, so www.org.tld and modperl.org.tld are valid boxes, then you send the domain string as .$domain. This

Re: Syntax errors across multiple virtual hosts with separate codebase

2001-05-02 Thread Pete Jordan
Chris Winters [EMAIL PROTECTED] wrote: I'm not sure how you create your database handles (in a central location then passed around, or in each handler as you need it), but in MySQL (as with other databases) you can execute a 'use dbname' to start using a different database. FWIW, MySQL is

Re: files having same ext, different handler based on partial name

2001-05-02 Thread Pete Jordan
Surat Singh Bhati [EMAIL PROTECTED] wrote: Any trick to find out that a given CGI is working under Apache::PerlRun or Apache::Registry. The $ENV{MOD_PERL} says that script is working under mod_perl, but it does not says it is working under Perlrun Registry. Use caller - at the top of your

Re: modify Server header via a handler

2001-05-02 Thread Larry Leszczynski
Hi Matt - Actually I lied! It is possible, though only from XS. I just added a module_init section to AxKit's config directives, and now I get: # HEAD http://axkit.org/ | grep Server Server: Apache/1.3.17 (Unix) AxKit (1.3_96) mod_perl/1.25 Now you just need the Netcraft folks to start

Re: modify Server header via a handler

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Larry Leszczynski wrote: Hi Matt - Actually I lied! It is possible, though only from XS. I just added a module_init section to AxKit's config directives, and now I get: # HEAD http://axkit.org/ | grep Server Server: Apache/1.3.17 (Unix) AxKit (1.3_96)

Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch) for libapache-mod-perl]

2001-05-02 Thread Daniel Jacobowitz
On Tue, May 01, 2001 at 11:15:30AM -0700, Doug MacEachern wrote: On Sun, 4 Mar 2001, Daniel Jacobowitz wrote: Here's another reasonable-looking patch from Philippe Troin; it exposes child_num() in Apache::Connection. i hesitate adding this to Connection.xs at this point since it is 1.3

PerlAccessHandler via set_handlers()?

2001-05-02 Thread will trillich
thanks one and all for the pointers on cookies. i probably grok 738% more than i did, but i have a feeling it's still only 13% of the pie. or in this case, cookie... so how's this PerlAccessHandler, for twisted logic? hole-punching and pitfall-warning equally welcome: #httpd.conf

Urgent: remove password from server cert?

2001-05-02 Thread Paul
In a sudden (and late) moment of epiphany, I just realized (while writing a note to our CSA to please put the new server's startup in the machines boot cycle) that when we reboot (*every* monday morning in the wee hours) it's not terribly likely that anyone's going to be around to feed the

Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch)for libapache-mod-perl]

2001-05-02 Thread Stas Bekman
On Wed, 2 May 2001, Daniel Jacobowitz wrote: On Tue, May 01, 2001 at 11:15:30AM -0700, Doug MacEachern wrote: On Sun, 4 Mar 2001, Daniel Jacobowitz wrote: Here's another reasonable-looking patch from Philippe Troin; it exposes child_num() in Apache::Connection. i hesitate adding

Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch) for libapache-mod-perl]

2001-05-02 Thread Daniel Jacobowitz
On Thu, May 03, 2001 at 11:10:59AM +0800, Stas Bekman wrote: On Wed, 2 May 2001, Daniel Jacobowitz wrote: On Tue, May 01, 2001 at 11:15:30AM -0700, Doug MacEachern wrote: On Sun, 4 Mar 2001, Daniel Jacobowitz wrote: Here's another reasonable-looking patch from Philippe Troin; it

mod_perl subs defined, but DON'T EXIST? wtf?!

2001-05-02 Thread will trillich
long version-- okay, i'm confused, and this time it's not related to cookies. it happens to be the same bloinkin' project, but this time it's perl in general, that's got me baffled... if have a subroutine that's defined, but it's not showing up as defined. i used the *Symbol::Table::name{CODE}

Re: mod_perl subs defined, but DON'T EXIST? wtf?!

2001-05-02 Thread will trillich
On Thu, May 03, 2001 at 12:29:53AM -0500, will trillich wrote: long version-- I have a subroutine that IS DEFINED, but it's not showing up as defined. I used the *Symbol::Table::name{CODE} method myself and sure enough, there's no CODE for the defined subroutine... [snip] ANY wild-ass

cvs commit: modperl-2.0/lib/ModPerl WrapXS.pm

2001-05-02 Thread dougm
dougm 01/05/02 21:01:53 Modified:lib/ModPerl WrapXS.pm Log: somehow the recent change to base.pm requires us to have a $VERSION in the generated .pms Revision ChangesPath 1.12 +1 -0 modperl-2.0/lib/ModPerl/WrapXS.pm Index: WrapXS.pm

cvs commit: modperl-2.0/lib/ModPerl TypeMap.pm

2001-05-02 Thread dougm
dougm 01/05/02 21:35:45 Modified:lib/ModPerl TypeMap.pm Log: assume void return type if not defined Revision ChangesPath 1.7 +1 -1 modperl-2.0/lib/ModPerl/TypeMap.pm Index: TypeMap.pm

cvs commit: modperl-2.0/lib/ModPerl FunctionMap.pm WrapXS.pm

2001-05-02 Thread dougm
dougm 01/05/02 21:56:32 Modified:lib/ModPerl FunctionMap.pm WrapXS.pm Log: more better prefix guessing Revision ChangesPath 1.7 +4 -3 modperl-2.0/lib/ModPerl/FunctionMap.pm Index: FunctionMap.pm

cvs commit: modperl-2.0/lib/ModPerl FunctionMap.pm WrapXS.pm

2001-05-02 Thread dougm
dougm 01/05/02 22:41:02 Modified:lib/ModPerl FunctionMap.pm WrapXS.pm Log: add BOOT keyword to indicate a function should be called at BOOT time Revision ChangesPath 1.8 +4 -1 modperl-2.0/lib/ModPerl/FunctionMap.pm Index: FunctionMap.pm

cvs commit: modperl-2.0/xs/Apache/Log - New directory

2001-05-02 Thread dougm
dougm 01/05/02 23:02:50 modperl-2.0/xs/Apache/Log - New directory