PDA

View Full Version : Help? Site prompts for a password, but I don't want one



nadinemc
07-24-2008, 12:36 AM
I just signed up and got my site up, but when I'm not logged in to my HostMonster account, my site prompts for a username and password. I did not assign one to it. Visitor's also get this prompt when attempting to view my site:

The server (....) at cPanel requires a username and password.

Warning: This server is requesting that your username and password be sent in an insecure manner (basic authentication without a secure connection).

Does anyone know how to fix this?
Any help would be greatly appreciated!

shadmego
07-24-2008, 12:41 AM
Every image you have loading into your webpage, and every link you have on the site points to a location inside your CPanel. CPanel will always require a username/password entry to log in.

To fix this problem, you are going to have to change your html code a bunch.

What program did you use to create your site?

~regards, and welcome to the Community!

nadinemc
07-24-2008, 12:47 AM
I didn't use a program.

Eep! I think I understand what you are saying.
So I guess the next question would be: how do I find the correct address to the images and links?

(Thank you for replying!)

Edit:
Nevermind, I found the address for the images!

shadmego
07-24-2008, 01:00 AM
The best way to explain this is to use an example:

In one of your CSS background classes, you have this line:



background: url(http://XXX.XXX.XXX.XXX:2082/viewer/home1%2fnadinemc%2fpublic_html%2fimages%2fwebsite_ pieces/faderedcrystal4.png);
Instead, make all your paths relative to the public_html directory ... as such:



background: url(images/website_pieces/faderedcrystal4.png);
Notice here that I also changed "%2f" to a simple "/".

Do this same thing to ALL of your links and your should be good. Come back if you have any other questions.

~regards

P.S. By the way, your site is way out of whack in other ways. You seem to have completely forgotten the <head></head> tags in your HTML. In your code, do this as a minimum:

Put these <head> </head> tags around your CSS code ... like this:



<html>
<head>
<style type="text/css">
body ...
</style>
</head>
<body>
.....
</body>
</html>


This still won't quite bring you up to standards, but at least it will be more appropriate code for your visitors. If you want to learn about creating standards-based HTML code, you can check my site out (my signature) or any other of the hundreds of sites out there.

~regards

nadinemc
07-24-2008, 01:05 AM
Ahh, yes, thank you!

Now for the long road of changing every link!

Falcon1986
07-24-2008, 07:11 AM
There are also a few open tags that need closing.

Good resources to have are the W3C XHTML/HTML Validation Service (http://validator.w3.org/) and the W3C CSS Validation Service (http://jigsaw.w3.org/css-validator/).