Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 23:02:35

Author Topic: Directory password protection not working  (Read 2029 times)

0 Members and 1 Guest are viewing this topic.

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Directory password protection not working
« on: 2015-05-27, 14:37:39 »
I have added password protection to a directory.
Added user and password.
But on my website I keep on getting login box, the username and password does not work.
It keeps on asking for login info.
I am facing this problem for a very long time, and several updates of kloxo have not been able to correct it.
Please help.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Directory password protection not working
« Reply #1 on: 2015-05-27, 14:42:00 »
Beter always inform 'sh /script/sysinfo' together with asking. Also steps for you did.
« Last Edit: 2015-05-27, 14:59:07 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Directory password protection not working
« Reply #2 on: 2015-05-27, 16:03:13 »
Hello M R,

STEPS:
=========
Clicked "Protected Directories" icon.
Filled auth name
Selected "virtual directory"
Now added Dirprotect user for this
By selecting the directory from drop down, entered username and password.
Clicked on Add button.
I think by this the directory should be password protected.
But on my website, when I access that directory, I never go past the login popup, destpite entering correct credentials.


SYSINFO:
========

A. Kloxo-MR: 6.5.0.f-2015040701

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.43-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-2.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           996        880        115          0         10        179
   -/+ buffers/cache:        690        305
   Swap:            0          0          0


Thanks in advance.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Directory password protection not working
« Reply #3 on: 2015-05-27, 16:13:43 »
I am sure no different between Kloxo-MR 6.5 and 7.0. I didn't this issue in my dev server.

Try access to http://xl1.mratwork.com/protecting/
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Directory password protection not working
« Reply #4 on: 2015-05-27, 16:15:01 »
On Your link I am getting login box.
On my site also I am getting login box, but never able to login.
The box comes again after login.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Directory password protection not working
« Reply #5 on: 2015-05-27, 16:38:15 »
Try login with toprotect as user and 123abc456 as password to my link.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Directory password protection not working
« Reply #6 on: 2015-05-27, 16:40:24 »
In your case it seems to work.
Can you check what is difference in sysinfo between yours and mine?
Does PHP type has any effect on this?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Directory password protection not working
« Reply #7 on: 2015-05-27, 16:48:27 »
Using php-fpm_event.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Directory password protection not working
« Reply #8 on: 2015-05-27, 16:57:02 »
M R, can you post your complete sysinfo please?
thanks

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Directory password protection not working
« Reply #9 on: 2015-05-27, 17:16:15 »
Okay Now it works for me.
I changed php to php-fpm.
It does not work with mod_php_ruid2.
I think it is a bug.

Offline qtriangle

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Directory password protection not working
« Reply #10 on: 2015-06-02, 07:38:38 »
M R, can you confirm if this is a bug?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Directory password protection not working
« Reply #11 on: 2015-06-02, 11:57:34 »
There are something with mod_ruid2.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.048 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM