Forum Moderators: phranque
/_vti_bin/owssvr.dll
/MSOffice/cltreq.asp
/phpbb/index.php
(and more) from getting into my 404 error log so I have a better view on real errors. I would like to redirect them to www.mysite.com
Second question. Wich code do I use to do the same with requests that contain certain words. For instance anything containing /images/excursions/
Thanks in advance for your help
I suggest using a 403 Forbidden or a 410-Gone response if you feel that it is worth the risk. Perhaps a better approach would be to study the FrontPage Extensions documentation and return the file contents expected for the case where no files on your site are sharable/editable, but I've never bothered to do this.
For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim