Need a Little URGENT help in Reseller Management

Discussion in 'Site & Server Administration' started by Xavier_3D, Jul 31, 2012.

  1. #1
    My Webhost told me to add this code in the .htaccess for the login form to work

    
    RewriteCond %{HTTP_HOST} ^login\. [NC,OR]RewriteCond %{HTTP_HOST} ^cpanel\. [NC,OR]RewriteCond %{HTTP_HOST} ^webmail\. [NC]RewriteCond %{REQUEST_URI} !^/(cgi-sys|rhost_login)RewriteRule ^(.*)$ /cgi-sys/login.cgi [NC,L]
    Code (markup):
    However, adding that code disables my custom login page altogether and shows a different login page.

    I created a custom login page as an INDEX.HTML file and saved it in the root directory of the primary domain. It loads up fine if that code isn't there. But upon adding that code it doesn't load up.

    What am I doing wrong? What do I need to do to make the custom page work?
     
    Xavier_3D, Jul 31, 2012 IP
  2. TiffanyJ.SSS

    TiffanyJ.SSS Member

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Login form from what?
     
    TiffanyJ.SSS, Aug 2, 2012 IP
  3. Badlands-Hosting

    Badlands-Hosting Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    i can host you as i make your account and you have a cpanel login page via whm pm me for more info
     
    Badlands-Hosting, Aug 28, 2012 IP
  4. linux7802

    linux7802 Active Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    To login form to work no need to add any code in the .htaccess file, as a reseller hosting account client you can access the cPanel or whm from any place, I don't think such restriction is required on shared server environment, you can ask your hosting provider to enable the cPanel / whm from any place and if they can't enable it simply change the host or purchase the cloud or dedicated server....
     
    linux7802, Aug 28, 2012 IP