FAQ.


So what is mod_useragent?

Where do I get it from?

What sort of license does it have?

How can I make suggestions for it?

How can I report a bug?

How do I install it?

How do I use it?

What are the directives?

So what is mod_auth_useragent?

Ever wanted a single one line way in your httpd.conf to forbid clients based on their User-Agent? Here you go. You should be aware that this is by no means a great way to do security. Far from it actually. Its trivial to change your User-Agent in most browsers. So this really only works if people play nice. Second note, there are a number of ways to do most things, this just happens to be another. Email about other methods will promptly get tossed into /dev/null.

I actually wrote this sometime ago (and I mean like a couple of years ago). I needed it recently so I dug it up again, I am making it public just because I figured it might be useful to someone else.


Where do I get it from?

You can get it from either here via the web or here via ftp.

What sort of license does it have?

You are pretty much free to use it as you please. Check out the License file with the distribution for more details.

How can I make suggestions for it?

Send email to brian@tangent.org.


How can I report a bug?

Enter your bug here here.


How do I install it?

Read the INSTALL file that comes along with the module.


How do I use it?

Just pop in the allow and deny directives in your httpd.conf or in any directory, location and probably file directive.


So what are the directives?

  • AuthUserAgentAllow "Allow a User-Agent that was disallowed"
  • AuthUserAgentDeny "Deny a connection by User-Agent."