Re: DirectoryIndex

2007-10-24 Thread Geoffrey Young
Marilyn Burgess wrote: > Hello, > > I'm running modperl2 on Debian from the libapache2-mod-perl2 debian package > and I can't get the DirectoryIndex rule to work properly. I have the line > > DirectoryIndex index.html index.cgi index.pl index.php index.xhtml >

DirectoryIndex

2007-10-24 Thread Marilyn Burgess
Hello, I'm running modperl2 on Debian from the libapache2-mod-perl2 debian package and I can't get the DirectoryIndex rule to work properly. I have the line DirectoryIndex index.html index.cgi index.pl index.php index.xhtml in apache2.conf, and in the file default in sites-available

Re: Configuration Data vs. DirectoryIndex

2007-07-10 Thread Geoffrey Young
Marc M. Adkins wrote: > I have been struggling with DirectoryIndex behavior and configuration > information from custom Perl directives for a while now. I've been > scanning the web and posting here and thanks for the previous responses. > > I now have a solution that se

Re: Configuration Data vs. DirectoryIndex

2007-07-10 Thread Marc M. Adkins
wrote: On Sat, 07 Jul 2007 11:13:49 -0700 "Marc M. Adkins" <[EMAIL PROTECTED]> wrote: I have been struggling with DirectoryIndex behavior and configuration information from custom Perl directives for a while now. I've been scanning the web and posting here and thanks for th

Re: Configuration Data vs. DirectoryIndex

2007-07-10 Thread Frank Wiles
On Sat, 07 Jul 2007 11:13:49 -0700 "Marc M. Adkins" <[EMAIL PROTECTED]> wrote: > I have been struggling with DirectoryIndex behavior and configuration > information from custom Perl directives for a while now. I've been > scanning the web and posting he

Configuration Data vs. DirectoryIndex

2007-07-07 Thread Marc M. Adkins
I have been struggling with DirectoryIndex behavior and configuration information from custom Perl directives for a while now. I've been scanning the web and posting here and thanks for the previous responses. I now have a solution that seems to work. I have extracted a minimal set of

Re: DirectoryIndex vs. PerlTransHandler

2007-06-17 Thread Marc M. Adkins
Turns out the solution to my problem was quite simple. I replaced: DataSources Environment with: DataSources Environment and all of my problems resolved. I am no longer using any PerlTransHandler or PerlFixupHandler (as described in other emails), just DirectoryIndex

Re: DirectoryIndex vs. PerlTransHandler

2007-06-13 Thread Marc M. Adkins
Geoffrey Young wrote: My PerlResponseHandler works fine on files in the /tools directory for pages that are specified, for example: /tools/environment.page /tools/index.page If I use just the directory URI: /tools/ the DirectoryIndex specification works but I don't get any configuration

Re: DirectoryIndex vs. PerlTransHandler

2007-06-13 Thread Geoffrey Young
> My PerlResponseHandler works fine on files in the /tools directory for > pages that are specified, for example: > > /tools/environment.page > /tools/index.page > > If I use just the directory URI: > > /tools/ > > the DirectoryIndex specification works

DirectoryIndex vs. PerlTransHandler

2007-06-12 Thread Marc M. Adkins
n.org DocumentRoot${WEB_07_ROOT}/dimension DirectoryIndex index.page Alias /tools ${WEB_07_ROOT}/tools SetHandler perl-script PerlResponseHandler Data (never mind the macro expansion strings, I'm pre-processing the configur

DirectoryIndex

2007-01-01 Thread Rhett Creighton
I think that this is pretty import to add to the core features. I was able to get the patch to work, but I had to add: use Apache2::RequestUtil; > ** > mod_perl-1.99_16-3 > ** > DirectoryIndex index.pl please see this thread http://marc.theaims

Re: DirectoryIndex ignored when using perl-handler

2005-05-24 Thread Thomas Hilbig
--- Geoffrey Young <[EMAIL PROTECTED]> wrote: > this needs to be fixed. those constants are explicitly exported in > Fixup.pm, so if you're getting those warnings > something is wrong. the > pragmata you commented out is there for your > protection - if you need to > comment it out something else

Re: DirectoryIndex ignored when using perl-handler

2005-05-23 Thread Geoffrey Young
> My/Fixup.pm package exactly as > http://marc.theaimsgroup.com/?l=apache-modperl&m=111445150218566&w=2 > > Note 1: > - All references to Apache2 changed to Apache (fresh > install of Fedora Core 3 & one up2date > (httpd is 2.0.52 and mp2 is 1.99_16-3) > - no complaints > > Problem 1: >

Re: DirectoryIndex ignored when using perl-handler

2005-05-22 Thread Thomas Hilbig
--- Geoffrey Young <[EMAIL PROTECTED]> wrote: > since you're new to mod_perl it's probably not > obvious from that thread what > the solution is. > > > http://marc.theaimsgroup.com/?l=apache-modperl&m=111445150218566&w=2 > > the code at the bottom of that link (My::Fixup) > needs to be enabled

Re: DirectoryIndex ignored when using perl-handler

2005-05-20 Thread Geoffrey Young
Thomas Hilbig wrote: > I really apologize for resurrecting a thread that was > put to rest almost a month ago. I am just running > into this problem now, and I don't quite understand > what the fix is. I'm very new to writing a MP > handler. since you're new to mod_perl it's probably not obvio

Re: DirectoryIndex ignored when using perl-handler

2005-05-20 Thread Thomas Hilbig
I really apologize for resurrecting a thread that was put to rest almost a month ago. I am just running into this problem now, and I don't quite understand what the fix is. I'm very new to writing a MP handler. I am trying to write a (yet another) authentication handler for a directory that is t

Re: DirectoryIndex ignored when using perl-handler

2005-04-27 Thread Geoffrey Young
for the sake of the archives, william reported that the below fixup handler is "working like a champ" so I guess this is a workable solution for anyone in the same situation. and for anyone listening, rolling up a test tarball like william did was outstanding - I was more than happy (ecstatic, ac

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
ur last test > is wrong - your DirectoryIndex puts the index script ahead of everything > else, so the results should match "Hello" and not "welcome". Indeed you are correct about the bad test. I've incorporated the new fixup handler into my production config and i

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread Geoffrey Young
>>SetHandler is forcing the handler to be mod_perl, but really mod_dir needs >>to step in and handle the / -> DirectoryIndex conversion. so... what I would >>do is alter that fixup handler to do something like this >> >> if ($r->handler('perl-script&#

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
ong in my settings, but as I've reported before, these used to work under mp1. > SetHandler is forcing the handler to be mod_perl, but really mod_dir needs > to step in and handle the / -> DirectoryIndex conversion. so... what I would > do is alter that fixup handler to do so

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread Geoffrey Young
he module; he had no further > suggestions so I did some further debugging. It turns out that I'm not > having a problem with appending a trailing slash; Apache seems to be > doing this just fine with or without the Apache::Dir module. > > The problem I'm having is that A

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread William McKee
t I'm not having a problem with appending a trailing slash; Apache seems to be doing this just fine with or without the Apache::Dir module. The problem I'm having is that Apache is not setting the DirectoryIndex to a valid filename. It is instead complaining that it's trying to se

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread William McKee
On Tue, Apr 12, 2005 at 08:33:59PM -0400, Geoffrey Young wrote: > yes, because mp1 is configured to handle requests of type DIR_MAGIC_TYPE > whereas mp2 is not. this is a bug or a feature, depending on whether you > think mp1 was correct or not :) OK, that makes sense. I was beginning to worry ab

Re: DirectoryIndex ignored when using perl-handler

2005-04-12 Thread Geoffrey Young
dex) or disable > perl-handler, Apache is correctly serving the index file. Any ideas on > why Apache would appear to be ignoring my DirectoryIndex setting? yup :) > This configuration had been working under mp1. yes, because mp1 is configured to handle requests of type DIR_MAGIC_TY

DirectoryIndex ignored when using perl-handler

2005-04-12 Thread William McKee
as on why Apache would appear to be ignoring my DirectoryIndex setting? Here's the relevant part of my httpd.conf: AllowOverride None Options ExecCGI MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec DirectoryIndex index login index.html # default handler is perl-script Perl

[mp2] DirectoryIndex issues

2005-02-25 Thread Matthew Lineen
I've been trying to track down why the DirectoryIndex under Apache2+MP2 isn't working with the following configuration. From Google and listserv searching, the only suggestion I found was to add a "RedirectMatch permanent (.*)/$ $1/index.html" to my config, but this does