Skip Menu |

This queue is for tickets about the Kwiki-ModPerl CPAN distribution.

Report information
The Basics
Id: 7413
Status: resolved
Priority: 0/
Queue: Kwiki-ModPerl

People
Owner: ian [...] cpan.org
Requestors: SMPETERS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problems with Apache configuration
I ran into the issue mentioned in the POD regarding seeing the source for the Kwiki index.cgi. The issue can be solved (on Apache 2 at least) with the following configuration. The change is to use Directory rather than Location. <Directory /kwiki> SetHandler perl-script PerlSetVar KwikiBaseDir /path/to/webroot/kwiki PerlHandler +Kwiki::ModPerl </Directory>
Date: Thu, 19 Aug 2004 18:10:56 -0400
From: Ian Langworth <bass [...] ccs.neu.edu>
To: via RT <bug-Kwiki-ModPerl [...] rt.cpan.org>
Subject: Re: [cpan #7413] Problems with Apache configuration
RT-Send-Cc:
On 19.Aug.2004 01:19PM -0400, via RT wrote: Show quoted text
> I ran into the issue mentioned in the POD regarding seeing the > source for the Kwiki index.cgi. The issue can be solved (on > Apache 2 at least) with the following configuration. The > change is to use Directory rather than Location.
I'm afraid that I'm very unfamiliar with Apache 2. Does <Directory> actually change meaning from version 1 to version 2? In version 1, your example would affect a "kwiki" directory at the root of the filesystem. In Apache 1, it also ends up executing the CGI script, which is not what we want to do. -- Ian Langworth Project Guerrilla Northeastern University College of Computer and Information Science
Shoot, you're right. The problem I ran into (I'm now looking at version 0.03), is line 31. As shown in the documentation, I set the KwikiBaseDir to /path/to/webroot/kwiki. Unfortunately, $r->filename had /path/to/webroot/kwiki/ for me, so I kept receiving a not found. Is this a documentation issue or a subtle difference between mod_perl 1 and 2?
Date: Fri, 20 Aug 2004 10:48:53 -0400
From: Ian Langworth <bass [...] ccs.neu.edu>
To: via RT <bug-Kwiki-ModPerl [...] rt.cpan.org>
Subject: Re: [cpan #7413] Problems with Apache configuration
RT-Send-Cc:
On 20.Aug.2004 10:22AM -0400, via RT wrote: Show quoted text
> As shown in the documentation, I set the KwikiBaseDir to > /path/to/webroot/kwiki. Unfortunately, $r->filename had > /path/to/webroot/kwiki/ for me, so I kept receiving a not > found.
Crud, I was afraid of this. Show quoted text
> Is this a documentation issue or a subtle difference between > mod_perl 1 and 2?
I think so. I've tried creating a patch for this -- try this module out: http://langworth.com/downloads/tmp/Kwiki-ModPerl-0.04_01.tar.gz -- Ian Langworth Project Guerrilla Northeastern University College of Computer and Information Science
[bass@ccs.neu.edu - Fri Aug 20 10:48:58 2004]: Show quoted text
> I think so. I've tried creating a patch for this -- try this > module out: > > http://langworth.com/downloads/tmp/Kwiki-ModPerl-0.04_01.tar.gz
Ping again! Any luck? -- Ian Langworth Project Guerrilla Northeastern University College of Computer and Information Science