Question: |
Good day!I have a domain http://www.topearning.space/ where there`s websites and will not be, it serves to create the sites on subdomains.However, someone visits, perhaps bot.Tell me plz How can I close this domain visits anyone? |
Question: |
PS I mean to access it by this name http://www.topearning.space but the files in it to be available? |
Answer: |
You have this domain in a separate folder, You can file robot block scan robots, can restrict the IP access to this folder or put a password on this folder. |
Question: |
Thanks for the reply!which of these methods will ensure that I have written in PS?ie: the domain does NOT have access, and files in its root - IS?I was thinking about .htaccess, but You didn`t mention him... it doesn`t work? |
Answer: |
enter in .htaccess deny from all |
Question: |
thank you!try |
Answer: |
ok
|
Question: |
postovalova no file dostupnost on setup .htaccess |
Answer: |
of course not available, because you have specified deny access |
Question: |
I understand, but thought that this ban would apply only on the domain itself, as I wrote to You, and the files inside it can go...Well, after that I did a redirect on http://myworld.topearning.space but this option also did not come, because redirectet all files and them in the new domain there.Besides, now: I removed from .htaccess code to redirect, but redirect is still happening :(As it is now to cancel? .htaccess zacchiroli?Well - how to make a ban only on the domain and access the files inside it to leave? Can advise? |
Answer: |
ty quite understand how it is, access to the domain and close the file leave? please give an example of |
Question: |
found this конструкциюFiles \"\\.(php)$\" Allow from all/Filesона would suit me... can`t check the action, because the redirection is not turned off, although the code is not in the file.Help to disable redirect, plsa example, I`d like this:http://topearning.space - access denied for http://topearning.space/joinsfiforfree.php - allowed to other PHP and HTML files is also allowed |
Answer: |
http://topearning.space in this appeal, brasenia goes to the file index.php You can try just zablokirovat this file, setting him on the right 000. |
Question: |
Thank you!Could you explain me why continues to execute a redirect that I asked in the file .htaccess, and now removed? |
Answer: |
what utochnyat redirect |
Question: |
When prompted http://topearning.space there is a redirect on http://myworld.topearning.space/ and, accordingly, if you request any file http://topearning.space for example http://topearning.space/joinsfiforfree.php also there is a redirect on http://myworld.topearning.space/joinsfiforfree.phpя wrote a manual OnRewriteRule RewriteEngine ^(.*)$ http://myworld.topearning.space/$1 [R=301,L]now deleted it, but to no avail |
Answer: |
at http://topearning.space we don`t see internal redirect we see the message Website is active |
Question: |
Oh, that`s good!and I have constantly redirects, and have cleaned cookies and history |
Answer: |
open in another browser |
Question: |
in another saw - thank you!we can close this ticket |
Answer: |
ok
|