Date: Sat, 4 Jun 2016 19:54:44 +0000 (UTC) From: Bjoern Heidotting <bhd@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48895 - head/en_US.ISO8859-1/books/handbook/network-servers Message-ID: <201606041954.u54JsiAM016388@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bhd Date: Sat Jun 4 19:54:44 2016 New Revision: 48895 URL: https://svnweb.freebsd.org/changeset/doc/48895 Log: - Turn <screen> into <programlisting> - Indent code Reviewed by: wblock Differential Revision: https://reviews.freebsd.org/D6725 Modified: head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml Sat Jun 4 12:09:51 2016 (r48894) +++ head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml Sat Jun 4 19:54:44 2016 (r48895) @@ -4633,15 +4633,15 @@ $include Kexample.com.+005+nnnnn.ZSK.key add the following entries to <filename>httpd.conf</filename>:</para> - <screen><VirtualHost *> -ServerName <replaceable>www.domain.tld</replaceable> -DocumentRoot <replaceable>/www/domain.tld</replaceable> + <programlisting><VirtualHost *> + ServerName <replaceable>www.domain.tld</replaceable> + DocumentRoot <replaceable>/www/domain.tld</replaceable> </VirtualHost> <VirtualHost *> -ServerName <replaceable>www.someotherdomain.tld</replaceable> -DocumentRoot <replaceable>/www/someotherdomain.tld</replaceable> -</VirtualHost></screen> + ServerName <replaceable>www.someotherdomain.tld</replaceable> + DocumentRoot <replaceable>/www/someotherdomain.tld</replaceable> +</VirtualHost></programlisting> <para>For each virtual host, replace the values for <literal>ServerName</literal> and @@ -4859,14 +4859,14 @@ AddModule mod_php5.c <filename>httpd.conf</filename>, specifying the full path to the project directory:</para> - <screen><Location "/"> + <programlisting><Location "/"> 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 -</Location></screen> +</Location></programlisting> <para>Refer to <uri xlink:href="https://docs.djangoproject.com/en/1.6/">https://docs.djangoproject.com/en/1.6/</uri>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041954.u54JsiAM016388>