Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Missing .htaccess when transferred from another server

Discussion in 'Data Protection' started by vKios, Dec 5, 2017.

  1. vKios

    vKios Member

    Joined:
    Aug 8, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    I setup a new server to transfer accounts from my old server. I used Transfer Tool from WHM. The problem is the .htaccess is missing.

    Old server
    v66.0.29
    EasyApache 4
    Apache 2.4 and PHP 5.6
    Engintron

    New server
    v66.0.34
    EasyApache 4
    Apache 2.4 and PHP 5.6
    Engintron

    I read Transfer Tool - dotfiles/hidden files
    Then I added new server's IP to old server's hosts.allow. Then, I tried to transfer again. The error "HTTP/1.0 401 Access Denied" didn't show again. But, I still don't see .htaccess in the new account.

    I tried to transfer an account from my other server (EA 3). I found .htaccess was transferred successfully. So, I guess the problem only from EA 4.

    I already opened a ticket for this problem (#9085387).

    Thanks.
     
  2. vKios

    vKios Member

    Joined:
    Aug 8, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Problem solved after update to v68.

    Thanks.
     
  3. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    142
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    UK
    cPanel Access Level:
    Website Owner
    Twitter:
    Good you got it resolved ,Such things do occur with new version transfer.. we faced outlook SSL issue, with email error using SSL.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm glad to see the issue is now solved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    843
    Likes Received:
    14
    Trophy Points:
    168
    This issue isn't resolved. It happened today on an account transfer for me. The main .htaccess file in the public_html directory was not transferred to the new server.

    I think this only happens when "express transfer" is chosen. If the file is modified on the source server in order to redirect requests to the target server, it might be that the file doesn't get copied - but in such a case you'd expect the transfer process to make a copy / rename of the file before making changes and transfer that one over to the new server.

    Issue definitely still happening.
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @4u123,

    I'd like to reproduce this on a test environment. Can you verify which versions of cPanel were installed on the source and destination servers when you encountered this issue? Is port 2087 blocked/restricted by IP address on the source server?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice