Add robots.txt note as per 2.6. of https://defuse.ca/audits/zerobin.htm & add similar note for .htaccess

rugk 2016-07-03 19:35:35 +02:00
parent 20de24a0c6
commit 327c5d6294

@ -102,4 +102,14 @@ For reference or if you want to create the table schema for yourself:
CREATE TABLE prefix_config ( CREATE TABLE prefix_config (
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id) id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
); );
INSERT INTO prefix_config VALUES('VERSION', '0.22'); INSERT INTO prefix_config VALUES('VERSION', '0.22');
### Web server configuration
* A `robots.txt` file is provided in the root dir of ZeroBin. It disallows all robots from accessing your pastes.
It is recommend to place it into the root of your web directory if you have installed ZeroBin in a subdirectory.
Make sure to adjust it, so that the file paths match your installation. Of course also adjust the file if you
already use a `robots.txt`.
* A `.htaccess.disabled` is provided in the root dir of ZeroBin. It blocks some known robots and link-scanning bots.
If you use Apache, you can rename the file to `.htaccess` to enable this feature. If you use another webserver,
you have to configure it manually to do the same.