Now I understand. It's about creating whole DokuWiki instances in their own subdirectories. (Ingeniously simple procedure)
I just tested this with DokuWiki on a stick and it seems to work.
You don't even need a special server configuration or DNS setup. At least not if you accept that the individual directories are parts of the URL behind the top-level domain.
Here is another trick in this context: I configured the DNS entry of a subdomain at my hosting provider to point to the (fixed) IP address of my desktop computer. (An IP address that exists only within my local network, of course)
So, now I can reach my DokuWiki on a Stick with a normal domain and subdomain in my local network.
And with the subdirectory trick, I can now also run additional DokuWiki instances.
Now I have e.g. the following three DokuWiki instances on my desktop PC, which are completely independent from each other, except that they all have to work with the same PHP version:
http://subdomain.domain.top
(my first DokuWiki-instance)
http://subdomain.domain.top/mysecond-dokuwiki
http://subdomain.domain.top/mythird-dokuwiki
mysecond-dokuwiki
and mythird-dokuwiki
are subdirectories in the root directory of my (first) DokuWiki On-A-Stick instance. That's all.
Without my special DNS setup, the URLs of the three DokuWikis would be as follows for example:
http://192.168.1.1
(my first DokuWiki-instance)
http://192.168.1.1/mysecond-dokuwiki
http://192.168.1.1/mythird-dokuwiki
- Michael Sy.
Edit: What I have not mentioned yet: In file \DokuWikiStick\server\conf\httpd.conf
I changed Listen 8800
to Listen 80
. (And run.cmd
must also be adjusted accordingly. I have taken the browser call out of there completely.)