Roundcube Community Forum

 

http authentication

Started by xadamx, June 08, 2011, 11:40:02 AM

Previous topic - Next topic

xadamx

I have to use Roundcube with http authentication, so I downloaded the  http_authentication plugin, copied to the plugins directory, added the  line : $rcmail_config['plugins'] = array(http_authentication); to the  main.inc.php, but it doesn't work, simply shows the default login page  when I try to open mydomain.xy/roundcube  I'm beginner in roundcube, and I really don't know what to do, please help  me!

JohnDoh

do you have http auth running on the directory that roundcube is in? thats something you setup in your webserver not in RC.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

xadamx

#2
I tried to add this lines to  my htaccess:

AuthType Basic
AuthName "xy"

but it doesn't work, when I added the line: require user auth..  I got erro page 500
and when I added line: authuserfile....  it worked, but when I entered the right datas, it shows the authentication windows again, but when I disabled it, and refreshed the page, I got the roundcube with the logged in user's account

can you tell me what are the right settings?

JohnDoh

that sounds to me like a problem with http authentication rather than RC, check your web server documentation and make sure you've got that setup right first.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

xadamx

#4
I use cpanel, everything is in all right, but I don't know how to set it in htaccess
(http_auth is activated for users)

I could solv it, but there is a small problem
I make it's directory protected by the http authentication in htaccess file and made a htpass file with the email addresses and passwords and when I log in with this, it works, but if I log out and try to login with another account, I will enter with the previous account ( I think it is caused by the cookies)

I think this is not the right way to make roundcube http authentication supporter

xadamx

can anyone tell me how to make roundcube http autnetication supporter step by step?