Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-04-06 20:17:41

phpjob.b...@gmail.com
Guest

Admin restriction - .htaccess file to put for Authorization

Hi Remigijus,

        Need your help on advising in placing the admin access URL via one more login /password
access using .htaccess restriction. This will help me to secure my  server & also avoid someone
repeated attempt trying to access admin area.
       
Currently I am on CentOS VPS [1 GB ] with Web version.

Your version - 1.93
Current version - 1.92
Last database update - update_72.sql

https://github.com/remdex/livehelperchat/archive/master.zip


http://URL/livehelperchat-master/lhc_web/index.php/site_admin/user/login

Contents of .htaccess file [ I need to know where should I place such file ]

AuthUserFile "/home/example/.htpasswds/public_html/domain/"
AuthType Basic
authname "Secure Area"
require valid-user
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} site_admin
RewriteRule ^(.*)$ https://www.example.com/livehelperchat-master/lhc_web/index.php/site_admin/user/login/$1 [R,L]


Rgds


https://groups.google.com/forum/#!topic … VmJ99riz70

#2 2014-04-07 14:40:08

phpjob.b...@gmail.com
Guest

Re: Admin restriction - .htaccess file to put for Authorization

Please can someone help me on which location I should place my .htaccess file having authorization stuff to restrict the admin area access..

#3 2014-04-07 15:30:33

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Admin restriction - .htaccess file to put for Authorization

Try lhc_web main folder. just near index.php, there is no separate folder just for admin access.

2014-04-07 15:40 GMT+03:00  <phpjob.b...***.com>:

Offline

Board footer