Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 07:32:07 PM

Pages: [1]   Go Down
  Print  
Author Topic: uh...why can I see files sometimes but not others?  (Read 1010 times)
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« on: July 27, 2002, 07:08:00 AM »

I'm feeling like a major bonehead, but I'm beginning to think the cpanel is NOT my friend.

In both FTP and the cpanel File Manager I can see several default folders. However, I'd like to set a password for my site and when I go to the Web Protect function I have only "current folder" (how could I even be in a folder yet if I haven't chosen one) and "cgi-bin" which opens to reveal nothing. None of the other folders appear---I'm assuming I'd want to put the password on the public_html folder.

Not only this but if I DID want to put a password on the cgi-bin file (I have no idea why I would, but IF I did) the Web Protect function does not appear or work as the manual says it should.

Or it could be that I'm just not getting something.

btw what does "cgi-bin" stand for and what am I supposed to store there?
Logged
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #1 on: July 27, 2002, 07:37:00 AM »

Doh! Okay, I now know what the cgi-bin is. Since I have no cgi scripts to store and wouldn't know how to write one if my life depended on it WHY is this file the only one that shows? Is this a major everyone-uses-it-all-the-time kind of file? I would've thought the public_html file was more pertinent.
Logged
stephan
Guest
« Reply #2 on: July 27, 2002, 09:43:00 AM »

public_html is a folder (directory).

You need to upload your website in the public_html folder.

I'm not sure exactly what you mean :-(

The cgi-bin folder should be inside the public_html folder, it's not necessary to put a password on it.

To make a password protected folder, create a new folder inside public_html and put a password on that. This will be a place for password protected things, leaving the rest of public_html public.
Logged
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #3 on: July 27, 2002, 09:58:00 AM »

Thanks, Stephan!

I'll create a folder within the public_html directory and proceed from there.

The manual directory stuff is bit new to me so really obvious things like "What directory do I default to? and Where should I store active pages?" etc are stumbling blocks for me.

Of course, now it makes complete sense that since public_html is the only directory with visible files it would naturally be the only directory which needs Web Protect capability, hence, the default.

b
Logged
stephan
Guest
« Reply #4 on: July 28, 2002, 03:19:00 AM »

Yeah, that's right.

If you are stuck, write a message here. There's no point in being stuck for ages when there is loads of help available.

public_html is really the only directory you need to think about (mostly).
Logged
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #5 on: July 28, 2002, 11:42:00 AM »

Whee! Just wanted to let you know that it worked just fine this time. I also discovered that clicking on the icon of the folder gives you a different menu than clicking on the name of the folder. sheesh. Who'd a thunk?

Do I need to put a CSS file into a particular folder to link it into a page? Currently I've got it in the public_html folder with my other files, but the link isn't working and I'm assuming that it's because I have the path wrong. Do I need to specify the folder or is it enough to link www.webpage.com/filename.css ?

Of course it could always be that I've forgotten to close a tag somewhere. Ah, so many places to excersize my ignorance!   "[Smile]"  

thx,
b
Logged
stephan
Guest
« Reply #6 on: July 28, 2002, 09:01:00 PM »

The ccs file has to be either in the same folder, or linked to it properly.

The easiest way is to specify the full address of the ccs file, including the http://www.whatever.com/ bit.

If you like, if the html file is in a folder, and your ccs file is in the public_html folder, you can do this

../thefile.ccs

in your html, instead of thefile.ccs

../ means to go back one folder/directory.

Obviously, if you want to go forwards one, just put the name of the folder like this:

myfolder/thefile.ccs
 
 [ July 29, 2002, 05:03 AM: Message edited by: Stephan ]
Logged
cjg
Galactic Royalty
*****
Offline Offline

Posts: 237


« Reply #7 on: July 28, 2002, 11:47:00 PM »

Hello,

Just to add to what has already been said.  If you plan on using Microsoft Front page at any stage for your site it will make your web-protect turn off as the front page extensions conflict with the web-protect feature.

Regards

Christopher Gregory
Logged

Christopher Gregory

Kickme.to
Lunarpages.com
chris@lunarpages.com
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #8 on: July 29, 2002, 12:39:00 AM »

I found the problem. The links were right but I didn't realize that the path name was case sensitive.

Hence the repeated admonitions everywhere to put all filenames in lowercase, eh?

thx,

b
(trying desperately not to fall down the hill of the learning curve and break my...neck )  "[Wink]"
Logged
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #9 on: July 29, 2002, 12:44:00 AM »

Thanks, Christopher!

That's good to know.

Currently I'm building everything in Notepad, because I get lost when I have to hand edit the HTML generated by programs like FrontPage.

I'm the living example of a little knowledge being a dangerous thing!

-b
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: