DokuWiki

It's better when it's simple

User Tools

Site Tools


config:baseurl

Configuration Setting: baseurl

URL to server including protocol - blank for autodetect

  • Type: String
  • Default:

The path you should set here, is the path of server root. Eg. if your wiki is available at https://www.yourserver.com:port/dokuwiki/ you should set baseurl to https://www.yourserver.com:port, ending without slash.

Note: The ':port' portion is relevant only if the web server is running on a non-standard port (i.e. not port 80). You can omit that portion if you are running on the standard port.

:!: If your server is configured to respond to arbitrary host headers (eg. you're not using virtual hosts or DokuWiki is running on the first configured host) it is recommended to set the canonical server name here to avoid server name address spoofing attacks (refer to 1709).

Danger: Changing this option could make your wiki and the configuration menu inaccessible.

See also

config/baseurl.txt · Last modified: 2022-11-16 09:05 by gerardnico

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki