Environment variable in Apache/mod_perl/IO::Socket

2003-02-05 Thread dhfg
Hi, In my web application, I am using Apache server with mod_perl. In one of my Perl modules, I am creating a client socket using IO::Socket::INET which is accepting the hotsname and port values from the environment variables set in the Apache config file http.conf. For some reason, this didn't

RPC::XML questions

2003-02-05 Thread Todd W
I've been using XSLT, DOM, and SAX for about a year now to do device independent web sites. I want to start doing some web services. I have "Programming Web Services with Perl" and it all makes sense so far, but I have a few questions. I figured I'd start with RPC as thats where the book starts

Re[2]: Newbie advice required [some further info]

2003-02-05 Thread Seldo
On 06 February 2003, Stas Bekman wrote: SB> Have you configured your server to run .php files by php? >From httpd.conf: AddType application/x-httpd-php .php (which is a yes as far as I'm concerned, but taking no chances...) SB> Does a request to /bob.php works fine if requested directly (when

Re: Newbie advice required [some further info]

2003-02-05 Thread Stas Bekman
Seldo wrote: I mentioned that I don't think there's a way to practically supply arbitrary data to Apache that looks like its coming from the filesystem. The other way I thought of is this: $r->uri() can map one URI to another. This means that a request to www.mydomain.com/app1/site/page.p

Re[3]: Newbie advice required [some further info]

2003-02-05 Thread Seldo
I mentioned that I don't think there's a way to practically supply arbitrary data to Apache that looks like its coming from the filesystem. The other way I thought of is this: $r->uri() can map one URI to another. This means that a request to www.mydomain.com/app1/site/page.php could be re

Re: Newbie advice required

2003-02-05 Thread Stas Bekman
Seldo wrote: Whoa, quick turnaround! Oof course, it's 11pm here, but only 6pm where you are I suppose... It's actually 11am, on your tomorrow (PDT+11) ;) I'm living in the future ;) On 05 February 2003, Stas Bekman wrote: SB> You forgot to add to unfortunate facts that both mod_perl 2.0 and SB

article: The Apache of the Future

2003-02-05 Thread Stas Bekman
Here is an article on Apache 2.0 adoption trend http://www.newsfactor.com/perl/story/20572.html __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org ma

Re[2]: Newbie advice required

2003-02-05 Thread Seldo
Whoa, quick turnaround! Oof course, it's 11pm here, but only 6pm where you are I suppose... On 05 February 2003, Stas Bekman wrote: SB> You forgot to add to unfortunate facts that both mod_perl 2.0 and SB> Apache 2.0 are new and may have bugs ;) >From what I could tell, doing this with Apache 1.3

Re: Newbie advice required

2003-02-05 Thread Stas Bekman
Seldo wrote: Hello everyone - I'm in the unfortunate position of being needing to write an Apache 2.0 module using mod_perl 2.0, while being simultaneously new to both mod_perl, the Apache API, and perl itself. I guess I'm a glutton for punishment, or something. (Did I mention this is all on Win3

Newbie advice required

2003-02-05 Thread Seldo
Hello everyone - I'm in the unfortunate position of being needing to write an Apache 2.0 module using mod_perl 2.0, while being simultaneously new to both mod_perl, the Apache API, and perl itself. I guess I'm a glutton for punishment, or something. (Did I mention this is all on Win32?) What I wa

Re: Re-installing 1.99_08 binary or 1.99_05 RPM in Red Hat 8 [mp2]

2003-02-05 Thread Jon
(Just an informational post to round off the thread.) The following worked for me, I now have a working mod_perl 1.99! At 15:08 15/01/2003 +0100, Jérôme Augé wrote: To compile mod_perl-1.99_xx on RedHat 8.0 I used : $ perl Makefile.PL MP_APXS=/usr/sbin/apxs First, I removed the original mod_p

Re: Apache::Request incompatible with CGI ?

2003-02-05 Thread Rob Lambden
dorian wrote: > aiya. libapreq 0.31 is the one that likes to append whatever it is that one just uploaded > to it to its heap until it starves your machine of memory, if i recall correctly. it was > fixed in 0.31_03 i believe but it looks like 1.1 was released last week. I have found 1.1 on CP