diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2015-08-02 00:19:16 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2015-08-02 00:19:16 +0200 |
commit | 48802c25dc82a8b13ac351c0c2137ef748256bbd (patch) | |
tree | dcaa03f7f34153303fe5afbc9c99dbb8c44b22b3 /docs/manual/howto/access.html.en | |
parent | 080d5e16db802902200a9ce5b6c40f8f1fdc1f73 (diff) | |
download | apache2-48802c25dc82a8b13ac351c0c2137ef748256bbd.tar.gz |
Imported Upstream version 2.4.16
Diffstat (limited to 'docs/manual/howto/access.html.en')
-rw-r--r-- | docs/manual/howto/access.html.en | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/manual/howto/access.html.en b/docs/manual/howto/access.html.en index 0df95942..48b9b01a 100644 --- a/docs/manual/howto/access.html.en +++ b/docs/manual/howto/access.html.en @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX @@ -130,7 +132,7 @@ Require not host gov</pre> following:</p> <pre class="prettyprint lang-config"><If "%{HTTP_USER_AGENT} == 'BadBot'"> - Require All Denied + Require all denied </If></pre> @@ -163,9 +165,9 @@ Require not host gov</pre> and 6am, you can do this using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p> <pre class="prettyprint lang-config">RewriteEngine On -RewriteCond %{TIME_HOUR} >=20 [OR] -RewriteCond %{TIME_HOUR} <07 -RewriteRule ^/fridge - [F]</pre> +RewriteCond "%{TIME_HOUR}" ">=20" [OR] +RewriteCond "%{TIME_HOUR}" "<07" +RewriteRule "^/fridge" "-" [F]</pre> <p>This will return a 403 Forbidden response for any request after 8pm |