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/per

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 g

Re: separating C from V in MVC

2002-06-03 Thread Rob Nagler
Perrin Harkins writes: > I just didn't put in any fancy HTML in my example. I could have put in > table tags right there, or made a macro if that table gets repeated a > lot. Looks to me like they work the same. In TT, I would probably use > macros or small templates (possibly defined in thi

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 replacem

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: 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: [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 aft

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 Iyenga

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 index.html,

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 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 ac

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 %]! >[% IF User.accounts %] > You have these accounts: > [% FOREACH User.accounts %] > [% name %]: [% balance

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: 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 Apach

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 do

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: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread Alessandro Forghieri
Greetings [...] > as mentioned in the 580 announce, every module based on xs > have to recompile > the xs . so it is hopeless to install a 561 module based on > xs in 580 (for > example win32::API) In fact, I recompiled. > > > running nmake test with 580 (to test modperl-1.99_02) asks for >

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.html for preview. I would appreciate any comments in or

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

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 mo

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 specifi

[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 up

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

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 everywh

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 v

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 toge

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 lik

Re: mod_perl netscape problem

2002-06-03 Thread Thomas Eibner
On Mon, Jun 03, 2002 at 04:49:15PM +0200, Iyengar Yoga Resources wrote: > 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

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.3

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 seems)

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... >>[%

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 us

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 reas

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

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 tho

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: 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

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 ev

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