Browser authentication with location/Locationmatch based not working in my litespeed server

#1
I am having the multi webnode environment and trying to setup the browser authentication for the following URL https://www.artifactuprising.com/cards-temp/ in my apache config but it was not working

Config was,

<Location /cards-temp>
AuthType Basic
AuthName "Authentication Required"
AuthUserFile /etc/httpd/conf.d/auth
Require valid-user
</Location>

I was used the same config on multiweb node but don't have litespeed web server there but it was working fine https://www.scaledownapp.com/test1. so is there any specific config updates needed to make this work on litespeed web servers.

FYI, i am using apache with litespeed serer.
 

NiteWave

Administrator
#2
it should work. what's your lsws version ? latest 4.2.17 is just out today, you can try it if it works.
#/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.17

if still problem, need more info about your configuration file. above configuration should not be in .htaccess file, right ?
 
#3
am using this config in httpd.conf as location won't work in .htaccess and my LSWS version is 4.2.16 and i don't see any latest version 4.2.17 in my control panel.
 

mistwang

LiteSpeed Staff
#8
it will work if a trialing "/" added to the location string like
<Location /cards-temp/>

But, anyway, it should be fixed with the latest 4.2.17 build, please do a force update.
/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.17
 
Top