fixes #3147
This commit is contained in:
parent
df1daf3ee0
commit
3ea87ec82d
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
header('Content-type: text/txt');
|
||||||
|
|
||||||
|
switch ($_SERVER['SERVER_NAME']) {
|
||||||
|
case '_DOMAIN_':
|
||||||
|
echo "User-agent: *\nDisallow: ";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
echo "User-agent: *\nDisallow: /";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
exit;
|
||||||
@ -1,2 +0,0 @@
|
|||||||
User-agent: *
|
|
||||||
Disallow:
|
|
||||||
Loading…
x
Reference in New Issue
Block a user