DokuWiki

It's better when it's simple

User Tools

Site Tools


config:basedir

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
config:basedir [2012-11-27 22:03]
schplurtz
config:basedir [2012-11-27 22:43] (current)
Klap-in layouting
Line 10: Line 10:
 Please, note that despite its name, this option is only vaguely related to files and directory. In fact, it is the path part of the [[wp>URL]] that leads to your DokuWiki installation. It frequently happens that the path part of the URL is also the relative directory from the web server root to the DokuWiki installation directory, hence the name. Please, note that despite its name, this option is only vaguely related to files and directory. In fact, it is the path part of the [[wp>URL]] that leads to your DokuWiki installation. It frequently happens that the path part of the URL is also the relative directory from the web server root to the DokuWiki installation directory, hence the name.
  
-If your DokuWiki is located at \\ +If your DokuWiki is located at ''%%http://www.someserver.org%%**/dokuwiki/**'',\\ you are likely to set this option to ''**/dokuwiki/**'' Be sure to have a leading and a trailing slash!
-''%%http://www.someserver.org%%**/dokuwiki/**'', you are likely to set this option to \\ +
-''**/dokuwiki/**'' Be sure to have a leading and a trailing slash!+
  
 If your DokuWiki installation is located directly inside the server root or a subdomain like\\  If your DokuWiki installation is located directly inside the server root or a subdomain like\\ 
-''%%http://www.subdomain.yourdomain.com%%'' you should set the basedir to\\  +''%%http://www.subdomain.yourdomain.com%%'' you should set the basedir to ''/'' a **single** slash.
-''/'' a **single** slash.+
  
-The general rule is : If your DokuWiki is located at \\ +The general rule is : If your DokuWiki is located at ''%%http://something.org%%**/whatever**'', you are likely to set this option to ''**/whatever/**'' Be sure to have a leading and a trailing slash!
-''%%http://something.org%%**/whatever**'', you are likely to set this option to \\ +
-''**/whatever/**'' Be sure to have a leading and a trailing slash!+
  
 {{:config:danger.png  }} **Danger**: Changing this option could make your wiki and the configuration menu inaccessible. {{:config:danger.png  }} **Danger**: Changing this option could make your wiki and the configuration menu inaccessible.
config/basedir.txt · Last modified: 2012-11-27 22:43 by Klap-in