Can ".htaccess" file work with npm's "http-server" command? -


this rookie question, although npm http-server page states:

...http-server simple, zero-configuration command-line http server...

does mean disregards .htaccess file? if so, there (yet still simple use) http server alternative reads , uses it?

.htaccess apache configuration file. since apache isn't npm, apache configuration files not work npm.

npm uses environment variables , npmrc files configure things. see this documentation page.

in case looks this might want do.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -