Both sides previous revisionPrevious revisionNext revision | Previous revision |
dokuwikipi_-_host_your_own_wiki_site_like_this_one [2016/11/07 22:53] – walkeradmin | dokuwikipi_-_host_your_own_wiki_site_like_this_one [2023/03/10 16:56] (current) – walkeradmin |
---|
sudo nano /etc/apache2/apache2.conf | sudo nano /etc/apache2/apache2.conf |
\\ | \\ |
| \\ |
| Put this at the end, and comment out any other similar entries. |
| \\ |
| <file> |
| <Directory /home/pi/dokuwiki> |
| Options Indexes FollowSymLinks |
| AllowOverride All |
| Require all granted |
| </Directory> |
| </file> |
| \\ |
| \\ |
| Now edit the following file: |
| /etc/apache2/sites-enabled/000-default.conf |
| \\ |
<file> | <file> |
<VirtualHost *:80> | <VirtualHost *:80> |
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet |
</file> | </file> |
\\ | |
\\ | |
ENSURE TO CHANGE AllowOverride to All (default) is none | |
\\ | |
You should have a section that looks like this: | |
\\ | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
<Directory /home/pi/dokuwiki> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from al | |
</Directory> | |
\\ | |
For some reason I also had to duplicate this in the following file: | |
/etc/apache2/sites-enabled/000-default.conf | |
Change the DocumentRoot line to /home/pi/dokuwiki | |
\\ | \\ |
Don't forget to restart Apache before testing these changes\\ | Don't forget to restart Apache before testing these changes\\ |
\\ | \\ |
\\ | \\ |
{DOCUMENT_ROOT}/conf/ is not writable by DokuWiki. You need to fix the permission settings of this directory! | {DOCUMENT_ROOT}/conf/ is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/pages is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/pages is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/attic is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/attic is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/media is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/media is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/media_attic is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/media_attic is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/media_meta is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/media_meta is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/meta is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/meta is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/cache is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/cache is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/locks is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/locks is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/index is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/index is not writable by DokuWiki. You need to fix the permission settings of this directory! |
•{DOCUMENT_ROOT}/data/tmp is not writable by DokuWiki. You need to fix the permission settings of this directory! | •{DOCUMENT_ROOT}/data/tmp is not writable by DokuWiki. You need to fix the permission settings of this directory! |
\\ | \\ |
\\ | \\ |