User Tools

Site Tools


dokuwiki:install_dokuwiki_with_apache:configure_apache

DokuWiki - Install DokuWiki with Apache - Configure Apache

At the moment, Apache has no way of knowing about the new installation.

  • To make it aware, create a configuration file for DokuWiki.
sudo vi /etc/apache2/sites-available/dokuwiki.conf

…and populate that file with:

ServerName dokuwiki.example.com
DocumentRoot /var/www/html/dokuwiki
 
AllowOverride All
Require all denied
 
Order allow,deny
Deny from all
 
ErrorLog /var/log/apache2/dokuwiki_error.log
CustomLog /var/log/apache2/dokuwiki_access.log combined

NOTE: If a domain is being used, ensure to change the ServerName option.


Save and close the file.


dokuwiki/install_dokuwiki_with_apache/configure_apache.txt · Last modified: 2022/06/30 18:39 by 45.89.242.195

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki