The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google and temporary link

Discussion in 'General Discussion' started by Oleg.Gricik, Sep 16, 2012.

  1. Oleg.Gricik

    Oleg.Gricik Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Need your help.
    Google has started indexing temporary links.
    for example:
    http://domain.com/~username/bla-bla/phishing_content

    And all clients which are located on the server receive notifications from Google because of phishing content n their accounts.

    Questions are:
    1) How do prevent Google indexing of temporary links?
    2) is there any way to make viewing of a website ONLY using servername/~username?


    Thank you.
     
  2. robertlee749

    robertlee749 Registered

    Joined:
    Sep 14, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hey,
    i think its not a harmful thing to your site, So what happend will google indexing the temporary links
    can u tell me?
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,476
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    These links are just that, temporary. As such shouldn't be used for any length of time. For various reasons, including bandwidth tracking.
    That is how it should be working, out of the box. If it's doing something else you've got a bigger problem on the account I would think.
     
  4. Oleg.Gricik

    Oleg.Gricik Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    For example,
    ####
    Your domain name is domain.com with doma1 as the username.
    Another client on your server has domain1.com with doma2 as the username.

    Someone injected some malicious files under doma2. For example, the files were uploaded under public_html/site/

    Then Google scanned files under public_html/site/ and marked as suspicious.
    When you go to domain1.com/site/ you receive Google's Warning Page.
    When you go to servername.com/~doma2/site/ you receive Google's Warning Page.
    When you go to domain.com/~doma2/site/ you receive Google's Warning Page.

    And the main problem, as you receive a notification regarding suspicious content under
    domain.com/~doma2/site/

    Such as shared server contain approximately 800+ accounts, you receive approximately 200 notifications from your customers which received notification from Google regarding suspicious content under ~doma2/site/
    ####
    This is the problem.
     
  5. Oleg.Gricik

    Oleg.Gricik Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Actually, this isn't correct.
    Temporary link is working with any hostname.
    Here is information regarding user_moddir

    Apache mod_userdir Tweak

    But it doesn't work correctly.
    We have Enabled mod_userdir Protection and Excluded Protection for one username.
    This is very strange, as servername.com/~user/ shows 404 error page, but
    domain.com/~itsuser/ works fine.
    Then existing of temporary link doesn't make any sense.
    As in order to check it, we need po point our domain name to the server, but then I'll be able to check my website via domain.com.
    Is this some malfunction? Do I need open a ticket?
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  7. Oleg.Gricik

    Oleg.Gricik Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I've found solution.
    There was a problems with httpd.conf, so we recompiled Apache then mod_userdir Tweak started work as it must.
    We just enabled mod_userdir protection and make an exception for DefaultHost.
    As the result, temporary links work via servername and its IP address.
     
Loading...

Share This Page