dokuwiki:install_dokuwiki_with_apache:configure_apache

Differences

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

Link to this comparison view

dokuwiki:install_dokuwiki_with_apache:configure_apache [2022/06/30 18:38] – created 45.89.242.195dokuwiki:install_dokuwiki_with_apache:configure_apache [2022/06/30 18:39] (current) 45.89.242.195
Line 1: Line 1:
 ====== 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. 
 +
 +<code bash>
 +sudo vi /etc/apache2/sites-available/dokuwiki.conf
 +</code>
 +
 +...and populate that file with:
 +
 +<file /etc/apache2/sites-available/dokuwiki.conf>
 +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
 +</file>
 +
 +<WRAP info>
 +**NOTE:**  If a domain is being used, ensure to change the **ServerName** option.
 +</WRAP>
 +
 +----
 +
 +Save and close the file.
 +
 +----
 +
  
dokuwiki/install_dokuwiki_with_apache/configure_apache.1656614328.txt.gz · Last modified: 2022/06/30 18:38 by 45.89.242.195

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki