|
2010-02-09
| ||
| 12:32 | • Fixed ticket [03c9f4deef]: Disable built-in robots.txt file plus 1 other change artifact: 9c344996c3 user: drh | |
| 12:31 | Disable the built-in robots.txt file. Ticket [03c9f4deef] check-in: f2626a53c3 user: drh tags: trunk | |
|
2010-01-15
| ||
| 17:21 | • New ticket [03c9f4deef] Disable built-in robots.txt file. artifact: bd3cc20def user: anonymous | |
| Ticket UUID: | 03c9f4deef2d19f55945415cd1d048b4d730cf8c | ||
| Title: | Disable built-in robots.txt file | ||
| Status: | Fixed | Type: | Code_Defect |
| Severity: | Minor | Priority: | |
| Subsystem: | Resolution: | Fixed | |
| Last Modified: | 2010-02-09 12:32:11 | ||
| Version Found In: | 20100112141013 | ||
| Description & Comments: | |||
Per http://thread.gmane.org/gmane.comp.version-control.fossil-scm.user/1489:
On Dec 2, 2009, at 10:52 AM, Daniel Clark wrote:
> For a while it's seemed odd to me that google hadn't updated its
> indexes of a few sites, so I took a look and noticed the obvious -
> robots.txt was disallowing all crawlers:
>
> (from main.c)
>
> /* Prevent robots from indexing this site.
> */
> if( strcmp(g.zPath, "robots.txt")==0 ){
> cgi_set_content_type("text/plain");
> @ User-agent: *
> @ Disallow: /
> cgi_reply();
> exit(0);
> }
>
> As far as I can tell there isn't a way to disable or tune this from
> the fossil level; if there isn't interest in changing this I'm sure I
> can just redirect via apache to some actual file, but IMHO it would be
> good to be able to easily make fossil projects searchable (perhaps even
> have this be the default), esp. since at the moment the only reason that
> say fossil-scm.org is searchable is because the robots.txt file happens
> to be at:
>
> http://fossil-scm.org/index.html/robots.txt
>
> (eg a random apache configuration choice to have rather ugly URLs with
> "index.html" in all of them.)
Note that http://www.fossil-scm.org/ does not use apache. The
redirect occurs within fossil itself.
I suppose that since the existing "robots.txt" is essentially a no-op,
we might as well remove it.
| |||