|
120.
|
|
|
data_dir = '/org/moin/mywiki/data'
|
|
|
|
(no translation yet)
|
|
|
|
121.
|
|
|
to
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:157(para)
|
|
122.
|
|
|
data_dir = '/usr/share/moin/mywiki/data'
|
|
|
|
data_dir = '/usr/share/moin/mywiki/data'
|
|
Translated by
acty
|
|
Reviewed by
Cheng-Chia Tseng
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:161(programlisting)
|
|
123.
|
|
|
If the <filename>/etc/moin/mywiki.py</filename> file does not exists, you should copy <filename>/etc/moin/moinmaster.py</filename> file to <filename>/etc/moin/mywiki.py</filename> file and do the above mentioned change.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:172(para)
|
|
124.
|
|
|
If you have named your Wiki as <emphasis>my_wiki_name</emphasis> you should insert a line <quote>("my_wiki_name", r".*")</quote> in <filename>/etc/moin/farmconfig.py</filename> file after the line <quote>("mywiki", r".*")</quote>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:181(para)
|
|
125.
|
|
|
Once you have configured <application>MoinMoin</application> to find your first Wiki application <emphasis>mywiki</emphasis>, you should configure <application>apache2</application> and make it ready for your Wiki application.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:189(para)
|
|
126.
|
|
|
You should add the following lines in <filename>/etc/apache2/sites-available/default</filename> file inside the <quote><VirtualHost *></quote> tag:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:196(para)
|
|
127.
|
|
|
### moin
ScriptAlias /mywiki "/usr/share/moin/mywiki/moin.cgi"
alias /wiki "/usr/share/moin/htdocs"
<Directory /usr/share/moin/htdocs>
Order allow,deny
allow from all
</Directory>
### end moin
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
128.
|
|
|
Once you configure the <application>apache2</application> web server and make it ready for your Wiki application, you should restart it. You can run the following command to restart the <application>apache2</application> web server:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:220(para)
|
|
129.
|
|
|
sudo /etc/init.d/apache2 restart
|
|
|
|
sudo /etc/init.d/apache2 restart
|
|
Translated by
acty
|
|
Reviewed by
Cheng-Chia Tseng
|
|
|
|
Located in
serverguide/C/web-servers.xml:267(command) serverguide/C/web-servers.xml:285(command) serverguide/C/web-servers.xml:538(command) serverguide/C/web-servers.xml:547(command) serverguide/C/web-servers.xml:606(command) serverguide/C/mail.xml:932(command) serverguide/C/lamp-applications.xml:228(command)
|