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, 20:50:16

Author Topic: Customers reporting problems - redirect http://domain.com/Admin to domain.com  (Read 1377 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Some users are unable to get into their websites control panel located http://domain.com/Admin - it should point to http://domain.com/Admin/login.php while it goes to http://domain.com instead.

His .htaccess file inside /Admin folder:

Quote
#php_flag session.use_trans_sid off
#php_flag register_globals On
#php_flag allow_url_fopen On

Options +FollowSymLinks
RewriteEngine On
RewriteBase /Admin/

RewriteRule ^do,([[:print:]]*) index.php?do=$1&%{QUERY_STRING} [L]
RewriteRule ^action,([[:print:]]*),view,([[:print:]]*)$ index.php?action=$1&view=$2&%{QUERY_STRING} [L]
RewriteRule ^action,([[:print:]]*)$ index.php?action=$1&%{QUERY_STRING} [L]
RewriteRule ^show,([[:print:]]*),action,([[:print:]]*),view,([[:print:]]*)$ index.php?show=$1&action=$2&view=$3&%{QUERY_STRING} [L]
RewriteRule ^show,([[:print:]]*),action,([[:print:]]*),section,([[:print:]]*)$ index.php?show=$1&action=$2&section=$3&%{QUERY_STRING} [L]
RewriteRule ^show,([[:print:]]*),view,([[:print:]]*)$ index.php?show=$1&view=$2&%{QUERY_STRING} [L]
RewriteRule ^show,([[:print:]]*),action,([[:print:]]*)$ index.php?show=$1&action=$2&%{QUERY_STRING} [L]
RewriteRule ^show,([[:print:]]*),section,([[:print:]]*)$ index.php?show=$1&section=$2&%{QUERY_STRING} [L]
RewriteRule ^show,([[:print:]]*)$ index.php?show=$1&%{QUERY_STRING} [L]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try 'RewriteBase /Admin' instead 'RewriteBase /Admin/'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Try 'RewriteBase /Admin' instead 'RewriteBase /Admin/'

Still not working - even if it do http://domainname.com/Admin/login.php ...

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.042 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM