- Turn <screen> into <programlisting>
- Indent code Reviewed by: wblock Differential Revision: https://reviews.freebsd.org/D6725
This commit is contained in:
parent
ac5a179400
commit
060ff7feef
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48895
1 changed files with 8 additions and 8 deletions
|
@ -4633,7 +4633,7 @@ $include Kexample.com.+005+nnnnn.ZSK.key ; ZSK</programlisting>
|
||||||
add the following entries to
|
add the following entries to
|
||||||
<filename>httpd.conf</filename>:</para>
|
<filename>httpd.conf</filename>:</para>
|
||||||
|
|
||||||
<screen><VirtualHost *>
|
<programlisting><VirtualHost *>
|
||||||
ServerName <replaceable>www.domain.tld</replaceable>
|
ServerName <replaceable>www.domain.tld</replaceable>
|
||||||
DocumentRoot <replaceable>/www/domain.tld</replaceable>
|
DocumentRoot <replaceable>/www/domain.tld</replaceable>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
@ -4641,7 +4641,7 @@ DocumentRoot <replaceable>/www/domain.tld</replaceable>
|
||||||
<VirtualHost *>
|
<VirtualHost *>
|
||||||
ServerName <replaceable>www.someotherdomain.tld</replaceable>
|
ServerName <replaceable>www.someotherdomain.tld</replaceable>
|
||||||
DocumentRoot <replaceable>/www/someotherdomain.tld</replaceable>
|
DocumentRoot <replaceable>/www/someotherdomain.tld</replaceable>
|
||||||
</VirtualHost></screen>
|
</VirtualHost></programlisting>
|
||||||
|
|
||||||
<para>For each virtual host, replace the values for
|
<para>For each virtual host, replace the values for
|
||||||
<literal>ServerName</literal> and
|
<literal>ServerName</literal> and
|
||||||
|
@ -4859,14 +4859,14 @@ AddModule mod_php5.c
|
||||||
<filename>httpd.conf</filename>, specifying the full path to
|
<filename>httpd.conf</filename>, specifying the full path to
|
||||||
the project directory:</para>
|
the project directory:</para>
|
||||||
|
|
||||||
<screen><Location "/">
|
<programlisting><Location "/">
|
||||||
SetHandler python-program
|
SetHandler python-program
|
||||||
PythonPath "['<replaceable>/dir/to/the/django/packages/</replaceable>'] + sys.path"
|
PythonPath "['<replaceable>/dir/to/the/django/packages/</replaceable>'] + sys.path"
|
||||||
PythonHandler django.core.handlers.modpython
|
PythonHandler django.core.handlers.modpython
|
||||||
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
|
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
|
||||||
PythonAutoReload On
|
PythonAutoReload On
|
||||||
PythonDebug On
|
PythonDebug On
|
||||||
</Location></screen>
|
</Location></programlisting>
|
||||||
|
|
||||||
<para>Refer to <uri
|
<para>Refer to <uri
|
||||||
xlink:href="https://docs.djangoproject.com/en/1.6/">https://docs.djangoproject.com/en/1.6/</uri>
|
xlink:href="https://docs.djangoproject.com/en/1.6/">https://docs.djangoproject.com/en/1.6/</uri>
|
||||||
|
|
Loading…
Reference in a new issue