Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Concatenate Several RewriteCond Directives


MickeyRoush - 11:23 pm on Nov 16, 2012 (gmt 0)


Thanks everyone for their replies. Maybe you can clarify this a bit more.

Do all of the conditions in this line have to be met together to make the RewriteRule work or can each condition be met separately and still make the RewriteRule work?

RewriteCond %{HTTP:VIA}%{HTTP:FORWARDED}%{HTTP:USERAGENT_VIA}%{HTTP:X_FORWARDED_FOR}%{HTTP:PROXY_CONNECTION} !^$

In other words, will the RewriteRule return as coded (which is a 403), if only

RewriteCond %{HTTP:VIA} !^$

is met and none of the other conditions are met?


Thread source:: http://www.webmasterworld.com/apache/4519705.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com