Giter Club home page Giter Club logo

htaccess-cli's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar jdrieghe avatar staticred avatar woutersioen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

htaccess-cli's Issues

Tool reports invalid lines as valid but unsupported.

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

Allow using multiple url's and expected url's in one go

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.

Allow sharing a test run

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.