Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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


in their browser.

share|improve this question

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.

share|improve this answer
Thanks slhck, I'll try that tomorrow. From the concise and informative reply and the amendments you made I'm confident that it's the correct answer.Thanks. Dave. – Dave Jul 1 '13 at 20:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.