How do I really get the URI requested by the browser?

2001-08-17 Thread Joachim Zobel
Hi. I want to get the URI requested by the browser just as $REQUST_URI gives it to me inside a content handler. This is needed in other handlers, so I can not use %ENV. I am also not shure, when subprocess_env is initialized. Unfortunaltely $r->uri() does not return the URI requested by the b

Text Returned from Get method

2001-08-17 Thread winnecon
-- Mod_PERL pulls up the first page of my cgi, but every time I try to navigate around using form action buttons (get method) it pulls up the original perl code for the cgi in the browser, as if ExecCGI was not turned on, but it is! I have configured httpd.conf for Mod_PERL, as follows: Al

Dynamically linking modules w/eternal libraries

2001-08-17 Thread Eric Boyd
Hi, I apologize if this is a clueless newbie question, but here goes: I'm writing a new module, mod_foo.so, in C. (OK, I realize this is the mod_perl list, but I couldn't find an appropriate "mod_C" forum or anything in the archives and I don't think this question has anything to do with C.) Ru

RE: Querying Apache Configuration

2001-08-17 Thread Geoffrey Young
> -Original Message- > From: Lyle Brooks [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 17, 2001 2:39 PM > To: Geoffrey Young > Cc: [EMAIL PROTECTED] > Subject: Re: Querying Apache Configuration > > > It's kinda like writing mod_info as a mod_perl handler, only allow the > handler t

Re: Querying Apache Configuration

2001-08-17 Thread Lyle Brooks
Quoting Geoffrey Young ([EMAIL PROTECTED]): > > > > In the process, I been wondering is it possible to peek at the > > configuration directives/values of other modules (both Perl and C) > > via mod_perl? > > sort of - in both instances you have to do some tricks and break > encapsulation. for

possible error in Eagle book? (was RE: help with $r->headers_in->do()method)

2001-08-17 Thread Michael Styer
On Fri, 17 Aug 2001, Geoffrey Young wrote: > > I've got a question for the mod_perl world about the behavior of the > > $r->headers_in->do(sub {...some code...}) method. > it probably won't matter, but do() iterates through the table and exits > either when the list is exhausted or the subrou

RE: help with $r->headers_in->do() method

2001-08-17 Thread Geoffrey Young
> -Original Message- > From: Michael Styer [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 17, 2001 1:05 PM > To: [EMAIL PROTECTED] > Subject: help with $r->headers_in->do() method > > > Hi there. > > I've got a question for the mod_perl world about the behavior of the > $r->heade

RE: Querying Apache Configuration

2001-08-17 Thread Geoffrey Young
> -Original Message- > From: Lyle Brooks [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 17, 2001 11:45 AM > To: [EMAIL PROTECTED] > Subject: Querying Apache Configuration > > > I've been studying Chapter 8 "Customizing the Apache Configuration > Process" in the Eagle book, and work

Re: mod_perl's ease of installation and the list (was: Re:Problems installing libapreq)

2001-08-17 Thread Robert Landrum
At 9:20 PM -0700 8/16/01, Nick Tonkin wrote: >On Thu, 16 Aug 2001 10:38:56 -0700 Ged Haywood wrote: > >> On Wed, 15 Aug 2001, Nick Tonkin wrote: >> >> > > Somehow they are not getting setup right. >> > >> > Yeah, no kidding, Joe. >> > > > He's only trying to help. :) > >[snip] >So what I mean to

help with $r->headers_in->do() method

2001-08-17 Thread Michael Styer
Hi there. I've got a question for the mod_perl world about the behavior of the $r->headers_in->do(sub {...some code...}) method. I'm writing a proxy handler, and am getting strange results when trying to pass headers from the initial request to the proxied request. The problem is that the two

Querying Apache Configuration

2001-08-17 Thread Lyle Brooks
I've been studying Chapter 8 "Customizing the Apache Configuration Process" in the Eagle book, and working through some test modules. In the process, I been wondering is it possible to peek at the configuration directives/values of other modules (both Perl and C) via mod_perl? Also, in my tests

Path Issue mod_perl vs cgi-bin?

2001-08-17 Thread Purcell, Scott
Hello, I am running Apache w/mod_perl on a NT box. Location = D:/Apache I have created some modules and put the modules in a folder D:/Apache/vb_modules I set my PATH on the NT box to look in D:/Apache/vb_modules and all is good when I use those modules under mod_perl folder. But today, I have th