cvs commit: modperl-2.0/t/response/TestApache compat2.pm

2002-06-03 Thread dougm
dougm 2002/06/03 11:27:03 Modified:lib/Apache compat.pm t/response/TestApache compat2.pm Log: add $r-is_main compat method Revision ChangesPath 1.59 +2 -0 modperl-2.0/lib/Apache/compat.pm Index: compat.pm

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

2002-06-03 Thread dougm
dougm 2002/06/03 16:41:18 Modified:src/modules/perl mod_perl.c mod_perl.h Log: add MODPERL2 config define, as if the server had been started with -DMODPERL2 Revision ChangesPath 1.121 +10 -2 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2002-06-03 Thread dougm
dougm 2002/06/03 16:46:44 Modified:xs/tables/current/ModPerl FunctionTable.pm Log: need to update pre_config hook namechange for win32 .def Revision ChangesPath 1.71 +2 -2 modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm Index: FunctionTable.pm

cvs commit: modperl-2.0/todo api.txt

2002-06-03 Thread dougm
dougm 2002/06/03 17:44:24 Modified:lib/Apache compat.pm t/response/TestApache compat2.pm todo api.txt Log: add Apache-define compat method Revision ChangesPath 1.60 +5 -0 modperl-2.0/lib/Apache/compat.pm Index:

[2.x] test fails on win32 version 1.99_02

2002-06-03 Thread pascal barbedor
hi on win2k, perl 5.6.1, apache 2.036 i can successfully comile mod_perl-1.99_02 just released with as many flags as desired for instance MP_DEBUG now works but nmake test fails to start apache. with 2.0.36 there is a segfault and with 2.0.37-dev (last cvs) a transferlog directive not

please help me.

2002-06-03 Thread Tran Van Quan
Dear Mr/Mrs. Please help me I have trouble with perl configuration in apache config file (httpd.conf) I had install ActivePerl-5.6.1.631-MSWin32-x86 and my computer's win2k. Please help me how to config in order I can run perl page. Your help will be appreciated. Thanks you very much. ps: please

Problem: Internal redirection of ErrorDocument to mod_perl handler

2002-06-03 Thread Richard Clarke
List, Before I present a detailed description of the problem I thought I'd just bounce of an intro to see if its a common fault. I have found, using apache 1.x latest and mod_perl 1.x latest that if I use internal redirection to a mod_perl handler for ErrorDocument 500 (server_error) then

Re: please help me.

2002-06-03 Thread pascal barbedor
hi but what is the problem ? if you are running normal cgi script, then the first line of the file script called must contain #!path_path_to_perl and this is just a comment to remind you in httpd.conf : # Apache parses all CGI scripts for the shebang line by default. # This comment line, the

Re: Apache-server_root_relative(); not found

2002-06-03 Thread Stas Bekman
m31 wrote: HI, sorry if this is the wrong place, I am new to the mailing list. This is the right place. If you are new to mod_perl, you probably want to read the docs first. See: http://perl.apache.org/release/docs/ I have apache/1.3.23 and mod_perl/1.27 (I just upgraded) and perl/5.6.0

RE: Problem: Internal redirection of ErrorDocument to mod_perl handler

2002-06-03 Thread Jonathan M. Hollin
Before I present a detailed description of the problem I thought I'd just bounce of an intro to see if its a common fault. I have found, using apache 1.x latest and mod_perl 1.x latest that if I use internal redirection to a mod_perl handler for ErrorDocument 500 (server_error) then even

Re: Problem: Internal redirection of ErrorDocument to mod_perlhandler

2002-06-03 Thread Igor Sysoev
On Sat, 1 Jun 2002, Richard Clarke wrote: Before I present a detailed description of the problem I thought I'd just bounce of an intro to see if its a common fault. I have found, using apache 1.x latest and mod_perl 1.x latest that if I use internal redirection to a mod_perl handler for

Re: separating C from V in MVC

2002-06-03 Thread Rob Nagler
Perrin Harkins writes: You can actually do that pretty comfortably with Template Toolkit. You could use a filter for example, which might look like this: [% FILTER font('my_first_name_font') %] ... some text, possibly with other template directives in it... [% END %] One of the reasons

Re: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread Randy Kobes
On Mon, 3 Jun 2002, pascal barbedor wrote: on win2k, perl 5.6.1, apache 2.036 i can successfully comile mod_perl-1.99_02 just released with as many flags as desired for instance MP_DEBUG now works but nmake test fails to start apache. with 2.0.36 there is a segfault and with 2.0.37-dev

Re: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread pascal barbedor
ok to try with perl 5.8.0 but i have many modules installed with ppm from http://theoryx5.uwinnipeg.ca/ppmpackages and those of activestate perl. I am able to install ppm package to a perl 5.8.0 i compile myself , without activestate ppm ? for instance modules that rely on a binary library

htaccess, rewrite and redirect help please

2002-06-03 Thread Paul Williams
Title: htaccess, rewrite and redirect help please Hi all, I'm so new to this, please excuse me if i'm off base. I'm trying to write an htaccess script which will essentially say If you're from this web page you get rejected, but all other web page requests go here: This is what i pieced

Re: Generating dynamic VirtualHost and Location directives and reloading Apache configuration

2002-06-03 Thread James G Smith
Mathieu Jondet [EMAIL PROTECTED] wrote: Hi all, I'm actually working on a application for generating dynamic virtual host and locations in these virtual host from a web interface. The purpose of this application is to give a non-administrator the possibility of adding on the fly

Re: separating C from V in MVC

2002-06-03 Thread Ken Y. Clark
On Mon, 3 Jun 2002, Rob Nagler wrote: Date: Mon, 3 Jun 2002 08:09:12 -0600 From: Rob Nagler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: separating C from V in MVC Perrin Harkins writes: You can actually do that pretty comfortably with Template Toolkit. You could use a filter

Re: htaccess, rewrite and redirect help please

2002-06-03 Thread Per Einar Ellefsen
At 17:54 03.06.2002, Paul Williams wrote: Hi all, I'm so new to this, please excuse me if i'm off base. I'm trying to write an htaccess script which will essentially say If you're from this web page you get rejected, but all other web page requests go here: Sorry, but this is specific to

Re: separating C from V in MVC

2002-06-03 Thread Perrin Harkins
Rob Nagler wrote: Perrin Harkins writes: You can actually do that pretty comfortably with Template Toolkit. You could use a filter for example, which might look like this: [% FILTER font('my_first_name_font') %] ... some text, possibly with other template directives in it... [% END %]

mod_perl netscape problem

2002-06-03 Thread Iyengar Yoga Resources
Hi I have the following problem with my mod_perl setup (apache 1.3.24 server + proxied mod_perl server 1.26, more or less standard Mandrake 8.2): Pages that go through the mod_perl server have 'strange' strings at the top and the bottom, when you view them with Netscape 4.x (any OS, it

RE: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread Alessandro Forghieri
reetings. ok to try with perl 5.8.0 but i have many modules installed with ppm from http://theoryx5.uwinnipeg.ca/ppmpackages and those of activestate perl. I am able to install ppm package to a perl 5.8.0 i compile myself , without activestate ppm ? for instance modules that

Re: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread pascal barbedor
I have been trying 5.8RC1 and I tried to compile/install several modules that I have on 5.6.1 - CPAN, not PPM. At least the following do not build and/or test right (not exhaustive, as I got tired after a while): TK # C error Archive::Tar # in

Re: AuthzHandler, index.html not being accessed

2002-06-03 Thread Ken Miller
A note: since cookie is involved, why not to implement all the access/authentication/authurization functions at the access control phase using cookie ? I've got them split out to match the phase in which they'd be invoked. That, and the fact that the access handler will be invoked

Re: Problem: Internal redirection of ErrorDocument to mod_perl handler

2002-06-03 Thread Per Einar Ellefsen
At 15:42 03.06.2002, Igor Sysoev wrote: On Sat, 1 Jun 2002, Richard Clarke wrote: Before I present a detailed description of the problem I thought I'd just bounce of an intro to see if its a common fault. I have found, using apache 1.x latest and mod_perl 1.x latest that if I use

[DIGEST] mod_perl digest 2002/05/06

2002-06-03 Thread jgsmith
-- mod_perl digest May 6, 2002 - June 2, 2002 -- Recent happenings in the mod_perl world... *** Note the

rfc Apache::Dynagzip

2002-06-03 Thread Slava Bizyayev
Hello everyone, Finally, I'm going to upload the Apache::Dynagzip 0.03 to CPAN by the evening of June 4-th. I'm not sure about the quality of my documentation yet. It's available now at http://devl4.outlook.net/devdoc/Dynagzip/Dynagzip.htmlfor preview. I would appreciate any comments in

DBI Bug

2002-06-03 Thread Udlei Nattis
hi, sorry my english ;) when i add this line in httpd.conf PerlModule DBI or use DBI(); in startup.conf apache dont start, i receive this error: /usr/local/apache-2.0/bin/apachectl: line 192: 12547 Segmentation fault $HTTPD /usr/local/apache-2.0/bin/apachectl start: httpd could not be

Re: DBI Bug

2002-06-03 Thread Fran Fabrizio
And you are sure that the CGI module is installed on the machine, right? perl -e 'use CGI;' from the command-line will tell you. -Fran Udlei Nattis wrote: hi, sorry my english ;) when i add this line in httpd.conf PerlModule DBI or use DBI(); in startup.conf apache dont start,

Re: DBI Bug

2002-06-03 Thread Thomas Klausner
Hi! On Mon, Jun 03, 2002 at 03:40:57PM -0300, Udlei Nattis wrote: PerlModule DBI .. i test it in Apache 2.0/Perl 5.8.0RC1/Modperl 1.99.02/03 Apache 2.0/Perl 5.7.3/Modperl 1.99.02/03 Apache 2.0/Perl 5.6.1/Modperl 1.99.02/03 Apache 2.0-cvs/All Perls/All Modperls I'm not sure if Apache::DBI

Re: separating C from V in MVC

2002-06-03 Thread Rasoul Hajikhani
I really enjoyed this topic... I hope you guys are planning on actually documenting your ideas. I would love to read and learn more about this topic. -r

Re: separating C from V in MVC

2002-06-03 Thread Rob Nagler
Perrin Harkins writes: The advantage is that my example can contain other templating code: [% FILTER font('basic_info_font') %] Hello [% User.first_name %]!BR [% IF User.accounts %] You have these accounts:BR [% FOREACH User.accounts %] [% name %]: [% balance

Re: AuthzHandler, index.html not being accessed

2002-06-03 Thread mod_perl
Ken: back to your original problem. Maybe you should disbale the default index list by comment out Options Indexes in your httpd.conf, so as to isolate the problem: if it is authz related or not at all. Peter A note: since cookie is involved, why not to implement all the

Re: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread Lupe Christoph
On Monday, 2002-06-03 at 18:32:54 +0200, Alessandro Forghieri wrote: reetings. :-) I have been trying 5.8RC1 and I tried to compile/install several modules that I have on 5.6.1 - CPAN, not PPM. At least the following do not build and/or test right (not exhaustive, as I got tired after a

Re: separating C from V in MVC

2002-06-03 Thread Perrin Harkins
Rob Nagler wrote: [Skirting on the edge of YATW. :-] I certainly don't mean to have a templating war. I'm just trying to figure out what the difference is between these approaches and if there's something I've been missing that I should consider adding to future applications. Here's your

Re: AuthzHandler, index.html not being accessed

2002-06-03 Thread Ken Miller
That's exactly what I did. When the authz handler is installed, I get the directory listing; when it's uninstalled, I get 'Access Denied due to rule'. In neither instance does index.html get displayed. Very strange. I can code around it by turning off indexes and always referencing

Re: mod_perl netscape problem

2002-06-03 Thread ___cliff rayman___
there is a bug in the proxy server for apache_1.3.24. i am not familiar with mandrake, but hopefully they have an upgrade. if not, you will need to rebuild from source rpms and apply this patch. http://apache.valueclick.com/dist/httpd/patches/apply_to_1.3.24/proxy_http1.1_chunking.patch

Re: mod_perl netscape problem

2002-06-03 Thread Alvar Freude
Hi, -- Iyengar Yoga Resources [EMAIL PROTECTED] wrote: Pages that go through the mod_perl server have 'strange' strings at the top and the bottom, when you view them with Netscape 4.x (any OS, it seems). Also, the page does not stop loading. This does not happen with other browsers

Re: Apache-server_root_relative(); not found

2002-06-03 Thread m31
Yes, I'm running it under mod_perl/1.27 which I compiled as a DSO with apxs. This also gave me errors under 1.25, I just pushed INC to solve it but I would like to use server_root_relative. I have it in a startup script, the one from the eagle book. It goes like: #! /usr/bin/perl BEGIN {

Re: rfc Apache::Dynagzip

2002-06-03 Thread Alvar Freude
Hello, -- Slava Bizyayev [EMAIL PROTECTED] wrote: Finally, I'm going to upload the Apache::Dynagzip 0.03 to CPAN by the evening of June 4-th. I'm not sure about the quality of my documentation yet. the documentation looks very complete :-) Do you provide also an interface as replacement

Re: Apache-server_root_relative(); not found

2002-06-03 Thread Stas Bekman
On Mon, 3 Jun 2002, m31 wrote: Yes, I'm running it under mod_perl/1.27 which I compiled as a DSO with apxs. This also gave me errors under 1.25, I just pushed @INC to solve it but I would like to use server_root_relative. I have it in a startup script, the one from the eagle book. It goes

Re: Apache-server_root_relative(); not found

2002-06-03 Thread Per Einar Ellefsen
At 02:16 04.06.2002, m31 wrote: I am running OSX 10.1.4/Darwin. Dont think that has anything to do with it though. It might. It has been stated on the dev list that the lib pragma has a problem under Darwin. Could you try: BEGIN { unshift @INC, Apache-server_root_relative('lib/perl');