Mark Sapiro writes:
> On 12/26/2014 09:21 AM, Greg Sims wrote:
> > Is there a way to have a robots.txt file for the
> > lists.raystedman.org subdomain?
>
> Absolutely. Just put it in the root directory that contains the page
> which is served when you go to <http://lists.raystedman.org/>. I.e., put
> it where it will be served if you go to
> <http://lists.raystedman.org/robots.txt>
In my case, I'm not even sure where that is (I think it's
/var/www/way/over/there, see below, but there's some funky CGI script
aliasing going on), and anyway it's different from where my fingers
expect to find robots.txt. So I use
<VirtualHost>
ServerName tracker.xemacs.org
DocumentRoot /var/www/way/over/there
Alias /robots.txt /var/www/robots-tracker.xemacs.org
ScriptAlias ...
</VirtualHost>
where /var/www is the root of the "file system" I allow Apache to
see. The order of Alias and ScriptAlias matters, IIRC.
Season to taste if your webserver isn't Apache.
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org