DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

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 http://www.yourserver.com:port/dokuwiki/ you should set baseurl to http://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: 2016-11-22 20:15 by andi