Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    2

    Default Website page asks for cpanel user name and password

    academyofcombat.co.nz/content/blogcategory/56/118/

    When this page of a website I have been working on is viewed, a pop up comes up multiple times asking for my cpanel user name and password in order to load in most of the images. If I am logged in to cpanel they work ok but members of the public can't get past the pop ups. I have checked the following:

    -hot link protection is off
    -all folders and images permissions are set to 0644 or 0755
    -there is no .htaccess file in any of the folders with the images and I have hidden dotfiles visible
    -there is no password protection on any of the files or folders

    I have looked at the .htaccess file in /public_html but I don't have enough expertise to be able to tell if anything there is causing the problem.

    Any ideas would be greatly appreciated.
    Last edited by Infopro; 07-06-2009 at 10:36 PM. Reason: spelling

  2. #2
    Member linux7802's Avatar
    Join Date
    Dec 2007
    Posts
    218
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Solution

    It seems to be that you have been set password protection for your web site due to that after browsing the web site its asking foe login details.To disable the password protection you need to rename the .htaccess file to .htaccess-back for testing purpose or search the following line in .htaccess file and commend it.

    AuthUserFile /home/username/public_html/.htpasswd
    Regards,
    G R Sonar
    cPanel Hosting Blog

  3. #3
    Member
    Join Date
    Jul 2006
    Posts
    285

    Default

    Hi there,

    You have your coding a little messed up, and your images are trying to load from your cpanel account, thus the reason it is requesting your username and password:

    <p><a href="http://64.22.66.90:2082/viewer/home%2fvalhalla%2fpublic_html%2fAcademy%20Website%2fGraduation%20Photos%2fMay%20'09/mma_grading_may_09.JPG"><img alt="mixed martial arts schools, mixed martial arts academy, learn mma" src="http://64.22.66.90:2082/viewer/home%2fvalhalla%2fpublic_html%2fAcademy%20Website%2fGraduation%20Photos%2fMay%20'09/thumb_mma_grading_may_09.JPG" /></a></p>
    You need to change these paths to link relative to your directory, or, direct link to them :

    <p><a href="http://www.academyofcombat.co.nz/Academy Website/Graduation Photos/March 09/thumb_mma_grad_march_09.JPG"><img alt="mixed martial arts schools, mixed martial arts academy, learn mma" src="http://www.academyofcombat.co.nz/Academy Website/Graduation Photos/May '09/thumb_mma_grading_may_09.JPG" /></a></p>

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,114

    Default

    When counting exactly, it asks password for 11 times, and then let me access the site


    Yes, I also found this code in your page:

    <p><a href="http://64.22.66.90:2082/viewer/home%2fvalhalla%2fpublic_html%2fAcademy%20Website%2fGraduation%20Photos%2fMay%20'09/mma_grading_may_09.JPG"><img alt="mixed martial arts schools, mixed martial arts academy, learn mma" src="http://64.22.66.90:2082/viewer/home%2fvalhalla%2fpublic_html%2fAcademy%20Website%2fGraduation%20Photos%2fMay%20'09/thumb_mma_grading_may_09.JPG" /></a></p>

    I think you copied the image URL from the cpanel file manager. Just correct the link and the issue will be resolved..

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    2

    Default

    Thank you very much for your help guys, I had in fact linked the images from cpanel. I'm in charge of updating and modifying this website but I'm learning as I go. Thanks again.

Similar Threads & Tags
Similar threads

  1. website default cpanel page
    By onnoysomoy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-22-2011, 03:22 PM
  2. Outlook keeps asks for password
    By DeadBeet in forum E-mail Discussions
    Replies: 1
    Last Post: 07-13-2009, 10:58 AM
  3. Replies: 0
    Last Post: 03-12-2006, 06:04 PM
  4. Replies: 2
    Last Post: 02-10-2005, 03:57 PM
  5. Bandmin now asks for user/pass
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-22-2003, 10:57 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube