The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I believe in some versions of Windows you can specify .htaccess as a filename. WinXP and NT you cannot. Even if you could though, .htaccess is a Linux COMMAND not a Windows one and so even if you could rename it it won't do what an .htaccess file would do on a linux box

There's various things that can be substituted, H. If it's a matter of password protection, the same can be achieved through file and folder permissions. If it's a matter of MIME type, then the File associations must be set, etc.

Originally posted by SketchI believe in some versions of Windows you can specify .htaccess as a filename. WinXP and NT you cannot. Even if you could though, .htaccess is a Linux COMMAND not a Windows one and so even if you could rename it it won't do what an .htaccess file would do on a linux box

.htaccess is a file, not a command. the directives should generally work exactly the same on Windows as *nix.

H, just make a file in Notepad. when you save it, put the name in quotes. e.g. ".htaccess" -- should work.

- Matt ** Ignore old signature for now... **
Dr.BB - Highly optimized to be 2-3x faster than the "Big 3." "Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR