httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Stevenson <t...@pc-tony.com>
Subject Re: [users@httpd] Is it possible to filter requests from certain browsers/OSes?
Date Sat, 05 Jul 2008 19:27:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

R. Eimann wrote:
| Hi,
|
| I have a Linux box running SquirrelMail along with an SSH service
| and /etc/{passwd,shadow} are used for authentication.
|

[SNIP] ...

|
| Is there an apache module or something that provides such
functionality? I
| know that I would also be able to hack the SquirrelMail PHP code, but
I would
| have to do that for every new version I install and would thus like to
avoid
| this path.
|
| Cheers,

As I see it, you have 2 ways to do this.

1, using mod_rewrite [1] to rewrite, or redirect based on the useragent
string.  Or 2, using modsecurity [2]


[1]  http://httpd.apache.org/docs/2.0/misc/rewriteguide.html  (search
the page for "Browser Dependent Content"

[2]  http://www.modsecurity.org/



Cheers,
Tony


- --


- -----------------------------------------
Tony Stevenson
tony@pc-tony.com  //  pctony@apache.org
http://blog.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E  3359 C9C7 924E 5104 7D66
- -----------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhvyx8ACgkQyceSTlEEfWYf+QCfeq+wvpTe8fHh1u+JnpDouFg7
J5oAn1ouU4EyFnJ7mfisnY7dAUujcuAR
=X3+R
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message