Welcome! Log In Create A New Profile

Advanced

loading a different robots.txt file for a different sub domain?

May 21, 2010 09:52AM
Hi All,

We have 2 sub-domain groups setup for processing incoming requests:

1. "server2"
2. all others, for example: "www"

The 2 sub-domains share the same directory for delivery of static files
(html, images, swf, etc.) but use different PHP backends.

Is there a way, using nginx configuration to load a different robots.txt
file when requested for one group vs. the other?

Thanks!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

loading a different robots.txt file for a different sub domain?

iberkner May 21, 2010 09:52AM

Re: loading a different robots.txt file for a different sub domain?

Ray May 21, 2010 09:58AM

Re: loading a different robots.txt file for a different sub domain?

iberkner May 21, 2010 10:08AM

Re: loading a different robots.txt file for a different sub domain?

Igor Sysoev May 21, 2010 10:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready