From 7fdc62e991932ca09253f86d40460d84e66cba93 Mon Sep 17 00:00:00 2001 From: Jean Date: Fri, 25 May 2018 10:21:31 +0200 Subject: [PATCH] Following the standards established in the RFC2606 (https://tools.ietf.org/html/rfc2606#page-2) and the RFC6761 (https://tools.ietf.org/html/rfc6761#section-6.3), it's better for the user to give him a working link (using .localhost redirects the user to localhost), and the traditionnal L(inux)AMP install (https://doc.ubuntu-fr.org/lamp) has the following default path : /var/www/html --- Home.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Home.md b/Home.md index 4ff15a1..bd0f695 100644 --- a/Home.md +++ b/Home.md @@ -30,14 +30,14 @@ Installation ------------ Place the `/min/` directory as a child of your DOCUMENT_ROOT -directory: i.e. you will have: `/home/example/www/min` +directory: i.e. you will have: `/var/www/html/min` You can see verify that it is working by visiting these two URLs: -- http://example.org/min/?f=min/quick-test.js -- http://example.org/min/?f=min/quick-test.css +- http://example.localhost/min/?f=min/quick-test.js +- http://example.localhost/min/?f=min/quick-test.css If your server supports mod_rewrite, this URL should also work: -- http://example.org/min/f=min/quick-test.js +- http://example.localhost/min/f=min/quick-test.js Configuration & Usage --------------------- @@ -60,9 +60,9 @@ Unit Testing ------------ 1. Place the /min_unit_tests/ directory as a child of your DOCUMENT_ROOT -directory: i.e. you will have: /home/example/www/min_unit_tests +directory: i.e. you will have: /var/www/html/min_unit_tests -2. To run unit tests, access: http://example.org/min_unit_tests/test_all.php +2. To run unit tests, access: http://example.localhost/min_unit_tests/test_all.php (If you wish, the other test_*.php files can be run to test individual components with more verbose output.)