Sleipnir v1.0.3

Since v0.1.6, Sleipnir reached its 1.0 milestone and picked up a batch of Apache-compatibility work. Here's what changed:
v1.0.0 — HTTP Basic Auth (.htpasswd)
- Native support for
.htaccessBasic Auth —AuthType Basic,AuthName,AuthUserFile, andRequire valid-user/Require user <list>. - Supports every password format
htpasswdproduces: APR1 (the default), bcrypt (-B), crypt ($1$/$5$/$6$, DES), and{SHA}(-s). - Returns a proper
401with aWWW-Authenticatechallenge so browsers prompt for credentials; the deepest matching.htaccesswins. - Works exactly like Apache/LiteSpeed — drop in your existing
.htaccessand.htpasswd, no server config needed.
v1.0.1 — mod_rewrite compatibility
%{VAR}server variables now expand insideRewriteRulesubstitutions (e.g. redirecting to...%{REQUEST_URI}).- Added
%1–%9backreferences to the last matchedRewriteCond(the classic strip-www idiom now works). - Query strings are now preserved across redirects, matching Apache — no more dropped
?utm_.../ deep-link params. %{REQUEST_URI}in rewrites is now path-only (query excluded), matching Apache's mod_rewrite.
v1.0.2 — Custom error pages for 401
error_page 401now applies to Basic Auth responses, so protected areas can show a branded 401 page — with theWWW-Authenticatechallenge still attached.
v1.0.3 — Redirect hang fix
- Fixed redirects to long target URLs hanging on
GETrequests (aContent-Length/body-length mismatch). Redirects are now correct for any URL length.
Replies (0)
No replies yet.
Log in to reply.