.htaccess on Windows NT? (And "Write to file question")
Well... Windows XP as a matter of fact... anyway
I am using the NT version of Apache, for a personal web server (Just to test things out and stuff... I have never had my very own server and its just so fun! ) and I wanted to protect a few folders for different "members" (all me really, just wanted to test :P)
But as far as I know, .htaccess is only for Unix right?
Well is there an equivelent for Apache 1.2.30 - NT? How do I use it?
because, reading that htaccess page on JK, (I had read it before), it says
Quote:
htaccess is an Apache thing, not an NT thing. There are similar capabilities for NT servers, though in my professional experience and personal opinion, NT's ability in these areas is severely handicapped. But that's not what we're here for
I know it dosnt say Apache for Unix, but since it says not NT, I took it for granted that Apache for NT wouldnt work... but I guess I am wrong so cool =)
Also, I was wondering... in the httpd.conf file, I specified an error document (the 404 one), but what this does is that whenever I go to a non-existent page, it redirects me to my "missing.html" page... now I have seen many sites where the error document does not redirect you... more like, it actually turns whatever page you went to (the non-existent one) into an error-document... so if I went to say, "www.my-site.com/nonexistent.html", well, instead of redirecting me to www.my-site.com/myerrorpage.html , it would simply show all the error info ON myerrorpage.html, not taking me anywhere... how do I do this?
Note: After reading a bit, I have learned how you can specify HTML instead of a URL in the htaccess files... and I imagine this is probably how you can do it... =\
Spooter's right ( ), it should be re-worded to not differentiate between the OS and instead specify the webserver software...although, running APACHE on NT is kind of like well...I won't even go that far