Re: Dynamic robots.txt

2009-05-29 Thread Jochem van Dieten
On Wed, May 27, 2009 at 8:17 PM, Michael Dinowitz wrote: I've gone the route of rewriting IIS's 404 handler in the past and I highly suggest against it. Mapping .txt to CF would work, but that means every .txt file will be handled, not just robots.txt. So don't put *.txt in your web.xml, but

Dynamic robots.txt

2009-05-27 Thread Andy Matthews
We have an application which delivers about 2000 websites. This is really nice for lots of things, but not so nice for items such as robots.txt where we might want unique values. Reviewing the spec for robots.txt it requires that sitemap references be absolute paths (while everything else can be

Re: Dynamic robots.txt

2009-05-27 Thread Claude Schneegans
Another solution is to assign files with extension .txt to CF as well. Then CF will be able to generate correct paths. Unless you have very large other txt files that would then been parsed by CF as well and consume too much time.

RE: Dynamic robots.txt

2009-05-27 Thread Mark Kruger
Matthews [mailto:amatth...@dealerskins.com] Sent: Wednesday, May 27, 2009 8:41 AM To: cf-talk Subject: Dynamic robots.txt We have an application which delivers about 2000 websites. This is really nice for lots of things, but not so nice for items such as robots.txt where we might want unique values

Re: Dynamic robots.txt

2009-05-27 Thread Barney Boisvert
Use mod_rewrite to rewrite robots.txt to robots.txt.cfm internally and have it generate whatever it needs. We don't generate any robots.txt files dynamically, we generate several static versions (robots_something.txt, robots_or_other.txt, etc.), and then use mod_rewrite with RewriteCond checks

RE: Dynamic robots.txt

2009-05-27 Thread Andy Matthews
The three saddest letters in the english language: IIS -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, May 27, 2009 11:18 AM To: cf-talk Subject: Re: Dynamic robots.txt Use mod_rewrite to rewrite robots.txt to robots.txt.cfm internally and have

[Resolved] Dynamic robots.txt

2009-05-27 Thread Cutter (CFRelated)
language: IIS -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, May 27, 2009 11:18 AM To: cf-talk Subject: Re: Dynamic robots.txt Use mod_rewrite to rewrite robots.txt to robots.txt.cfm internally and have it generate whatever it needs. We don't

Re: Dynamic robots.txt

2009-05-27 Thread Barney Boisvert
: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, May 27, 2009 11:18 AM To: cf-talk Subject: Re: Dynamic robots.txt Use mod_rewrite to rewrite robots.txt to robots.txt.cfm internally and have it generate whatever it needs.  We don't generate any robots.txt files dynamically, we

Re: Dynamic robots.txt

2009-05-27 Thread Dave Watts
A coworker had the idea to delete our robots.txt file and use our 404 handler to toss that request to ColdFusion, and write in the absolute path to our sitemap each time the file is requested. 1) Can this be done reliably? 2) Is anyone out there doing this already and could answer these

RE: Dynamic robots.txt

2009-05-27 Thread Andy Matthews
[mailto:bboisv...@gmail.com] Sent: Wednesday, May 27, 2009 11:28 AM To: cf-talk Subject: Re: Dynamic robots.txt Ha! I've never used it, but isapi_rewrite (http://www.isapirewrite.com/) is pretty equivalent; it should let you do the same thing. They have a free version that is probably sufficient

Re: Dynamic robots.txt

2009-05-27 Thread Michael Dinowitz
I've gone the route of rewriting IIS's 404 handler in the past and I highly suggest against it. Mapping .txt to CF would work, but that means every .txt file will be handled, not just robots.txt. What I do for my clients is use the ionic isapi to watch for any call to robots.txt and then redirect

Re: Dynamic robots.txt

2009-05-27 Thread Nathan Strutz
I second Michael's suggestion of IIRF, http://www.codeplex.com/IIRF - it's pretty good. Now, back to the original question, how to make a dynamic robots.txt file. Why not generate it? Throw together a script that generates the content of your file, then write it to the web root of your web

Re: Dynamic robots.txt

2009-05-27 Thread Cutter (CFRelated)
http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 5/27/2009 2:43 PM, Nathan Strutz wrote: I second Michael's suggestion of IIRF, http://www.codeplex.com/IIRF - it's pretty good. Now, back to the original question, how to make a dynamic

Re: Dynamic robots.txt

2009-05-27 Thread Michael Dinowitz
Strutz wrote: I second Michael's suggestion of IIRF, http://www.codeplex.com/IIRF - it's pretty good. Now, back to the original question, how to make a dynamic robots.txt file. Why not generate it? Throw together a script that generates the content of your file, then write