DISABLE ADBLOCK

ADBlock is blocking some content on the site

ADBlock errore

User authentication on Resin webserver

StackOverflow https://stackoverflow.com/questions/7214

Question

I'm currently tasked with replacing an Apache + Resin Java web server with a Resin-only configuration.

Currently in our apache setup, we use .htaccess and a small user database to provide passwording at a directory level.

Does anyone know the equivalent setup when using just Resin as the web server?

Solution

See "Authentication on Resin"

The closest you'll come to .htaccess with apache is configuring for Basic auth using an XmlAuthenticator. You'll need to convert your htpasswd file into the XML format that resin uses.

Follow the "Quick Start" section and you'll get what you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow