dokuwiki:install_dokuwiki_with_apache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dokuwiki:install_dokuwiki_with_apache [2022/06/30 18:38] – 45.89.242.195 | dokuwiki:install_dokuwiki_with_apache [2022/06/30 20:14] (current) – 45.89.242.222 | ||
---|---|---|---|
Line 6: | Line 6: | ||
* [[DokuWiki: | * [[DokuWiki: | ||
* [[DokuWiki: | * [[DokuWiki: | ||
+ | * [[DokuWiki: | ||
+ | * [[DokuWiki: | ||
- | ---- | ||
- | ===== Install DokuWiki ===== | ||
- | |||
- | ===== 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 / | ||
- | </ | ||
- | |||
- | ...and populate that file with: | ||
- | |||
- | <file / | ||
- | ServerName dokuwiki.example.com | ||
- | DocumentRoot / | ||
- | |||
- | AllowOverride All | ||
- | Require all denied | ||
- | |||
- | Order allow,deny | ||
- | Deny from all | ||
- | |||
- | ErrorLog / | ||
- | CustomLog / | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
---- | ---- | ||
- | |||
- | Save and close the file. | ||
- | |||
- | ---- | ||
- | |||
- | |||
- | ====== Enable the new site ====== | ||
- | |||
- | <code bash> | ||
- | sudo a2ensite dokuwiki | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ====== Reload the Apache configuration files ====== | ||
- | |||
- | <code bash> | ||
- | sudo systemctl reload apache2 | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
dokuwiki/install_dokuwiki_with_apache.1656614311.txt.gz · Last modified: 2022/06/30 18:38 by 45.89.242.195