34 lines
1.4 KiB
XML
34 lines
1.4 KiB
XML
|
<chapter id="lj.install.ljconfig">
|
||
|
<chapterinfo>
|
||
|
<title>Configuring ljconfig.pl</title>
|
||
|
</chapterinfo>
|
||
|
<title>Configuring ljconfig.pl</title>
|
||
|
<para>
|
||
|
You need to make a LiveJournal configuration file. There's an
|
||
|
example <literal>ljconfig.pl</literal> in the doc directory by the
|
||
|
name of "<filename>ljconfig.pl.txt</filename>". You need to copy
|
||
|
this file to <filename>cgi-bin/ljconfig.pl</filename> and then
|
||
|
edit it to suit your needs.
|
||
|
</para>
|
||
|
<para>
|
||
|
<screen>
|
||
|
<prompt>$</prompt> <userinput>cd <replaceable>/home/lj</replaceable></userinput>
|
||
|
<prompt>$</prompt> <userinput>cp doc/ljconfig.pl.txt cgi-bin/ljconfig.pl</userinput></screen>
|
||
|
</para>
|
||
|
<para>
|
||
|
The reason it's not there already is so that future upgrades don't
|
||
|
destroy your configuration. The end of
|
||
|
<filename>ljconfig.pl</filename> reads in
|
||
|
<filename>ljdefaults.pl</filename> so that if we add new options,
|
||
|
<filename>ljdefaults.pl</filename> will be updated and will set
|
||
|
sane defaults. After an upgrade you want to glance at
|
||
|
<filename>ljdefaults.pl</filename> (or the original
|
||
|
<filename>doc/ljconfig.pl.txt</filename>) and see if there are any
|
||
|
new options you feel like setting.
|
||
|
</para>
|
||
|
&lj.install.ljconfig.vars;
|
||
|
&lj.install.ljconfig.helpurls;
|
||
|
&lj.install.ljconfig.disabled;
|
||
|
&lj.install.ljconfig.dbinfo;
|
||
|
&lj.install.ljconfig.caps;
|
||
|
</chapter>
|