<p dir="auto">This patch makes the <code>/status</code> & <code>/dirty</code> URL requests diabled by default, and allows one to turn it on or off with <code>ModTileStatusURL On</code>/<code>ModTileDirtyURL On</code>. It implements <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1121049613" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/mod_tile/issues/272" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/mod_tile/issues/272/hovercard" href="https://github.com/openstreetmap/mod_tile/issues/272">#272</a>. I am not opposed to “default on” (which is the current behaviour)</p>
<p dir="auto">I am very rust with C, so I highly encourage anyone to look at this and tell me if I'm doing something very wrong. I am in the early stages of testing this patch in production, so I suggest not merging it today.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/mod_tile/pull/274'>https://github.com/openstreetmap/mod_tile/pull/274</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/mod_tile/pull/274/commits/1d4863e10c0d0a64f68ef893371876431fd3407c" class="commit-link">1d4863e</a> Allow the …/status URL to be turned on or off (default of on remains)</li>
<li><a href="https://github.com/openstreetmap/mod_tile/pull/274/commits/2b007a8a34c461095c635ae8643fd452a4906ba2" class="commit-link">2b007a8</a> Allow the …/dirty URL to be turned on or off (default of on remains)</li>
<li><a href="https://github.com/openstreetmap/mod_tile/pull/274/commits/3f23af24c921eade2d895a13a32577bf0371c1d6" class="commit-link">3f23af2</a> Make …/dirty & …/status disabled by default.</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/mod_tile/pull/274/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/mod_tile/pull/274/files#diff-a390d5c2ff8c8eb6d86d1955ae06466c8bc83c9b312c7a272c62fda8c3afcb69">etc/apache2/renderd-example-map.conf</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/mod_tile/pull/274/files#diff-6eca8792c9294524ac1447e2e555db30a9434b40bb792364e0f0f1d7b98f764c">includes/mod_tile.h</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/mod_tile/pull/274/files#diff-531f2ce0748b97527d6baf14e5c0dec0db585fbf1bf9eec14511a34eaf797575">src/mod_tile.c</a>
(43)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/mod_tile/pull/274.patch'>https://github.com/openstreetmap/mod_tile/pull/274.patch</a></li>
<li><a href='https://github.com/openstreetmap/mod_tile/pull/274.diff'>https://github.com/openstreetmap/mod_tile/pull/274.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/mod_tile/pull/274">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353UOC5TSXOA53CZPR2DVD3R6XANCNFSM5SZOR3JQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353S5C67JXZS4YMENGNTVD3R6XA5CNFSM5SZOR3J2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4R2KYWUA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/mod_tile/pull/274</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/mod_tile/pull/274",
"url": "https://github.com/openstreetmap/mod_tile/pull/274",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>