summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-12-19 18:12:50 +0100
committerRobert Swiecki <robert@swiecki.net>2017-12-19 18:12:50 +0100
commit5468df9904737d07e6e9bcf5f41d18018ab13c3b (patch)
treef077359724e234d7734a375cce11d2796c0d3108 /examples
parent761523f98afa3bf6ca7f3603a998174e1c4040c9 (diff)
downloadhonggfuzz-5468df9904737d07e6e9bcf5f41d18018ab13c3b.tar.gz
examples/apache-httpd: expanding configs
Diffstat (limited to 'examples')
-rw-r--r--examples/apache-httpd/httpd.conf.h119
-rw-r--r--examples/apache-httpd/httpd.conf.h218
2 files changed, 37 insertions, 0 deletions
diff --git a/examples/apache-httpd/httpd.conf.h1 b/examples/apache-httpd/httpd.conf.h1
index 7558e9f6..89461eb7 100644
--- a/examples/apache-httpd/httpd.conf.h1
+++ b/examples/apache-httpd/httpd.conf.h1
@@ -1,6 +1,8 @@
ServerRoot "/home/jagger/fuzz/apache/dist"
DocumentRoot "/home/jagger/fuzz/apache/dist/htdocs"
ServerName 127.0.0.1
+CacheEnable socache /
+#CacheSocache shmcb:/tmp/data
Timeout 1
KeepAlive On
MaxKeepAliveRequests 1000
@@ -35,6 +37,11 @@ Redirect "/abc" "/"
RedirectMatch "(.*)\.gif$" "/image/$1.jpg"
UseCanonicalPhysicalPort On
HttpProtocolOptions Unsafe LenientMethods Allow0.9
+DavLockDB /tmp/dav.lock
+ProxyStatus On
+ProxyVia On
+Header set MyHeader "%D %t"
+Header set Set-Cookie testcookie "expr=-z %{req:Cookie}"
<Directory />
Options FollowSymLinks
AllowOverride None
@@ -46,6 +53,13 @@ HttpProtocolOptions Unsafe LenientMethods Allow0.9
Options All MultiViews
AllowOverride None
</Directory>
+<Directory /home/jagger/fuzz/apache/dist/htdocs/private>
+ DAV On
+ AuthType Basic
+ AuthName DAV
+ Options All MultiViews
+ AllowOverride None
+</Directory>
<Directory /home/jagger/fuzz/apache/dist/cgi-bin>
Options All MultiViews
AllowOverride None
@@ -65,3 +79,8 @@ HttpProtocolOptions Unsafe LenientMethods Allow0.9
<LocationMatch "/error/(?<NUMBER>[0-9]+)">
Redirect permanent "/%{env:MATCH_NUMBER}.html"
</LocationMatch>
+<Location "/proxy/">
+ ProxyPass "http://127.0.0.1:8080/index.html"
+ SetEnv force-proxy-request-1.0 1
+ SetEnv proxy-nokeepalive 1
+</Location>
diff --git a/examples/apache-httpd/httpd.conf.h2 b/examples/apache-httpd/httpd.conf.h2
index 8f89a643..a107069e 100644
--- a/examples/apache-httpd/httpd.conf.h2
+++ b/examples/apache-httpd/httpd.conf.h2
@@ -2,6 +2,8 @@ ServerRoot "/home/jagger/fuzz/apache/dist"
DocumentRoot "/home/jagger/fuzz/apache/dist/htdocs"
ServerName 127.0.0.1
Timeout 1
+CacheEnable socache /
+#CacheSocache shmcb:/tmp/data
KeepAlive On
MaxKeepAliveRequests 1000
MaxConnectionsPerChild 0
@@ -35,6 +37,10 @@ Redirect "/abc" "/"
RedirectMatch "(.*)\.gif$" "/image/$1.jpg"
UseCanonicalPhysicalPort On
HttpProtocolOptions Unsafe LenientMethods Allow0.9
+ProxyStatus On
+ProxyVia On
+Header set MyHeader "%D %t"
+Header set Set-Cookie testcookie "expr=-z %{req:Cookie}"
<Directory />
Options FollowSymLinks
AllowOverride None
@@ -42,6 +48,13 @@ HttpProtocolOptions Unsafe LenientMethods Allow0.9
<LocationMatch "/app/(?<NUMBER>[0-9]+)">
SetHandler "fcgi://localhost:8080/app_%{env:MATCH_NUMBER}"
</LocationMatch>
+<Directory /home/jagger/fuzz/apache/dist/htdocs/private>
+ DAV On
+ AuthType Basic
+ AuthName DAV
+ Options All MultiViews
+ AllowOverride None
+</Directory>
<Directory /home/jagger/fuzz/apache/dist/htdocs>
Options All MultiViews
AllowOverride None
@@ -65,3 +78,8 @@ HttpProtocolOptions Unsafe LenientMethods Allow0.9
<LocationMatch "/error/(?<NUMBER>[0-9]+)">
Redirect permanent "/%{env:MATCH_NUMBER}.html"
</LocationMatch>
+<Location "/proxy/">
+ ProxyPass "http://127.0.0.1:8080/index.html"
+ SetEnv force-proxy-request-1.0 1
+ SetEnv proxy-nokeepalive 1
+</Location>