Page MenuHomeFreeBSD

D6725.id17316.diff
No OneTemporary

D6725.id17316.diff

Index: head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml
+++ head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml
@@ -4633,15 +4633,15 @@
add the following entries to
<filename>httpd.conf</filename>:</para>
- <screen>&lt;VirtualHost *&gt;
-ServerName <replaceable>www.domain.tld</replaceable>
-DocumentRoot <replaceable>/www/domain.tld</replaceable>
+ <programlisting>&lt;VirtualHost *&gt;
+ ServerName <replaceable>www.domain.tld</replaceable>
+ DocumentRoot <replaceable>/www/domain.tld</replaceable>
&lt;/VirtualHost&gt;
&lt;VirtualHost *&gt;
-ServerName <replaceable>www.someotherdomain.tld</replaceable>
-DocumentRoot <replaceable>/www/someotherdomain.tld</replaceable>
-&lt;/VirtualHost&gt;</screen>
+ ServerName <replaceable>www.someotherdomain.tld</replaceable>
+ DocumentRoot <replaceable>/www/someotherdomain.tld</replaceable>
+&lt;/VirtualHost&gt;</programlisting>
<para>For each virtual host, replace the values for
<literal>ServerName</literal> and
@@ -4859,14 +4859,14 @@
<filename>httpd.conf</filename>, specifying the full path to
the project directory:</para>
- <screen>&lt;Location "/"&gt;
+ <programlisting>&lt;Location "/"&gt;
SetHandler python-program
PythonPath "['<replaceable>/dir/to/the/django/packages/</replaceable>'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonAutoReload On
PythonDebug On
-&lt;/Location&gt;</screen>
+&lt;/Location&gt;</programlisting>
<para>Refer to <uri
xlink:href="https://docs.djangoproject.com/en/1.6/">https://docs.djangoproject.com/en/1.6/</uri>

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 18, 1:20 PM (6 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29871579
Default Alt Text
D6725.id17316.diff (1 KB)

Event Timeline