New answers tagged

0 votes

Wireshark filtering-trying to filter out my own local ip

It's 2022 and IPv6 is now a thing! IPv6 makes this trickier since you'll usually have multiple v6 addresses and they often change. Enumerating each is a pain. Instead we know that the link-local IPv6 ...
  • 101
0 votes

Issues with URL length in Apache/mod_wsgi

It is not a problem in WSGI, and there is not much you can do. I have analyzed the problem. Apache uses the libapr library, and invokes the function apr_filepath_merge which at a certain point does if ...
  • 161
0 votes

Exclude specific URL from HTTP to HTTPS redirect in apache2 virtual host

Okay, actually I figured out the following solution I might live with: <VirtualHost *:80> ServerName example.com Redirect gone /api Redirect permanent / https://example.com/ </...
1 vote

Restrict access via HTTP 0.9 and HTTP 1.0 on Apache

Here's one simple way to do it: RewriteCond %{THE_REQUEST} !HTTP/ RewriteRule .* - [R=451,L] RewriteCond %{THE_REQUEST} HTTP/1\.0 RewriteRule .* - [R=451,L] HTTP 0.9 requests are in the format GET / ...

Top 50 recent answers are included