dokuwiki-addsite(1)
π dokuwiki-addsite β bestie edition π
okay so this is a page from the General Commands Manual section, and it's all about dokuwiki-addsite(1). it spins up a brand new site on top of your existing DokuWiki engine. no cap, it's giving "wiki farm manager" energy. πΎβ¨
πΈ NAME πΈ
dokuwiki-addsite β bestie, this creates a whole new site that's driven by DokuWiki π«Ά
β¨ SYNOPSIS β¨
dokuwiki-addsite ['OPTIONS'] {'SITE_NAME'}
π DESCRIPTION π
so, DokuWiki? it's a standards compliant, simple to use wiki, and its whole main character moment is creating documentation of literally any kind. π
and dokuwiki-addsite? it creates the file hierarchy and the configuration you need to define a new site driven by the installed DokuWiki engine. boom. new site. slay. π
π OPTIONS π
--no-adminβ this makes it so it doesn't create any administrator user, and it will not ask you for a password. no password prompt, no admin account, just vibes. π-h,--helpβ shows you a help message and then exits. classic. helpful icon behavior. πSITE_NAMEβ the name of the site you're creating, and okay this one has layers, so let's break it down:- for a virtual host-based setup, it reflects the corresponding hostname. like, say your site is reachable at an address such as <http://wiki.project.example.com:8080/foo/bar/> β then
SITE_NAMEcan be eitherproject.example.com,wiki.project.example.com,wiki.project.example.com.foo.bar, or even8080.wiki.project.example.com.foo.bar. yes really, all of those are valid, pick your fave. π - for a directory or htaccess-based setup, this is the corresponding site identifier. for instance, if your site is reachable at an address such as <http://wiki.example.com/project/>, rewritten by the web server as
doku.php?animal=project, then it is simplyproject. that's it, that's the whole name. π
- for a virtual host-based setup, it reflects the corresponding hostname. like, say your site is reachable at an address such as <http://wiki.project.example.com:8080/foo/bar/> β then
π₯ NOTES π₯
the site configuration gets stored in /etc/dokuwiki/farm/SITE_NAME/, and the data gets stored in /var/lib/dokuwiki/farm/SITE_NAME/, exactly as it says in the site configuration. know your paths, bestie. π
in a virtual host-based setup, if you need to make a given site accessible at several URLs, you can symlink its configuration directory to another name. and listen β it is not necessary to symlink the data directory. save yourself the effort. π¦
if you need to rename a site, you can rename the configuration and data directories, and then edit the configuration so it points to the new data directory. easy. periodt. π
π BUGS π
ngl, there is no check done against the SITE_NAME, so just avoid names like ../../../etc. okay?? please. π
and if you find any bug, report it to the Debian BTS. ty bestie, you're doing amazing sweetie. π«Ά
π SEE ALSO π
π AUTHORS π
Tanguy Ortolo <<tanguy+debian@ortolo.eu>>
and that's the whole page, bestie!! this one came from the DokuWiki manual, version dokuwiki, and it's the dokuwiki-addsite(1) page. mwah. go forth and farm those wikis. πβ¨π
π¦ where this page comes from
- ubuntu resolute: dokuwiki-farm 2025-05-14.b+dfsg-5 Β· GPL-2.0-only
- ubuntu stonking: dokuwiki-farm 2026-07-14.a+dfsg-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms