From: | Joseph <syscon@×××××××××.com> |
---|---|
To: | gentoo-user@l.g.o |
Subject: | [gentoo-user] htaccess file |
Date: | Fri, 13 Jun 2008 06:31:28 |
Message-Id: | 20080613063142.GB6417@syscon2.inet |
1 | I have in my main "htaccess" file the following condition, is it still needed: |
2 | ---------code------------ |
3 | # The following makes adjustments to the SSL protocol for Internet |
4 | # Explorer browsers |
5 | |
6 | <IfModule mod_rewrite.c> |
7 | RedirectMatch permanent (.*)cmd.exe(.*)$ http://www.microsoft.com |
8 | RedirectMatch permanent (.*)root.exe(.*)$ http://www.microsoft.com |
9 | RedirectMatch permanent (.*)\/_vti_bin\/(.*)$ http://www.microsoft.com |
10 | RedirectMatch permanent (.*)\/scripts\/\.\.(.*)$ http://www.microsoft.com |
11 | RedirectMatch permanent (.*)\/_mem_bin\/(.*)$ http://www.microsoft.com |
12 | RedirectMatch permanent (.*)\/msadc\/(.*)$ http://www.microsoft.com |
13 | RedirectMatch permanent (.*)\/MSADC\/(.*)$ http://www.microsoft.com |
14 | RedirectMatch permanent (.*)\/c\/winnt\/(.*)$ http://www.microsoft.com |
15 | RedirectMatch permanent (.*)\/d\/winnt\/(.*)$ http://www.microsoft.com |
16 | RedirectMatch permanent (.*)\/x90\/(.*)$ http://www.microsoft.com |
17 | </IfModule> |
18 | |
19 | <IfModule mod_setenvif.c> |
20 | <IfDefine SSL> |
21 | SetEnvIf User-Agent ".*MSIE.*" \ |
22 | nokeepalive ssl-unclean-shutdown \ |
23 | downgrade-1.0 force-response-1.0 |
24 | </IfDefine> |
25 | </IfModule> |
26 | ------end code-------------- |
27 | |
28 | |
29 | Can somebody enlighten me what below RewriteCond protect against? :-/ |
30 | |
31 | RewriteEngine On |
32 | RewriteCond %{QUERY_STRING} :/ [NC] |
33 | RewriteRule ^ - [F] |
34 | |
35 | -- |
36 | #Joseph |
37 | -- |
38 | gentoo-user@l.g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-user] htaccess file | Iain Buchanan <iaindb@××××××××××××.au> |