1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-21 21:26:13 +02:00

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

Jean
2018-05-25 10:21:31 +02:00
parent b5952750d5
commit 7fdc62e991

12
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.)