I want to allow a certain html file and my site's index file to be indexed by search engines. Everything else should be disallowed. My home directory does not actually contain an index file, I am using .htaccess to redirect to /cgi-bin/index.cgi. I am currently using this:
User-agent: *
Allow: /cgi-bin/index.cgi
Allow: /contact.html
Disallow: /
However, google webmaster tools is saying:
Googlebot is blocked from http://mydomain.com/
Is there a way of allowing indexing of the root while blocking all other files i.e., mydomain.com/*