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?

Was it helpful?

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
scroll top