Re: [mp2] Custom directives

2004-05-13 Thread Stas Bekman
Brent 'Dax' Royal-Gordon wrote: Hello, I'm writing a pure-Perl Apache 2 module that installs a few custom directives. Four of the directives are only useful in the server root (i.e. outside of any VirtualHost, Directory, etc. directives), but three others make sense within containers. The dire

[mp2] Custom directives

2004-05-13 Thread Brent 'Dax' Royal-Gordon
Hello, I'm writing a pure-Perl Apache 2 module that installs a few custom directives. Four of the directives are only useful in the server root (i.e. outside of any VirtualHost, Directory, etc. directives), but three others make sense within containers. The directives seem to parse correctly,

Re: How do I set mtime

2004-05-13 Thread Stas Bekman
Geoffrey Young wrote: $r->mtime() is read only. to update the mtime slot you want to use $r->update_mtime(), update_mtime which is smart enough to only replace the mtime if the time you're updating with is later than the current mtime. you'll also want to make sure that you're doing this before yo

Re: How do I set mtime

2004-05-13 Thread Geoffrey Young
> $r->mtime() is read only. to update the mtime slot you want to use > $r->update_mtime(), update_mtime which is smart enough to only replace the > mtime if the time you're updating with is later than the current mtime. > you'll also want to make sure that you're doing this before you call > $r->

Re: How do I set mtime

2004-05-13 Thread Geoffrey Young
Joachim Zobel wrote: > Hi. > > I try to use the $r->mtime($upd) method to set a pages last modified to > a database timestamp. perldoc Apache::File tells me > > "The last modified time may also be changed using this method" > > My error log however says "Usage: Apache::mtime(r)", if I try. >

Re: libapreq help needed [SOLVED]

2004-05-13 Thread Aleksandr Guidrevitch
Hello Stas, perl Makefile.PL NO_HTTPD=1 \ EVERYTHING=1 \ USE_APACI=1 \ APACHE_SRC=../apache_1.3.29/src \ PREP_HTTPD=1 did the thing. Thanks -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/mai

Re: How do I set mtime

2004-05-13 Thread Stas Bekman
Joachim Zobel wrote: Hi. I try to use the $r->mtime($upd) method to set a pages last modified to a database timestamp. perldoc Apache::File tells me "The last modified time may also be changed using this method" My error log however says "Usage: Apache::mtime(r)", if I try. So how do I do it?

How do I set mtime

2004-05-13 Thread Joachim Zobel
Hi. I try to use the $r->mtime($upd) method to set a pages last modified to a database timestamp. perldoc Apache::File tells me "The last modified time may also be changed using this method" My error log however says "Usage: Apache::mtime(r)", if I try. So how do I do it? I do not want to use

Re: libapreq help needed

2004-05-13 Thread Stas Bekman
Aleksandr Guidrevitch wrote: Hi All, I'm having trouble compiling libapreq in userspace. [...] ake[1]: Entering directory `/home/ag/build/libapreq-1.3/c' gcc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/home/ag/apps/perl-5.8.

libapreq help needed

2004-05-13 Thread Aleksandr Guidrevitch
Hi All, I'm having trouble compiling libapreq in userspace. [EMAIL PROTECTED] mod_perl-1.29 $ cat .makepl_args.mod_perl NO_HTTPD=1 EVERYTHING=1 [EMAIL PROTECTED] mod_perl-1.29 $ /home/ag/apps/perl-5.8.4/bin/perl Makefile.PL && make && make install [EMAIL PROTECTED] mod_perl-1.29 $ cd ../apache_1.