Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess tutorial? 2

Status
Not open for further replies.

algraff

Programmer
May 28, 2001
285
US
Does anyone know where a SIMPLE [purpleface] tutorial on [blue].htaccess[/blue] can be found? All of the tutorials I've found so far get rather deep into the mechanics of how it works but don't really give any simple examples. I don't really need to understand the nuts and bolts of how [blue].htaccess[/blue] works...I just need to set a user name and password for a single directory.

::)
 
Whoops...never mind. I guess it pays to do a search first. Looks like Wullie has a pretty good FAQ posted in the Apache forum. Thanks.

One more question...
I don't have command prompt access to the web server but I can FTP files. Can I create the .htpasswd file offline and FTP it instead of creating it from a command prompt?

If so, could I get an example of what the internal file structure of .htpasswd looks like?

::)
 
Manarth... I think the key word in algraff's post was simple. The Apache docs that you provided a link to are neither simple nor are they a tutorial.

I know we hack on posters to provide more complete questions... I think we owe it to them to read their posts and reply with appropriate solutions.

Jeff
 
algraff,

I have a step by step setup for this in our hosting control panel, you can use it from the demo and it will explain it to you:


Hit submit on that page and then scroll down to the htaccess link.

One thing to note is that this setup is for Windows servers, so there is a possibility that the htpasswd generator will use a different encyption method if you use a different OS on your server.

If you have any problems, let us know.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top