So I have a VPS (running debian) setup to host a number of sites i'm working on. with the structure like this:
/var/www/www.website1.com
----------------------------------
/var/www/www.website1.com/htdocs
/var/www/www.website1.com/cgi-bin
/var/www/www.website1.com/logs
/var/www/www.website2.com
----------------------------------
/var/www/www.website2.com/htdocs
/var/www/www.website2.com/cgi-bin
/var/www/www.website2.com/logs
etc
My question is where do I place my robots.txt file. Should it be in the htdocs for each site along with the site files. Or can I have a master robots.txt file in one location for the entire VPS. I am trying to stop google from crawling the log folders and any other folders within the website structure that don't need to be accessed by a search engine. At the moment i seem to have gone overkill and google isn't indexing my index.html on one of my sites along with the descriptions within that.
any help would be great.