dokuwikipi_-_host_your_own_wiki_site_like_this_one
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dokuwikipi_-_host_your_own_wiki_site_like_this_one [2016/11/07 22:28] – walkeradmin | dokuwikipi_-_host_your_own_wiki_site_like_this_one [2023/03/10 16:56] (current) – walkeradmin | ||
---|---|---|---|
Line 73: | Line 73: | ||
sudo nano / | sudo nano / | ||
\\ | \\ | ||
- | Add this section\\ | ||
\\ | \\ | ||
- | < | + | Put this at the end, and comment out any other similar entries. |
- | \\ | + | |
- | Options Indexes FollowSymLinks | + | |
- | \\ | + | |
- | AllowOverride All | + | |
- | \\ | + | |
- | Require all granted | + | |
\\ | \\ | ||
+ | < | ||
+ | < | ||
+ | Options Indexes FollowSymLinks | ||
+ | AllowOverride All | ||
+ | Require all granted | ||
</ | </ | ||
+ | </ | ||
\\ | \\ | ||
\\ | \\ | ||
- | | + | |
- | \\ | + | / |
- | You should have a section that looks like this: | + | |
\\ | \\ | ||
- | | + | <file> |
- | | + | < |
- | | + | |
- | </ | + | |
- | < | + | # redirection URLs. In the context of virtual hosts, the ServerName |
- | | + | # specifies what hostname must appear in the request' |
- | | + | # match this virtual host. For the default virtual host (this file) this |
- | | + | # value is not decisive as it is used as a last resort host regardless. |
- | | + | # However, you must set it for any further virtual host explicitly. |
- | </Directory> | + | #ServerName www.example.com |
- | \\ | + | |
- | For some reason I also had to duplicate this in the following | + | ServerAdmin al@nwalker.co.uk |
- | | + | ServerName wiki.alanwalker.eu |
- | | + | DocumentRoot |
+ | DirectoryIndex doku.php | ||
+ | </ | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | # modules, e.g. | ||
+ | | ||
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/error.log | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | |||
+ | | ||
+ | # enabled or disabled at a global level, it is possible | ||
+ | # include a line for only one particular virtual host. For example | ||
+ | # following | ||
+ | | ||
+ | #Include conf-available/serve-cgi-bin.conf | ||
+ | |||
+ | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet | ||
+ | </file> | ||
\\ | \\ | ||
Don't forget to restart Apache before testing these changes\\ | Don't forget to restart Apache before testing these changes\\ | ||
Line 122: | Line 141: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {DOCUMENT_ROOT}/ | + | |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
- | •{DOCUMENT_ROOT}/ | + | •{DOCUMENT_ROOT}/ |
\\ | \\ | ||
\\ | \\ |
dokuwikipi_-_host_your_own_wiki_site_like_this_one.1478557701.txt.gz · Last modified: 2023/03/09 22:35 (external edit)