Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- setenv custom error page


Key_Master - 10:16 pm on Mar 27, 2012 (gmt 0)


You can do this easily with mod_rewrite but using SetEnvIf gets a little more complicated (or not depending on your view).

When you set an environmental variable in .htaccess, your custom-block.php script has access to that same variable and its value. So in your script, you would need some code that would work check for that variable:

if variable bad_bot=1 { do something; }


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