Custom Directives turn off PHP

2000-08-26 Thread Matt Sergeant
I wonder if anyone has ever seen this before - one of my AxKit users has found that custom directives are turning PHP off. For example: PHP simply doesn't even function with this configuration: VirtualHost 63.100.32.74:80 DocumentRoot /data/www/pdamd/docs AxDebugLevel 5 AxCacheModule

Re: Module Function Name Issue

2000-08-26 Thread Stas Bekman
On Fri, 25 Aug 2000, Philip Molter wrote: Do you have the two packages in the same file like you have presented below? I guess they aren't since you have '1;' just before the declaration of the second package. If they live in two different files obviously that 'use Object::SubObj' is mising, see

Re: Patch to t/modules/request.t

2000-08-26 Thread Stas Bekman
On Fri, 25 Aug 2000, Rick Myers wrote: On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say: [EMAIL PROTECTED] (Rick Myers) wrote: On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the keys to say: The following patch eliminates a warning during 'make test'

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread Stas Bekman
On Sat, 26 Aug 2000, Rod Butcher wrote: I am looking to migrate a small modperl-based webhosting and ISP service from NT to some flavour of Linux. Are any particularly modperl-friendly or unfriendly or are they all much the same ? I'm fairly comfortable with Redhat, but I hear stories of

Re: Getting data from external URL

2000-08-26 Thread Rodney Broom
SB This one is much more efficient and requires even less coding: SB use LWP::Simple; SB $content = get("http://www.sn.no/") Even better, thanks Stas.

Re: Patch to t/modules/request.t

2000-08-26 Thread Rick Myers
On Aug 26, 2000 at 14:07:26 +0200, Stas Bekman twiddled the keys to say: On Fri, 25 Aug 2000, Rick Myers wrote: On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say: [EMAIL PROTECTED] (Rick Myers) wrote: On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the

Re: Module Function Name Issue

2000-08-26 Thread Philip Molter
On Sat, Aug 26, 2000 at 01:56:18PM +0200, Stas Bekman wrote: : On Fri, 25 Aug 2000, Philip Molter wrote: : : Do you have the two packages in the same file like you have presented : below? I guess they aren't since you have '1;' just before the declaration : of the second package. If they live in

Re: Module Function Name Issue

2000-08-26 Thread Stas Bekman
On Sat, 26 Aug 2000, Philip Molter wrote: On Sat, Aug 26, 2000 at 01:56:18PM +0200, Stas Bekman wrote: : On Fri, 25 Aug 2000, Philip Molter wrote: : : Do you have the two packages in the same file like you have presented : below? I guess they aren't since you have '1;' just before the

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread T.J. Mather
Also, another piece of advice for what it's worth. If your going to add SSL, build and test apache with mod-perl first, and then go back and add SSL. There may well be a work-around that I'm not aware of, but basically the problem is that mod-ssl is looking for an encryption key on

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread Stas Bekman
On Sat, 26 Aug 2000, Rob Tanner wrote: RedHat is as good or bad as any of the distributions. Redhat is not my personal preference -- and note, I said preference. I don't back my opinion with lots of objective data because that's a subjective valuation. I've been using Caldera, but I've

Re: Module Function Name Issue

2000-08-26 Thread Stas Bekman
On Sat, 26 Aug 2000, Philip Molter wrote: On Sat, Aug 26, 2000 at 05:22:27PM +0200, Stas Bekman wrote: : The following is a known kludge, but it doesn't seem to apply in your : case (I thought you might use it in PerlHandler) : : =head1 More package name related issues : : If you have

Re: Apache::ASP #include file

2000-08-26 Thread Joshua Chamas
Philip Mak wrote: Recently, I reinstalled mod_perl and Apache::ASP on my system in order to fix a problem I was having with ASP not using the new version of perl on my system. However, I'm having problem with some old code. I used to do this: In httpd.conf: PerlSetVar IncludesDir

Re: Getting data from external URL

2000-08-26 Thread Vijay
Hello, Thanks everyone for such a simple solutions. I think I will use followig method as it seems much simpler. Thanks Vijay - Original Message - From: "Rodney Broom" [EMAIL PROTECTED] To: "Stas Bekman" [EMAIL PROTECTED] Cc: "Vijay" [EMAIL PROTECTED]; "mod_perl Maillinglist" [EMAIL

Re: Cookies

2000-08-26 Thread Joshua Chamas
Jeff Smelser wrote: How do you set expires in ASP cookies? I tried, and various other ways too. Even nodeworks.com wouldn't work for me. Thanks. $expires=HTTP::Date::time2str(time()+86400); $Response-{Cookies}{'username','Expires', '$expires'} = $Request-Form('username');

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread Stas Bekman
--On 08/26/00 18:51:31 +0200 Stas Bekman [EMAIL PROTECTED] wrote: Heh, obviously you have to supply the password on the server startup, unless you use one of the workarounds described in the ssl docs (secured utility that feeds the passwd is the best IMHO). Naw, something else is

Re: Apache::ASP #include file

2000-08-26 Thread joel reed
On Aug 26, [EMAIL PROTECTED] contorted a few electrons to say... Philip Philip Mak wrote: Philip Philip Recently, I reinstalled mod_perl and Apache::ASP on my system in order to Philip fix a problem I was having with ASP not using the new version of perl on Philip my system. However,

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread Gunther Birznieks
Well, the legal troubles should be outlined in the mod_ssl docs. I think it just has to do with using the rsa_ref libraries because of a patent held in the USA. But I haven't looked at it lately. In theory you're supposed to get a license to use it. When you buy StrongHold or another

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread Gunther Birznieks
At 11:31 AM 8/26/00 -0700, Rob Tanner wrote: --On 08/26/00 18:51:31 +0200 Stas Bekman [EMAIL PROTECTED] wrote: Heh, obviously you have to supply the password on the server startup, unless you use one of the workarounds described in the ssl docs (secured utility that feeds the passwd is the

Re: Apache::ASP #include file

2000-08-26 Thread Michael Robinton
Recently, I reinstalled mod_perl and Apache::ASP on my system in order to fix a problem I was having with ASP not using the new version of perl on my system. However, I'm having problem with some old code. That functionality was never intended to be supported, and am surprised it

Re: Apache::ASP #include file

2000-08-26 Thread Philip Mak
On Sat, 26 Aug 2000, Michael Robinton wrote: apache_ssl and mod_perl co-exist nicely together, try that instead. I've a couple of these in production environments that work very well. I don't understand... what does SSL have to do with this? -Philip Mak ([EMAIL PROTECTED]) Recently, I

Re: Apache::ASP #include file

2000-08-26 Thread Michael Robinton
On Sat, 26 Aug 2000, Michael Robinton wrote: apache_ssl and mod_perl co-exist nicely together, try that instead. I've a couple of these in production environments that work very well. I don't understand... what does SSL have to do with this? -Philip Mak ([EMAIL PROTECTED]) Oops,

RE: Getting data from external URL

2000-08-26 Thread Andrew Nicholson
Hello Vijay, You can make simple HTTP GET or POST requests using the LWP and HTTP modules. I recommend that you read the ActivePerl help files. I have attached the one you really need but it probably won't make sense unless you read up on LWP. # A small sample follows: use LWP::UserAgent; #

Re: Getting data from external URL

2000-08-26 Thread Rodney Broom
OK, lots of banter... Hey V, if you are on a *NIX system, then this is a fast way: open U, "lynx -source www.some.url.dom |"; $data = join '', U; There, you're finished. Admittedly, this isn't terribly efficiant, but it works just fine and has short devel time. Rodney Broom

Re: Getting data from external URL

2000-08-26 Thread Stas Bekman
On Sat, 26 Aug 2000, Rodney Broom wrote: OK, lots of banter... Hey V, if you are on a *NIX system, then this is a fast way: open U, "lynx -source www.some.url.dom |"; $data = join '', U; There, you're finished. Admittedly, this isn't terribly efficiant, but it works just fine and has

Re: Getting data from external URL

2000-08-26 Thread Gerald Richter
Hello, I want to get data from an external url in my perl program (either thru Embperl Execute or directly from perl). What I need is like this. There is a URL which gives some information in text format. I want to get that into a variable or file using perl and using my own html