Password protected webpage

D

Don Schmidt

'Have a Publisher 2000 website with a password protected webpage in a folder
on the server. It is working well EXCEPT the .htaccess and the .htpasswd
files are hidden (invisible) on the server. I can live with it until this
ol soul uploads it to the wrong folder - us old souls will do this at times.
Not seeing the file makes it impossible to remove it.

This only happens with my ISP. I do some editing on another website which
has password protection and the .htaccess file is displayed.

How do I make the files in question visible on the server? The files aren't
hidden in their Properties. The ISP folks claim it isn't controlled by
them.

This happens in two file transfer programs; FileZilla and AceFT3.
 
M

Mike Koewler

Don,

How do you know they are hidden and simply not missing? If they are
there, then create a htaccess file and upload it to the same folder -
that should overwrite the old one.

BTW, I read someplace that enabling FPSE will sometimes affect htaccess
files but I don't remember if it erases them or makes them worthless.

Mike
 
D

Don Schmidt

Mike,

I know the file is there for the folder wouldn't open if it wasn't there.
It just acts like a hidden file. The serious problem is if the .htaccess
file is uploaded into the wrong folder it can't be removed; you can't see
it. It takes the Network Tech of ISP to remove it.

I'll look for a FPSE option and see if changing it makes a difference.

don
 
D

DavidF

Hi Don,

I use a Windows based server, so have no real experience with .htaccess
files. This morning I did a Google search for "accessing .htaccess files",
and ran across this article: Using .htaccess Files with Apache:
http://apache-server.com/tutorials/ATusing-htaccess.html

From that article: "These files are called '.htaccess files' because that's
what they're typically named. This naming scheme has its roots in the NCSA
Web server and the Unix file system; files whose names begin with a dot are
often considered to be 'hidden' and aren't displayed in a normal directory
listing. The NCSA developers chose the name '.htaccess' so that a control
file in a directory would have a fairly reasonable name ('ht' for
'hypertext') and not clutter up directory listings. Plus, there's a long
history of Unix utilities storing their preferences information in such
'hidden' files."

When I did a Google search for "Fielzilla, accessing .htaccess files", I
also found this: "When you first connect to your account via Filezilla, many
of your hidden files and directories may not be visible. Hidden files and
directories are those that begin with a dot, such as .htaccess and
..procmailrc. To view hidden files in Filezilla, select View ? Show hidden
files.".

DavidF
 
D

Don Schmidt

David,

There it was! And it was the solution! Many thanks. My ISP Tech folks
didn't have the answer and all my searching (appearently using the wrong
search words) couldn't find it.

During my catastrophe I inadvertently uploaded the .htaccess file to the
public_html folder resulting in password protecting the entire website when
I only wanted to protect only one folder within the website. Crises is now
over and I can return to DEFCON 5. :)

Don
 
D

DavidF

};>)


Don Schmidt said:
David,

There it was! And it was the solution! Many thanks. My ISP Tech folks
didn't have the answer and all my searching (appearently using the wrong
search words) couldn't find it.

During my catastrophe I inadvertently uploaded the .htaccess file to the
public_html folder resulting in password protecting the entire website
when I only wanted to protect only one folder within the website. Crises
is now over and I can return to DEFCON 5. :)

Don
 
M

Mike Koewler

Don,

Did you decide to turn off the listing of hidden files? I use filezilla
and the htaccess files always were visible. Strangely, clicking the
option to show hidden files has no effect - servers must decide what
they want to hide.

Glad you got sorted.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top