put it in /app/webroot instead
mod_rewrite rules redirect all queries to that place

On 12 mar, 20:17, "bingo" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am wondering, how can I place robots.txt within cakephp. I created a
> robots.txt and placed in at the top level of mywebsite..so this is my
> configuration
>
> + mysite
>     |---- app
>     |---- cake
>     |---- robots.txt
>
> now when I tried accessing robots.txt from url (http://localhost/
> mysite/robots.txt) I got this error
>
> The requested address robots.txt was not found on this server.
>
> does it mean that a crawler will also fail to find robots.txt ??
> If so, how can I tell cakephp not to take control of this file..
>
> Regards,
> Ritesh


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to