Commit e7127de6 authored by anarcat's avatar anarcat

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

parent 6cc91691
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
RewriteEngine on RewriteEngine on
# allow files to be accessed without /sites/fqdn/ # allow files to be accessed without /sites/fqdn/
RewriteRule ^files/(.*)$ /sites/%{HTTP_HOST}/files/$1 [L] 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]
</IfModule> </IfModule>
<?php <?php
......
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