[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 profile posts

hello peeps... is been some time since i last came here.
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!

Forum statistics

Threads
62,000
Messages
673,425
Members
5,593
Latest member
moussa021