Forums Redmine

restricted access to Redmine

Subscribe to restricted access to Redmine 3 post(s), 2 voice(s)

 
Avatar radsluk 11 post(s)

Hi,
we have redmine stack running thanks to beltran :)
BUT we have to restrict access for it and only users defined in .htpasswd file should be able to access our redmine
i’ve tried to put .htpasswd and .htaccess files to …/redmine/public/ and to …/apache2/htdocs/ also but with no effect :(
can you help with it?
thanks a lot

 
Avatar beltran Administrator 371 post(s)

Hi radsluk,

You can use the Apache authorization. Try to write this in httpd.conf:

<location />
authtype basic
authname “Name”
authuserfile /path/to/user/database/file
require user userid
</location>

Then, to create the user database you can use the httpwd utility included with Apache.

$ cd <installation_directory>/apache2/bin
$ ./httpasswd -c file userid

I hope it helps you!

 
Avatar radsluk 11 post(s)

thanks alot beltran :)
it works !

Forums Redmine