madewithlove / htaccess-cli Goto Github PK
View Code? Open in Web Editor NEWCLI tool for the best htaccess tester in the world
Home Page: https://htaccess.madewithlove.be/
License: GNU General Public License v3.0
CLI tool for the best htaccess tester in the world
Home Page: https://htaccess.madewithlove.be/
License: GNU General Public License v3.0
It would be helpful to have the --url-list option's output include the status code associated with the output url.
When running the CLI on a .htaccess
file with an invalid directive, the tool marks the line incorrectly as valid, but reports the invalid line is unsupported.
------- --------- ----- -------------------------------------------------------------------------------- ---------------------------------------------------
valid reached met line message
------- --------- ----- -------------------------------------------------------------------------------- ---------------------------------------------------
✓ ✗ ✗ <IfModule mod_rewrite.c> This line is not supported by our tool.
✓ ✓ ✓ RewriteEngine On RewriteEngine was now turned on for the document.
✓ ✓ ✓ RewriteCond %{REQUEST_FILENAME} !-d This condition was met.
✓ ✗ ✗ RwriteRule ^(.*)/$ /$1 [L,R=301] This line is not supported by our tool.
✓ ✓ ✓ RewriteCond %{REQUEST_FILENAME} !-f This condition was met.
✓ ✓ ✓ RewriteCond %{REQUEST_FILENAME} !-d This condition was met.
✓ ✓ ✓ RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC] This condition was met.
✓ ✓ ✗ RewriteRule (.+) index.php?p=$1 [QSA] This rule was not met.
✓ ✗ ✗ </IfModule> This line is not supported by our tool.
------- --------- ----- -------------------------------------------------------------------------------- ---------------------------------------------------
An option here could be to have a yaml file containing all wanted url's and their expected outcomes.
We would also want to do this without the "expected url's", so just run it on a set of url's and see the output displayed.
It would be nice if you could add a --share
flag which gives you a share url to share your test result in the online htaccess tester.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.