07-22-2002, 05:14 AM
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! :rolleyes: ) 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?
Any help is greatly appreciated.
07-22-2002, 09:17 AM
Also, I wanted to know about a txt file writting program.. but I figured it out =\
07-22-2002, 02:49 PM
Doesn't matter. You can use .htaccess.
Here is a tutorial:
07-22-2002, 11:44 PM
But why does it say I can't use it on NT in so many places?
Is there parts I can use and parts I cannot use?
07-23-2002, 06:51 AM
because, reading that htaccess page on JK, (I had read it before), it says
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... =\
07-23-2002, 07:10 AM
You weren't necessarily wrong just mislead. :) You can use .htaccess/.htpassword, etc files running apache on windows.
That part of the tutorial should probably be reworded to say "htaccess is an Apache thing, not a Microsoft IIS thing."
07-23-2002, 07:11 AM
I understand now =)
Spooter's right ( :p ), 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 ;)
07-23-2002, 04:49 PM
Originally posted by Feyd
...although, running APACHE on NT is kind of like well...I won't even go that far ;)
and yes Food is right. :) Apache on windows should never be used for anything other than developing and testing. Too unstable to handle anything more.
07-23-2002, 07:43 PM
thats all I'm using it for, so I think it's ok :thumbsup: