Package: ikiwiki
Version: 3.20130212
Severity: important

The following bug has been observed with testing, an upgrade to unstable
did not bring an improvement.

Setup:
I have an ikiwiki at https://sublab.org/wiki/ which supports editing via
CGI. It is served by an Apache which has "Alias /wiki/ /the/wiki/dir"
configured. It has the ikiwiki.cgi accessible at .../wiki/ikiwiki.cgi and
.../wiki/auth/ikiwiki.cgi, the latter using Apaches' HTTP authentication
features as described in Ikiwiki's documentation. The setup file is
available at https://git.sublab.org/ikiwiki/tree/wiki.setup?id=a52915d

Problem:
On pages generated by the CGI, most URLs generated by ikiwiki are off and
trigger 404.

While debugging the issue I found that this seems to happen for relative urls
only. The issue seems to be that ikiwiki assumes the wrong base for the links.

E.g. when you are at .../wiki/ikiwiki/formatting and edit the page, you will
get to to .../wiki/ikiwiki.cgi?do=edit but all links on that site will be
generated relative to .../wiki/ikiwiki/formatting.

This concerns e.g. the links to the formatting help and the breadcrumbs
navigation built by parentlinks.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl             3.69-2
ii  libhtml-scrubber-perl           0.09-1
ii  libhtml-template-perl           2.91-1
ii  libjson-perl                    2.53-1
ii  libtext-markdown-discount-perl  0.02-1
ii  liburi-perl                     1.60-1
ii  libyaml-libyaml-perl            0.38-3
ii  perl                            5.14.2-20

Versions of packages ikiwiki recommends:
ii  gcc [c-compiler]             4:4.7.2-1
ii  gcc-4.4 [c-compiler]         4.4.7-2
ii  gcc-4.5 [c-compiler]         4.5.3-12
ii  gcc-4.6 [c-compiler]         4.6.3-14
ii  gcc-4.7 [c-compiler]         4.7.2-5
ii  git [git-core]               1:1.7.10.4-1+wheezy1
ii  libauthen-passphrase-perl    0.008-1
ii  libc6-dev [libc-dev]         2.13-38
ii  libcgi-formbuilder-perl      3.08-1
ii  libcgi-session-perl          4.46-1
ii  libcrypt-ssleay-perl         0.58-1
ii  libgravatar-url-perl         1.06-1
ii  liblwpx-paranoidagent-perl   1.07-1
ii  libmail-sendmail-perl        0.79.16-1
ii  libnet-openid-consumer-perl  1.13-1
ii  librpc-xml-perl              0.76-3
ii  libterm-readline-gnu-perl    1.20-2+b1
ii  libtimedate-perl             1.2000-1
ii  libxml-simple-perl           2.20-1

Versions of packages ikiwiki suggests:
pn  dvipng                      <none>
ii  file                        5.11-2
ii  gettext                     0.18.1.1-9
pn  graphviz                    <none>
ii  libfile-mimeinfo-perl       0.16-1
pn  libhighlight-perl           <none>
ii  libhtml-tree-perl           5.02-1
ii  liblocale-gettext-perl      1.05-7+b1
ii  libmailtools-perl           2.09-1
pn  libnet-amazon-s3-perl       <none>
pn  libnet-inet6glue-perl       <none>
pn  libsearch-xapian-perl       <none>
pn  libsort-naturally-perl      <none>
pn  libsparkline-php            <none>
pn  libtext-csv-perl            <none>
pn  libtext-multimarkdown-perl  <none>
pn  libtext-textile-perl        <none>
pn  libtext-typography-perl     <none>
pn  libtext-wikicreole-perl     <none>
pn  libtext-wikiformat-perl     <none>
pn  libxml-feed-perl            <none>
pn  libxml-writer-perl          <none>
ii  perlmagick                  8:6.7.7.10-5
pn  po4a                        <none>
pn  polygen                     <none>
ii  python                      2.7.3-4
pn  python-docutils             <none>
ii  texlive                     2012.20120611-5
pn  tidy                        <none>
pn  viewvc | gitweb | viewcvs   <none>
pn  xapian-omega                <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to