On Thu, Dec 9, 2010 at 5:59 AM, Stefan Hornburg (Racke) <ra...@linuxia.de>wrote:

> On 12/09/2010 02:34 PM, Mark Jenks wrote:
>
>> I guess I'm going for the DNS blocking method, since I don't see where
>> to put in a robots.txt file into RT.   I'll have to do some custom
>> conf.d stuff when I get back into the office next week.
>>
>>
> You can specify robots.txt in your Apache configuration, before
> the statements you use for RT:
>
> Alias /robots.txt /path/to/your/robots.txt
>
> Regards
>        Racke
>
>
If that doesn't work for whatever reason, you can also throw this in your
VirtualHost

  <Location "/robots.txt">
    SetHandler None
  </Location>

This is where I put my robots.txt

/opt/rt3/share/html/robots.txt

Reply via email to