[php] .htaccess file tutorial needed

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Hey All,

I have been reading through apache's tutorial on the .htaccess file setup, and I can't understand it at all. I do get some of the basics, but I cannot get it to work at all. I am scrapping the mess I have created so far and starting over.

I was wondering if someone here can direct me as to where the small files needs to be put in, what is in them. I do run my own Apache servers right now.

Let's say for example:

My existing site: ///www.mysite.com///
Subfolder I want locked: ///www.mysite.com/test///
Username: user
Password: pass

I have created the .htaccess text file and the .htpasswd text file but I still can't get it to work. I don't know if these are created correctly (.htaccess.txt?) And where to put them in my directories.

I am using Win2003Server with Apache


Any help would be greatly appreciated.


Thanks,


Heeter
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Thanks, SpeedyB

No go with that one as well. I seem to be doing something wrong somewhere. How do I save files as ASCII instead of binary? Maybe that's my problem.


Heeter
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Awesome, Speedy,

Looks EXACTLY what I am looking for.

Gonna give it a try later on tonight,


Thanks a million, SpeedyB



Heeter
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,413
Members
5,591
Latest member
nodee