Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.