Apache, mod_perl

2001-08-29 Thread H Jayakumar
I have mod_perl and apache on NT. I want to add mod_perl as a module to apache, I built mod_perl and got mod_perl.so. I have copied it to the modules directory in apache source tree. When I start apache, it says : Syntax error on line 1049 of e:/apache/conf/httpd.conf: Cannot load

Re: Apache, mod_perl

2001-08-29 Thread Rod Butcher
This message has confused many people including me. It usually means that the mod_perl binary is incompatible with your version of Apache. Most people compile the whole lot together. Randy Kobes has kindly compiled mod_perl binaries for recent Apache versions at

RE: Authen question

2001-08-29 Thread Geoffrey Young
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: Authen question Hello I want to know if there is a way to show a page or another to some users depending in their logins. I have

Re: Apache, mod_perl

2001-08-29 Thread Randy Kobes
On Wed, 29 Aug 2001, H Jayakumar wrote: I have mod_perl and apache on NT. I want to add mod_perl as a module to apache, I built mod_perl and got mod_perl.so. I have copied it to the modules directory in apache source tree. When I start apache, it says : Syntax error on line 1049 of

$r-args()

2001-08-29 Thread Rasoul Hajikhani
Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form data, pnotes may be used. However, I am trying something else and it does not seem

$r-args()

2001-08-29 Thread Rasoul Hajikhani
Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form data, pnotes may be used. However, I am trying something else and it does not seem

Re: $r-args()

2001-08-29 Thread Robert Landrum
At 9:36 AM -0700 8/29/01, Rasoul Hajikhani wrote: Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form data, pnotes may be used.

Re: $r-args()

2001-08-29 Thread Rasoul Hajikhani
Robert Landrum wrote: At 9:36 AM -0700 8/29/01, Rasoul Hajikhani wrote: Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form

Re: $r-args()

2001-08-29 Thread Robert Landrum
Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the POSTED data. Performing a redirect causes posted data to be discarded. Your

Re: $r-args()

2001-08-29 Thread Tom Servo
Once you change the method to GET and put the content in with $r-args();, it becomes GET data from the query_string. All the POST data is lost when you call content(), so you can no longer read it as POST data with $r-content() again. Brian Nilsen [EMAIL PROTECTED] On Wed, 29 Aug

Re: $r-args()

2001-08-29 Thread Rasoul Hajikhani
Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the POSTED data. Performing a redirect causes

Re: $r-args()

2001-08-29 Thread Robert Landrum
At 11:19 AM -0700 8/29/01, Rasoul Hajikhani wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the

Re: $r-args()

2001-08-29 Thread Ken Williams
[EMAIL PROTECTED] (Rasoul Hajikhani) wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the

Re: $r-args()

2001-08-29 Thread Rasoul Hajikhani
Robert Landrum wrote: At 11:19 AM -0700 8/29/01, Rasoul Hajikhani wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to

Re: is postreadrequest too late to determine name vhost?

2001-08-29 Thread Vivek Khera
TE == Thomas Eibner [EMAIL PROTECTED] writes: TE It seems that everything concerning vhosts is set up in http_protocal.c TE and that the vhost is set right after Apache has read the request from TE the client and then calling ap_update_vhost_from_headers to actually TE determine the vhost. All

Re: is postreadrequest too late to determine name vhost?

2001-08-29 Thread Thomas Eibner
On Wed, Aug 29, 2001 at 02:44:48PM -0400, Vivek Khera wrote: TE == Thomas Eibner [EMAIL PROTECTED] writes: TE It seems that everything concerning vhosts is set up in http_protocal.c TE and that the vhost is set right after Apache has read the request from TE the client and then calling

is postreadrequest too late to determine name vhost?

2001-08-29 Thread Vivek Khera
I've got the classic lightweight front end proxying to the mod_perl heavyweight backend. I use proxy_add_forward on the front end and the PerlPostReadRequest handler to set $r-hostname and $r-remote_ip. This all works excellently. My question, however, is this too late for the name-based

Re: is postreadrequest too late to determine name vhost?

2001-08-29 Thread Thomas Eibner
On Wed, Aug 29, 2001 at 01:31:54PM -0400, Vivek Khera wrote: I've got the classic lightweight front end proxying to the mod_perl heavyweight backend. I use proxy_add_forward on the front end and the PerlPostReadRequest handler to set $r-hostname and $r-remote_ip. This all works

cvs commit: modperl-2.0/t/hooks/TestHooks trans.pm

2001-08-29 Thread dougm
dougm 01/08/29 18:05:41 Modified:t/hooks/TestHooks trans.pm Log: current httpd-2.0 requires trans handlers to either set r-filename or implement a map_to_storage hook Revision ChangesPath 1.2 +3 -1 modperl-2.0/t/hooks/TestHooks/trans.pm Index:

cvs commit: modperl-2.0/xs/Apache/Filter Apache__Filter.h

2001-08-29 Thread dougm
dougm 01/08/29 18:08:24 Modified:src/modules/perl modperl_filter.c xs/Apache/Filter Apache__Filter.h Log: flush output filter buffer after filter has run rather than after each filter-print Revision ChangesPath 1.24 +10 -2

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_filter.c modperl_types.h

2001-08-29 Thread dougm
dougm 01/08/29 22:15:51 Modified:src/modules/perl mod_perl.c modperl_filter.c modperl_types.h Log: change wbucket buffer api to use the address of r-output_filters so when a filter is removed from the chain, its is also remove from ours Revision ChangesPath 1.63