Hontvári József Levente, 2013-10-25 13:48+0200:
I would add, that creating the link
/etc/apache2/conf-available/dokuwiki.conf is not enough if dokuwiki is
installed in the root path, e.g. wiki.example.com. In that case
javascript-common.conf, which is dependency, will be read only after
dokuwiki.conf. The order is important, the javascript-common "Alias
/javascript /usr/share/javascript/" directive must come first, before
the  dokuwiki "Alias / /usr/share/dokuwiki/" directive. Using the link
name zzzdokuwiki.conf, for example, solves the ordering issue.

Are you sure about that? For what I understand, order is not relevant at all, since all these only defines what the web server will answer to client's requests: requests to think in /dokuwiki will use one alias, and thos in /javascript will use the other, no matter what request is made first by the browser…

I do not know Apache2 enough, but I guess a more elegant solution would
be to adding dokuwiki to apache as a virtual host, instead of a server
level configuration. In that case the name of the link would not affect
the behavior.

No, a virtual host would not be acceptable and is better left to the user when he polishes his installation, since we cannot guess if he will want an IP address-based virtual host or a name-based virtual host, and, most importantly, all these require network configuration, while the current default path-based solution just works once the package is installed. Or rather, will work when I fix it, that is. :-)

--
 ,--.
: /` )   Tanguy Ortolo      <xmpp:tan...@ortolo.eu>
| `-'    Debian Developer   <irc://irc.oftc.net/Tanguy>
 \_

Attachment: signature.asc
Description: Digital signature

Reply via email to