Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: pardus [...] cpan.org
Cc:
AdminCc:

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



Subject: KwikiBaseDir path appears as page name
I tried Kwiki::ModPerl in an attempt to speed up my kwiki a bit but no luck so far. It appears that somehow the path to the directory where the kwiki is installed ends up as the page name (and being an empty page this results in a n edit form), no matter which page I ask for. Using apache2 and the configuration copy-pasted from the pod.
[guest - Tue May 3 04:29:17 2005]: Show quoted text
> I tried Kwiki::ModPerl in an attempt to speed up my kwiki a bit but no > luck so far. > > It appears that somehow the path to the directory where the kwiki is > installed ends up as the page name (and being an empty page this > results in a n edit form), no matter which page I ask for. > > Using apache2 and the configuration copy-pasted from the pod.
Could you attach the exact httpd.conf that you're using ? I gave this a test, but the situation you described showed up only if I don't have "PerlSetVar KwikiBaseDir /path/to/kwiki/dir" in my http configuration. I wonder if I could get the proper value of KwikiBaseDir fomr Apache.pm, so that it's not necessary to set KwikiBaseDir variable anymore. Cheers, Kang-min Liu
[guest - Sat May 7 05:26:59 2005]: Show quoted text
> > Using apache2 and the configuration copy-pasted from the pod.
> > Could you attach the exact httpd.conf that you're using ? > I gave this a test, but the situation you described showed up > only if I don't have "PerlSetVar KwikiBaseDir /path/to/kwiki/dir" > in my http configuration.
BTW, I tested with apache 1, not apache 2. But it should not matter because it seems to be the $KwikiBaseDir that is missing Cheers, Kang-min Liu
Show quoted text
> Could you attach the exact httpd.conf that you're using ? > I gave this a test, but the situation you described showed up > only if I don't have "PerlSetVar KwikiBaseDir /path/to/kwiki/dir" > in my http configuration.
configuration is copy-pasted from the documentation, KwikiBaseDir is set correctly I now found that the problem only occurs when I do not give a page name; so if I request "../index.cgi" it goes wrong, but if I request "../index.cgi?HomePage" all works. Could it be that you need to set the default page name (main_page from config.yaml) somewhere ?
[PARDUS - Sat May 7 07:39:31 2005]: Show quoted text
> > Could you attach the exact httpd.conf that you're using ? > > I gave this a test, but the situation you described showed up > > only if I don't have "PerlSetVar KwikiBaseDir /path/to/kwiki/dir" > > in my http configuration.
> > configuration is copy-pasted from the documentation, KwikiBaseDir is set > correctly > > I now found that the problem only occurs when I do not give a page name; > so if I request "../index.cgi" it goes wrong, but if I request > "../index.cgi?HomePage" all works. > > Could it be that you need to set the default page name (main_page from > config.yaml) somewhere ?
Turns out that if your KwikiBaseDir value contain a trailing "/" , it would trigger this bug. You can remove it to see if it works for you. And I'll try to automatically remove it from the code so that it won't just break. Cheers Kang-min Liu