Commit 291dfd12 authored by anarcat's avatar anarcat

#1173954 - use the site-specific robots.txt if present

parent ed77be27
......@@ -7,6 +7,9 @@
RewriteEngine on
# allow files to be accessed without /sites/fqdn/
RewriteRule ^files/(.*)$ /sites/%{HTTP_HOST}/files/$1 [L]
RewriteCond <?php print $this->root; ?>/sites/%{HTTP_HOST}/files/robots.txt -f
RewriteRule ^robots.txt /sites/%{HTTP_HOST}/files/robots.txt [L]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment