It depends on what you are trying to accomplish, of course, but
for most purposes, yeah, splitting r-uri on '/' will give a
useful list of directories. If you are using these as actual
filenames, and ignoring r-filaname, however, beware of requests
like:
Hi!
darren chamberlain [EMAIL PROTECTED]:
How is it different from mod_rewrite using the QSA flag to add
values to r-args? (This is a question, not a criticism!)
True, you could use mod_rewrite to get the same result, but there
are situations where you can't use it, e.g. you're not working
Hello,
Is it possible, if yes then how, to set handler recursively for one
directory? Now my handler is defined:
Directory /my_server
SetHandler perl-script
PerlHandler MyServ::MyHandler
/Directory
But if i try to access /my_server/some/other/dir then apache gives error
because this
Viljo Marrandi [EMAIL PROTECTED] said something to this effect on 07/03/2001:
Hello,
Is it possible, if yes then how, to set handler recursively for one
directory? Now my handler is defined:
Directory /my_server
SetHandler perl-script
PerlHandler MyServ::MyHandler
/Directory
Use a Location rather than Directory directive. Use the absolute
URI relative to the server as the second part (e.g.,
http://www.foo.bar/baz would look like Location /baz).
Hey, that's what i needed. Thanks :)
If sounds like you want to use r-path_info in your application,
so you *can't*
Viljo Marrandi [EMAIL PROTECTED] said something to this effect on 07/03/2001:
If sounds like you want to use r-path_info in your application,
so you *can't* create these directories, or they will become part
of r-filename, not r-path_info.
Actually i thought about r-uri. It returns
Hi!
On 3 Jul 2001, at 15:21, Viljo Marrandi wrote:
Actually i thought about r-uri. It returns everything after servername
and if i split it using '/' as separator i think i'm almost there ;o).
I have a nearly finished module which applies some regular
expression (specified in some config
On Tuesday 03 July 2001 21:18, Thomas Klausner wrote:
I have a nearly finished module which applies some regular
expression (specified in some config file) to the URI and puts the
stuff it found into $r-param (that means you have to use CGI or
Apache::Request to use it).
snip
BTW, if
All
This is an interesting idea, so I thought I'd add my two cents and say
that you can already do exactly this with mod_rewrite. I guess it's
useful to have a perl module that does it as well, but sometimes
re-inventing the wheel is not worth the trouble. I can see the utility
for people
-Original Message-
From: Robin Berjon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: handler question
On Tuesday 03 July 2001 21:18, Thomas Klausner wrote:
I have a nearly finished module which applies some regular
Robin Berjon [EMAIL PROTECTED] said something to this effect on 07/03/2001:
On Tuesday 03 July 2001 21:18, Thomas Klausner wrote:
I have a nearly finished module which applies some regular
expression (specified in some config file) to the URI and puts the
stuff it found into $r-param (that
On Tuesday 03 July 2001 22:18, darren chamberlain wrote:
Robin Berjon [EMAIL PROTECTED] said something to this effect on
07/03/2001:
Pretty cool ! You should definitely put it on CPAN. Apache::RegexedParam
?
How is it different from mod_rewrite using the QSA flag to add
values to r-args?
12 matches
Mail list logo