Go Back   cPanel Forums > General Discussion > cPanel Newbies

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2009, 09:14 PM
Registered User
 
Join Date: Jul 2009
Posts: 2
MarkVW is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-06-2009, 09:47 PM
linux7802's Avatar
Registered User
 
Join Date: Dec 2007
Posts: 95
linux7802 is on a distinguished road
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.

Quote:
AuthUserFile /home/username/public_html/.htpasswd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-06-2009, 10:23 PM
Registered User
 
Join Date: Jul 2006
Posts: 182
ChrisRHS is on a distinguished road
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:

Quote:
<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 :

Quote:
<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>
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2009, 02:15 AM
Registered User
 
Join Date: May 2008
Posts: 905
thewebhosting is on a distinguished road
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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-09-2009, 10:03 PM
Registered User
 
Join Date: Jul 2009
Posts: 2
MarkVW is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WHM blank page, cPanel only shows password box? SoftDux cPanel and WHM Discussions 2 04-08-2008 08:10 AM
can i add new user and see another user in my website with cpanel ??? nima_ata cPanel Newbies 0 03-12-2006 06:04 PM
Cpanel Keeps asking for User - Password Ranbud cPanel Newbies 1 11-30-2005 11:00 AM
Cpanel Keeps asking for User - Password Ranbud cPanel Newbies 1 11-30-2005 02:23 AM
Bandmin now asks for user/pass bmcpanel cPanel and WHM Discussions 7 08-22-2003 10:57 AM


All times are GMT -5. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc