Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/debian-handbook/11_network-services/zh_Hans/units/?format=api&page=4
https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/units/?format=api&page=5", "previous": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/units/?format=api&page=3", "results": [ { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "\n[mail.falcot.com] joe:LyinIsji" ], "previous_source": "", "target": [ "\n[mail.falcot.com] joe:LyinIsji" ], "id_hash": 1286184919194590940, "content_hash": 1286184919194590940, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 405, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14767443/?format=api", "priority": 100, "id": 4695915, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=91d9725e980ededc", "url": "https://hosted.weblate.org/api/units/4695915/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-08-28T11:28:08+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "As for all Postfix maps, this file must be turned into <filename>/etc/postfix/sasl_passwd.db</filename> with the <command>postmap</command> command." ], "previous_source": "", "target": [ "对于所有的 Postfix 映射,这个文件必须用 <command>postmap</command> 命令转换为 <filename>/etc/postfix/sasl_passwd.db</filename>。" ], "id_hash": 811129465626488344, "content_hash": 811129465626488344, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 406, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://hosted.weblate.org/api/units/14751000/?format=api", "priority": 100, "id": 4695916, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=8b41b5f39184ee18", "url": "https://hosted.weblate.org/api/units/4695916/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:43+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Web Server (HTTP)" ], "previous_source": "", "target": [ "Web 服务器(HTTP)" ], "id_hash": -5807970850967247047, "content_hash": -5807970850967247047, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 407, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/14751001/?format=api", "priority": 100, "id": 4695917, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=2f65f14872462739", "url": "https://hosted.weblate.org/api/units/4695917/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:43+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><command>apache</command></primary>" ], "previous_source": "", "target": [ "<primary><command>apache</command></primary>" ], "id_hash": -6560678953310575231, "content_hash": -6560678953310575231, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 409, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751002/?format=api", "priority": 100, "id": 4695919, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=24f3c9407e8aa581", "url": "https://hosted.weblate.org/api/units/4695919/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:45+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary>server</primary><secondary>web</secondary>" ], "previous_source": "", "target": [ "<primary>服务器</primary><secondary>web</secondary>" ], "id_hash": -6625952957673325583, "content_hash": -6625952957673325583, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 410, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751003/?format=api", "priority": 100, "id": 4695920, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=240be2e40b6ebbf1", "url": "https://hosted.weblate.org/api/units/4695920/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:45+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary>server</primary><secondary>HTTP</secondary>" ], "previous_source": "", "target": [ "<primary>服务器</primary><secondary>HTTP</secondary>" ], "id_hash": 1445873524903539426, "content_hash": 1445873524903539426, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 412, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751005/?format=api", "priority": 100, "id": 4695922, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=9410c64f720472e2", "url": "https://hosted.weblate.org/api/units/4695922/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:46+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<emphasis>ALTERNATIVE</emphasis> Other web servers" ], "previous_source": "", "target": [ "<emphasis>替代</emphasis> 其它 web 服务器" ], "id_hash": -8385258486500611250, "content_hash": -8385258486500611250, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 415, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14751007/?format=api", "priority": 100, "id": 4695924, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=0ba193d5624d2b4e", "url": "https://hosted.weblate.org/api/units/4695924/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:46+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><emphasis role=\"pkg\">nginx</emphasis></primary>" ], "previous_source": "", "target": [ "<primary><emphasis role=\"pkg\">nginx</emphasis></primary>" ], "id_hash": -8395724113060159020, "content_hash": -8395724113060159020, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 417, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751009/?format=api", "priority": 100, "id": 4695926, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=0b7c6566d0de21d4", "url": "https://hosted.weblate.org/api/units/4695926/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:47+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><emphasis role=\"pkg\">lighttpd</emphasis></primary>" ], "previous_source": "", "target": [ "<primary><emphasis role=\"pkg\">lighttpd</emphasis></primary>" ], "id_hash": -5295113085345825611, "content_hash": -5295113085345825611, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 418, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751010/?format=api", "priority": 100, "id": 4695927, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=3683fab41e707cb5", "url": "https://hosted.weblate.org/api/units/4695927/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:47+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Installing Apache" ], "previous_source": "", "target": [ "安装 Apache" ], "id_hash": -5881505262790189, "content_hash": -5881505262790189, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 419, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751011/?format=api", "priority": 100, "id": 4695928, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=7feb1acd581119d3", "url": "https://hosted.weblate.org/api/units/4695928/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:47+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The MPM in use affects significantly the way Apache will handle concurrent requests. With the <emphasis>worker</emphasis> MPM, it uses <emphasis>threads</emphasis> (lightweight processes), whereas with the <emphasis>prefork</emphasis> MPM it uses a pool of processes created in advance. With the <emphasis>event</emphasis> MPM it also uses threads, but the inactive connections (notably those kept open by the HTTP <emphasis>keep-alive</emphasis> feature) are handed back to a dedicated management thread." ], "previous_source": "", "target": [ "使用 MPM 显著地影响 Apache 处理并发请求的方式。通过 <emphasis>worker</emphasis> MPM,它使用 <emphasis>threads(线程)</emphasis>(轻量进程),而通过 <emphasis>prefork</emphasis> MPM,它使用预先创建的进程池。通过 <emphasis>event(事件)</emphasis> MPM,它也使用线程,但非活动连接(显著地由 HTTP <emphasis>keep-alive</emphasis> 特性保持打开的那些)交回给专用的管理线程。" ], "id_hash": -7569460417994544260, "content_hash": -7569460417994544260, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 423, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 65, "source_unit": "https://hosted.weblate.org/api/units/14769858/?format=api", "priority": 100, "id": 4695930, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=16f3dfdac40e2b7c", "url": "https://hosted.weblate.org/api/units/4695930/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-09-18T21:10:03+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<emphasis>SECURITY</emphasis> Execution under the <literal>www-data</literal> user" ], "previous_source": "", "target": [ "<emphasis>安全</emphasis> 在 <literal>www-data</literal> 用户下执行" ], "id_hash": 5356870224798052713, "content_hash": 5356870224798052713, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 425, "has_suggestion": false, "has_comment": true, "has_failing_check": false, "num_words": 6, "source_unit": "https://hosted.weblate.org/api/units/14751012/?format=api", "priority": 100, "id": 4695932, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=ca576d1668f47169", "url": "https://hosted.weblate.org/api/units/4695932/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:49+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><literal>www-data</literal></primary>" ], "previous_source": "", "target": [ "<primary><literal>www-data</literal></primary>" ], "id_hash": -3007559441284865613, "content_hash": -3007559441284865613, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 426, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751013/?format=api", "priority": 100, "id": 4695933, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=5643009f7557e1b3", "url": "https://hosted.weblate.org/api/units/4695933/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:49+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary>suexec</primary>" ], "previous_source": "", "target": [ "<primary>suexec</primary>" ], "id_hash": -2773902512933913259, "content_hash": -2773902512933913259, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 428, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751014/?format=api", "priority": 100, "id": 4695934, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=59811e5c7b02bd55", "url": "https://hosted.weblate.org/api/units/4695934/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:49+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><emphasis role=\"pkg\">libapache2-mpm-itk</emphasis></primary>" ], "previous_source": "", "target": [ "<primary><emphasis role=\"pkg\">libapache2-mpm-itk</emphasis></primary>" ], "id_hash": 7341633309256113767, "content_hash": 7341633309256113767, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 434, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14767941/?format=api", "priority": 100, "id": 4695937, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=e5e2b898dd62de67", "url": "https://hosted.weblate.org/api/units/4695937/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-08-31T09:46:09+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Another possibility is to use a dedicated MPM, such as the one provided by <emphasis role=\"pkg\">libapache2-mpm-itk</emphasis>. This particular one has a slightly different behavior: it allows “isolating” virtual hosts (actually, sets of pages) so that they each run as a different user. A vulnerability in one website therefore cannot compromise files belonging to the owner of another website." ], "previous_source": "", "target": [ "另一个可能性是使用专用的 MPM,如由 <emphasis role=\"pkg\">libapache2-mpm-itk</emphasis> 提供的一个。特定的这个具有略微不同的行为:它允许 “隔离” 虚拟主机(实际上是一组页面),从而它们每次作为不同用户运行。这样,一个网站中的漏洞不能使属于另一个网站所有者的文件陷入危险。" ], "id_hash": -3241727013024684765, "content_hash": -3241727013024684765, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 435, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 58, "source_unit": "https://hosted.weblate.org/api/units/14767942/?format=api", "priority": 100, "id": 4695938, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=5303127501e02523", "url": "https://hosted.weblate.org/api/units/4695938/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-08-31T09:46:09+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<emphasis>QUICK LOOK</emphasis> List of modules" ], "previous_source": "", "target": [ "<emphasis>速览</emphasis> 模块的列表" ], "id_hash": 882852741465148683, "content_hash": 882852741465148683, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 436, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://hosted.weblate.org/api/units/14751017/?format=api", "priority": 100, "id": 4695939, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=8c4085e40c028d0b", "url": "https://hosted.weblate.org/api/units/4695939/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:52+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Apache is a modular server, and many features are implemented by external modules that the main program loads during its initialization. The default configuration only enables the most common modules, but enabling new modules is a simple matter of running <command>a2enmod <replaceable>module</replaceable></command>; to disable a module, the command is <command>a2dismod <replaceable>module</replaceable></command>. These programs actually only create (or delete) symbolic links in <filename>/etc/apache2/mods-enabled/</filename>, pointing at the actual files (stored in <filename>/etc/apache2/mods-available/</filename>)." ], "previous_source": "", "target": [ "Apache 是模块化的服务器,而它的很多特性由主程序在初始化时装载的外部模块来实施。默认配置只启用最常用的模块,但启用新的模块不过是运行 <command>a2enmod <replaceable>module</replaceable></command>的简单事情;要禁止模块,命令是<command>a2dismod <replaceable>module</replaceable></command>。这些程序实际上只创建(或删除)<filename>/etc/apache2/mods-enabled/</filename>中的符号链接,它们指向真实文件(存储在 <filename>/etc/apache2/mods-available/</filename>中)。" ], "id_hash": 6489468740269791107, "content_hash": 6489468740269791107, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 438, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 70, "source_unit": "https://hosted.weblate.org/api/units/14751018/?format=api", "priority": 100, "id": 4695941, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=da0f396fc4c85783", "url": "https://hosted.weblate.org/api/units/4695941/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:54+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "With its default configuration, the web server listens on port 80 (as configured in <filename>/etc/apache2/ports.conf</filename>), and serves pages from the <filename>/var/www/html/</filename> directory (as configured in <filename>/etc/apache2/sites-enabled/000-default.conf</filename>)." ], "previous_source": "", "target": [ "通过其默认设置,web 服务器监听端口 80 (如在 <filename>/etc/apache2/ports.conf</filename> 中所配置的),并且为来自 <filename>/var/www/html/</filename> 目录的页面提供服务(如在 <filename>/etc/apache2/sites-enabled/000-default.conf</filename>中所配置的)。" ], "id_hash": 7201816065395523493, "content_hash": 7201816065395523493, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 449, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://hosted.weblate.org/api/units/14778162/?format=api", "priority": 100, "id": 4695942, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=e3f1fd8dfb99ffa5", "url": "https://hosted.weblate.org/api/units/4695942/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-11-17T14:12:15+01:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary>HTTPS</primary>" ], "previous_source": "", "target": [ "<primary>HTTPS</primary>" ], "id_hash": 4230591636153246681, "content_hash": 4230591636153246681, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 452, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751020/?format=api", "priority": 100, "id": 4695944, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=bab614adaea723d9", "url": "https://hosted.weblate.org/api/units/4695944/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:56+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><emphasis>Perfect Forward Secrecy</emphasis></primary>" ], "previous_source": "", "target": [ "<primary><emphasis>Perfect Forward Secrecy(完全正向保密)</emphasis></primary>" ], "id_hash": 2733552932291663356, "content_hash": 2733552932291663356, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 465, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/14751023/?format=api", "priority": 100, "id": 4695948, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=a5ef87e8aff8d5fc", "url": "https://hosted.weblate.org/api/units/4695948/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Configuring Virtual Hosts" ], "previous_source": "", "target": [ "配置虚拟主机" ], "id_hash": -5869653006853224488, "content_hash": -5869653006853224488, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 468, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/14751024/?format=api", "priority": 100, "id": 4695949, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=2e8acdb063b5c7d8", "url": "https://hosted.weblate.org/api/units/4695949/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "A virtual host is an extra identity for the web server." ], "previous_source": "", "target": [ "虚拟主机是 web 服务器额外的身份。" ], "id_hash": 7449892798527890721, "content_hash": 7449892798527890721, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 471, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://hosted.weblate.org/api/units/14751025/?format=api", "priority": 100, "id": 4695950, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=e76356076efee521", "url": "https://hosted.weblate.org/api/units/4695950/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary>virtual host</primary>" ], "previous_source": "", "target": [ "<primary>virtual host(虚拟主机)</primary>" ], "id_hash": -7152303599675168932, "content_hash": -7152303599675168932, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 472, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751026/?format=api", "priority": 100, "id": 4695951, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=1cbde9c5479d275c", "url": "https://hosted.weblate.org/api/units/4695951/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Apache considers two different kinds of virtual hosts: those that are based on the IP address (or the port), and those that rely on the domain name of the web server. The first method requires allocating a different IP address (or port) for each site, whereas the second one can work on a single IP address (and port), and the sites are differentiated by the hostname sent by the HTTP client (which only works in version 1.1 of the HTTP protocol — fortunately that version is old enough that all clients use it already)." ], "previous_source": "", "target": [ "Apache 考虑两个不同种类的虚拟主机:基于 IP 地址(或端口)的那些,和依赖于 web 服务器域名的那些。第一种方法需要为每个网站分配不同的 IP 地址(或端口),而第二种可以工作在单一 IP 地址(或端口)上,并且网站由 HTTP 客户端发送的主机名来区分(只工作在 HTTP 协议的 1.1 版本下——幸运的是版本足够老,所有的客户端都已经使用了)。" ], "id_hash": -6955355077903425298, "content_hash": -6955355077903425298, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 473, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 94, "source_unit": "https://hosted.weblate.org/api/units/14751027/?format=api", "priority": 100, "id": 4695952, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=1f799d685edb60ee", "url": "https://hosted.weblate.org/api/units/4695952/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The (increasing) scarcity of IPv4 addresses usually favors the second method; however, it is made more complex if the virtual hosts need to provide HTTPS too, since the SSL protocol hasn't always provided for name-based virtual hosting; the SNI extension (<emphasis>Server Name Indication</emphasis>) that allows such a combination is not handled by all browsers. When several HTTPS sites need to run on the same server, they will usually be differentiated either by running on a different port or on a different IP address (IPv6 can help there)." ], "previous_source": "", "target": [ "IPv4 地址(增加的)稀缺性通常偏爱第二种方法;然而虚拟主机也需要提供 HTTPS 的话会变得更复杂,因为 SSL 协议不总是为基于名称的虚拟主机而提供;允许这样组合的 SNI 扩展(<emphasis>Server Name Indication(服务器名称指示)</emphasis>)并不被所有浏览器处理。当几个 HTTPS 网站需要在相同的服务器上运行时,它们通常或者由在不同的端口上,或者在不同的 IP 地址上运行来区分(IPv6 在这里会有帮助)。" ], "id_hash": -788593511720265185, "content_hash": -788593511720265185, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 474, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 87, "source_unit": "https://hosted.weblate.org/api/units/14751028/?format=api", "priority": 100, "id": 4695953, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=750e5a6115bc5a1f", "url": "https://hosted.weblate.org/api/units/4695953/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:45:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The default configuration for Apache 2 enables name-based virtual hosts. In addition, a default virtual host is defined in the <literal>/etc/apache2/sites-enabled/000-default.conf</literal> file; this virtual host will be used if no host matching the request sent by the client is found." ], "previous_source": "", "target": [ "Apache 2 的默认配置启用基于名称的虚拟主机。此外,默认虚拟主机在 <literal>/etc/apache2/sites-enabled/000-default.conf</literal> 文件中定义;如果没有发现与客户端发送的请求相匹配的主机的话,这个虚拟主机将被使用。" ], "id_hash": -3043087307323696010, "content_hash": -3043087307323696010, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 479, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://hosted.weblate.org/api/units/14769860/?format=api", "priority": 100, "id": 4695954, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=55c4c8378a789c76", "url": "https://hosted.weblate.org/api/units/4695954/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-09-18T21:10:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<emphasis>CAUTION</emphasis> First virtual host" ], "previous_source": "", "target": [ "<emphasis>警告</emphasis> 第一虚拟主机" ], "id_hash": 6557129609869233274, "content_hash": 6557129609869233274, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 481, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14751029/?format=api", "priority": 100, "id": 4695955, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=daff9aa396738c7a", "url": "https://hosted.weblate.org/api/units/4695955/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:00+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Requests concerning unknown virtual hosts will always be served by the first defined virtual host, which is why we defined <literal>www.falcot.com</literal> first here." ], "previous_source": "", "target": [ "关于未知虚拟主机的请求总是由首先定义的虚拟主机来服务,这就是为什么我们首先在这里定义 <literal>www.falcot.com</literal>。" ], "id_hash": 5791511404107920613, "content_hash": 5791511404107920613, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 482, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://hosted.weblate.org/api/units/14751030/?format=api", "priority": 100, "id": 4695956, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=d05f94eff279f4e5", "url": "https://hosted.weblate.org/api/units/4695956/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:00+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<emphasis>QUICK LOOK</emphasis> Apache supports SNI" ], "previous_source": "", "target": [ "<emphasis>速览</emphasis> Apache 支持 SNI" ], "id_hash": -3934455236728706307, "content_hash": -3934455236728706307, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 483, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://hosted.weblate.org/api/units/14751031/?format=api", "priority": 100, "id": 4695957, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=496601cece1c2afd", "url": "https://hosted.weblate.org/api/units/4695957/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:00+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The Apache server supports an SSL protocol extension called <emphasis>Server Name Indication</emphasis> (SNI). This extension allows the browser to send the hostname of the web server during the establishment of the SSL connection, much earlier than the HTTP request itself, which was previously used to identify the requested virtual host among those hosted on the same server (with the same IP address and port). This allows Apache to select the most appropriate SSL certificate for the transaction to proceed." ], "previous_source": "", "target": [ "Apache 服务器支持 SSL 协议扩展,被称为 <emphasis>Server Name Indication(服务器名称指示)</emphasis> (SNI)。这个扩展允许在建立 SSL 连接的过程中浏览器发送 web 服务器的主机名,比 HTTP 请求本身早得多,这在之前用于识别以相同服务器(具有相同的地址和端口)作为主机的那些请求的虚拟主机。这允许 Apache 选择最适当的 SSL 证书来继续传输。" ], "id_hash": 2565462918483711994, "content_hash": 2565462918483711994, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 485, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 79, "source_unit": "https://hosted.weblate.org/api/units/14751033/?format=api", "priority": 100, "id": 4695959, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=a39a5aee94a897fa", "url": "https://hosted.weblate.org/api/units/4695959/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:01+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Before SNI, Apache would always use the certificate defined in the default virtual host. Clients trying to access another virtual host would then display warnings, since the certificate they received didn't match the website they were trying to access. Fortunately, most browsers now work with SNI; this includes Microsoft Internet Explorer starting with version 7.0 (starting on Vista), Mozilla Firefox starting with version 2.0, Apple Safari since version 3.2.1, and all versions of Google Chrome." ], "previous_source": "", "target": [ "在 SNI 之前,Apache 总是使用默认的虚拟主机中定义的证书。试图访问其它虚拟主机的客户端然后显示警告,因为它们接收到的证书与它们试图访问的网站不匹配。幸运的是,多数浏览器现在通过 SNI 来工作;这包括自 7.0 版本开始的微软 IE(从 Vista 开始)、从2.0 版本开始的 Mozilla Firefox和从 3.2.1 版本开始的苹果 Safari,以及所有版本的谷歌 Chrome。" ], "id_hash": -291448604238654382, "content_hash": -291448604238654382, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 486, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 75, "source_unit": "https://hosted.weblate.org/api/units/14751034/?format=api", "priority": 100, "id": 4695960, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=7bf49109e2125452", "url": "https://hosted.weblate.org/api/units/4695960/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:01+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The Apache package provided in Debian is built with support for SNI; no particular configuration is therefore needed." ], "previous_source": "", "target": [ "Debian 中提供的 Apache 软件包建有对 SNI 的支持;这样,不需要特别的配置。" ], "id_hash": 3359292992209135047, "content_hash": 3359292992209135047, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 487, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://hosted.weblate.org/api/units/14767945/?format=api", "priority": 100, "id": 4695961, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=ae9e9b2d9915a5c7", "url": "https://hosted.weblate.org/api/units/4695961/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-08-31T09:46:09+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Each extra virtual host is then described by a file stored in <filename>/etc/apache2/sites-available/</filename>. Setting up a website for the <literal>falcot.org</literal> domain is therefore a simple matter of creating the following file, then enabling the virtual host with <command>a2ensite www.falcot.org</command>." ], "previous_source": "", "target": [ "每一个额外的虚拟主机都由 <filename>/etc/apache2/sites-available/</filename> 中存储的文件来描述。这样,为 <literal>falcot.org</literal> 域设置网站就是创建后面的文件,然后通过 <command>a2ensite www.falcot.org</command> 启用虚拟主机这样简单的事情。" ], "id_hash": 3241132358931266951, "content_hash": 3241132358931266951, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 488, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://hosted.weblate.org/api/units/14751036/?format=api", "priority": 100, "id": 4695963, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=acfad0b54c1f3d87", "url": "https://hosted.weblate.org/api/units/4695963/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:03+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The <filename>/etc/apache2/sites-available/www.falcot.org.conf</filename> file" ], "previous_source": "", "target": [ "<filename>/etc/apache2/sites-available/www.falcot.org.conf</filename> 文件" ], "id_hash": -8382273536536428438, "content_hash": -8382273536536428438, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 493, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/14769861/?format=api", "priority": 100, "id": 4695964, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=0bac2ea13496c06a", "url": "https://hosted.weblate.org/api/units/4695964/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-09-18T21:10:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The Apache server, as configured so far, uses the same log files for all virtual hosts (although this could be changed by adding <literal>CustomLog</literal> directives in the definitions of the virtual hosts). It therefore makes good sense to customize the format of this log file to have it include the name of the virtual host. This can be done by creating a <filename>/etc/apache2/conf-available/customlog.conf</filename> file that defines a new format for all log files (with the <literal>LogFormat</literal> directive) and by enabling it with <command>a2enconf customlog</command>. The <literal>CustomLog</literal> line must also be removed (or commented out) from the <filename>/etc/apache2/sites-available/000-default.conf</filename> file." ], "previous_source": "", "target": [ "迄今为止配置的 Apache 服务器对所有虚拟主机使用了相同的日志文件(尽管可以通过在虚拟主机的定义中添加 <literal>CustomLog</literal> 指令来更改)。这样,很好理解去定制这个日志文件的格式来使它包含虚拟主机的名称。这可以通过创建为所有日志文件定义了新格式的 <filename>/etc/apache2/conf-available/customlog.conf</filename> 文件来进行,并通过 <command>a2enconf customlog</command> 来启用。还必须从 <filename>/etc/apache2/sites-available/000-default.conf</filename> 文件中删除(或注释掉) <literal>CustomLog</literal> 行。" ], "id_hash": -2144706543833197902, "content_hash": -2144706543833197902, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 495, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 98, "source_unit": "https://hosted.weblate.org/api/units/14769862/?format=api", "priority": 100, "id": 4695966, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=623c78c2f35dd2b2", "url": "https://hosted.weblate.org/api/units/4695966/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-09-18T21:10:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "\n# New log format including (virtual) host name\nLogFormat \"%v %h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\"\" vhost\n\n# Now let's use this \"vhost\" format by default\nCustomLog /var/log/apache2/access.log vhost" ], "previous_source": "", "target": [ "\n# New log format including (virtual) host name\nLogFormat \"%v %h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\"\" vhost\n\n# Now let's use this \"vhost\" format by default\nCustomLog /var/log/apache2/access.log vhost" ], "id_hash": 5324595742210804363, "content_hash": 5324595742210804363, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 503, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 32, "source_unit": "https://hosted.weblate.org/api/units/14767445/?format=api", "priority": 100, "id": 4695968, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=c9e4c39ddb084a8b", "url": "https://hosted.weblate.org/api/units/4695968/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2015-08-28T11:28:08+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Common Directives" ], "previous_source": "", "target": [ "常用指令" ], "id_hash": 9039032410004636454, "content_hash": 9039032410004636454, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 504, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751037/?format=api", "priority": 100, "id": 4695969, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=fd7118160791c326", "url": "https://hosted.weblate.org/api/units/4695969/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "This section briefly reviews some of the commonly-used Apache configuration directives." ], "previous_source": "", "target": [ "这一节简要地回顾了一些通常使用的 Apache 配置指令。" ], "id_hash": 2145049690010628078, "content_hash": 2145049690010628078, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 505, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://hosted.weblate.org/api/units/14751038/?format=api", "priority": 100, "id": 4695970, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=9dc4bf53fea52fee", "url": "https://hosted.weblate.org/api/units/4695970/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:05+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary>directives, Apache</primary>" ], "previous_source": "", "target": [ "<primary>指令,Apache</primary>" ], "id_hash": 2821517267215731515, "content_hash": 2821517267215731515, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 506, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751040/?format=api", "priority": 100, "id": 4695972, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=a7280b0168064b3b", "url": "https://hosted.weblate.org/api/units/4695972/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:06+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The main configuration file usually includes several <literal>Directory</literal> blocks; they allow specifying different behaviors for the server depending on the location of the file being served. Such a block commonly includes <literal>Options</literal> and <literal>AllowOverride</literal> directives." ], "previous_source": "", "target": [ "主要配置文件通常包括几个 <literal>Directory(目录)</literal> 块;它们允许为依赖于所服务的文件的位置的服务器指定不同行为。这样的块通常包括 <literal>Options</literal> 和 <literal>AllowOverride</literal> 指令。" ], "id_hash": 565963326205685909, "content_hash": 565963326205685909, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 508, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://hosted.weblate.org/api/units/14751041/?format=api", "priority": 100, "id": 4695973, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=87dab4a586637095", "url": "https://hosted.weblate.org/api/units/4695973/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:07+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Directory block" ], "previous_source": "", "target": [ "目录块" ], "id_hash": -5688806727511146758, "content_hash": -5688806727511146758, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 513, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751044/?format=api", "priority": 100, "id": 4695976, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=310d4c6c02d87efa", "url": "https://hosted.weblate.org/api/units/4695976/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:08+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The <literal>DirectoryIndex</literal> directive contains a list of files to try when the client request matches a directory. The first existing file in the list is used and sent as a response." ], "previous_source": "", "target": [ "<literal>DirectoryIndex</literal> 指令包含当客户端请求匹配目录时尝试的文件列表。列表中存在的第一个文件被使用,并作为响应来发送。" ], "id_hash": -3363338705064064264, "content_hash": -3363338705064064264, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 515, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://hosted.weblate.org/api/units/14751045/?format=api", "priority": 100, "id": 4695978, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=5153054479558af8", "url": "https://hosted.weblate.org/api/units/4695978/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:08+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The <literal>Options</literal> directive is followed by a list of options to enable. The <literal>None</literal> value disables all options; correspondingly, <literal>All</literal> enables them all except <literal>MultiViews</literal>. Available options include:" ], "previous_source": "", "target": [ "<literal>Options</literal> 指令后面是被启用的选项列表。<literal>None</literal> 值禁止了所有的选项;相应地,<literal>All</literal> 全部启用它们,除了<literal>MultiViews</literal>。可用选项包括:" ], "id_hash": 6319510649384268232, "content_hash": 6319510649384268232, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 516, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://hosted.weblate.org/api/units/14751047/?format=api", "priority": 100, "id": 4695980, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=d7b3697412d8f1c8", "url": "https://hosted.weblate.org/api/units/4695980/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:09+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<emphasis>BACK TO BASICS</emphasis> <filename>.htaccess</filename> file" ], "previous_source": "", "target": [ "<emphasis>基本知识</emphasis> <filename>.htaccess</filename> 文件" ], "id_hash": -4963892441648629249, "content_hash": -4963892441648629249, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 532, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://hosted.weblate.org/api/units/14751054/?format=api", "priority": 100, "id": 4695987, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=3b1cb61fc84979ff", "url": "https://hosted.weblate.org/api/units/4695987/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:11+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The <filename>.htaccess</filename> file contains Apache configuration directives enforced each time a request concerns an element of the directory where it is stored. The scope of these directives also recurses to all the subdirectories within." ], "previous_source": "", "target": [ "<filename>.htaccess</filename> 文件包含 Apache 配置指令,每次请求涉及其所存储的目录中的元素时会强制执行配置指令。这些指令的范围还递归到其中所有的子目录。" ], "id_hash": 8736935501217589652, "content_hash": 8736935501217589652, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 535, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://hosted.weblate.org/api/units/14751055/?format=api", "priority": 100, "id": 4695988, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=f93fd48c4f92e994", "url": "https://hosted.weblate.org/api/units/4695988/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:11+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "<primary><filename>.htaccess</filename></primary>" ], "previous_source": "", "target": [ "<primary><filename>.htaccess</filename></primary>" ], "id_hash": 1565242177101479397, "content_hash": 1565242177101479397, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 534, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/14751056/?format=api", "priority": 100, "id": 4695989, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=95b8db779197bde5", "url": "https://hosted.weblate.org/api/units/4695989/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:12+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Most of the directives that can occur in a <literal>Directory</literal> block are also legal in a <filename>.htaccess</filename> file." ], "previous_source": "", "target": [ "在 <literal>Directory</literal> 块中能够发生的多数指令在 <filename>.htaccess</filename> 文件中也是合法的。" ], "id_hash": 1085699858388623743, "content_hash": 1085699858388623743, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 536, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://hosted.weblate.org/api/units/14751057/?format=api", "priority": 100, "id": 4695990, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=8f112e44d7f2217f", "url": "https://hosted.weblate.org/api/units/4695990/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:12+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "The <literal>AllowOverride</literal> directive lists all the options that can be enabled or disabled by way of a <filename>.htaccess</filename> file. A common use of this option is to restrict <literal>ExecCGI</literal>, so that the administrator chooses which users are allowed to run programs under the web server's identity (the <literal>www-data</literal> user)." ], "previous_source": "", "target": [ "<literal>AllowOverride</literal> 指令列出可以由 <filename>.htaccess</filename> 文件的方式启用或禁止的所有选项。这个选项通常用于限制 <literal>ExecCGI</literal>,从而管理员选择哪些用户在 web 服务器身份(<literal>www-data</literal> 用户)下允许运行程序。" ], "id_hash": 7329391534066425005, "content_hash": 7329391534066425005, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 537, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 49, "source_unit": "https://hosted.weblate.org/api/units/14751058/?format=api", "priority": 100, "id": 4695991, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=e5b73ac477c8dcad", "url": "https://hosted.weblate.org/api/units/4695991/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:12+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/debian-handbook/11_network-services/zh_Hans/?format=api", "source": [ "Requiring Authentication" ], "previous_source": "", "target": [ "需要身份认证" ], "id_hash": 2492900453783599914, "content_hash": 2492900453783599914, "location": "", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 538, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14751059/?format=api", "priority": 100, "id": 4695992, "web_url": "https://hosted.weblate.org/translate/debian-handbook/11_network-services/zh_Hans/?checksum=a2988fc1382e7b2a", "url": "https://hosted.weblate.org/api/units/4695992/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2014-10-08T16:46:13+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" } ] }{ "count": 1089, "next": "