3

I have a vanilla install of DokuWiki on CentOS 6.4 with Apache. The internal URL is

http://wiki/dokuwiki

How do I go about configuring Apache/DokuWiki to not require the /dokuwiki part? I want users just to be able to go to:

http://wiki 

in their browser.

slhck
  • 235,242
Dave
  • 66

1 Answers1

3

Look for the DocumentRoot directive in your Apache configuration files. It should usually be in one of these:

  • /etc/apache2/sites-available/default
  • /etc/apache2/httpd.conf
  • /etc/apache2/apache2.conf

It should point to /var/www, but if your Wiki is saved in /var/www/dokuwiki, then this should be your server's document root, and all pages will be served relative to that directory.

slhck
  • 235,242