Web Hosting Talk







View Full Version : HTAccess on Windows Server?


mcsteven
07-08-2002, 01:23 PM
Folks,

I'm trying to add HTAccess to a section of my web. I have found a source for the data written for a UNIX server. Great - but my host is using a Win server.

Does anyone have, or can anyone direct me to, a Windows based HTAccess template? I'm not a programmer. I'm not a Host. I'm just a webmaster who's a control freak (ok, maybe not a freak. Just need to protect some images and don't want them linked anywhere, etc. as well as wanting to add the ability to do my own 404 error, etc. pages).

(For those that are not familiar, HTAccess is a way to control directory and or sub-directory access via a log in and password. Even if someone knew where to find a specific page or file (say they knew the exact URL), the system won't allow them to view it because of the directory that it is in. They would need to put in their login and password.)

Greatly appreciated.

M. Stevens
mcsteven@pacbell.net

Andrew
07-08-2002, 01:26 PM
You can't use htaccess is a *nix only thing. :)

ckpeter
07-08-2002, 01:52 PM
If you have the option, you may want to consider installing apache onto windows. That will give your the htaccess files.

Peter

mlovick
07-08-2002, 01:55 PM
Originally posted by lightnin
You can't use htaccess is a *nix only thing. :)

It is an APACHE only thing!

Apache can run on windoze.

Andrew
07-08-2002, 02:05 PM
My bad...wasn't thinking about win32 apache.

graham
07-08-2002, 03:11 PM
I would rather run apache on windows than no apache at all!

-Graham

MGCJerry
07-08-2002, 04:18 PM
Yes it is possible to use apache on windows with .htaccess I'm doing it right now at "localhost" ;)

Download and install Apache 1.3.26, and make sure htaccess is enabled in your httpd.conf file. If you do not already have an .htaccess file, windows will not allow you to create such a file with that name. Yea, I know... it sucks.

After you install apache, ditch IIS like your old ex ;) :D