View Full Version : .htaccess for NT?
Mhtml
10-30-2002, 10:57 AM
Is there a form of .htaccess for NT? I have heard of something called .nsconfig but can't find any information on it anywhere.
firepages
10-31-2002, 04:32 PM
does the global.asa not deal with such things ?
Mhtml
11-01-2002, 12:35 AM
As far as I know it didn't, well to that extent anyway.
JustAsking
11-01-2002, 04:52 AM
.nsconfig files are used on Enterprise Netscape Servers.
global.asa files I'm with you, don't think it handles error files
.htaccess files are for Apache Servers only
The only option I think you have is to create your own error page and go into the iis properties and point the 404 error file to the one you made.
:cool:
Mhtml
11-01-2002, 07:37 AM
Yeah, I thought it would come down to that.
I don't know why but when I googled .nsconfig is what came up and some page I visited gave a brief explanation saying it worked on iis, and another I have visited said that you can work .htaccess on iis.
You can use nsconfig, but it is pretty nasty. Especially since, ultimately, file permissions are set at the file level anyways (NTFS, not FAT). There are options where you could run a SERVICE to emulate it, but don't get your hopes up...
nsconfig would be something like:
RestrictAccess type=allow *domain.com
RestrictAccess type=allow *yourdomain.com
<Files *>
ErrorFile code=404 path=/errors/404.asp
</Files>
You can also ban IP and other items through the IIS administrator, though you could drag your overhead high if you go too far with (considering NT's/IIS's large overhead in normal running mode).
You can also use a browsercap.ini file to detect and block spiders/robots/browsers if you get an updated version (M$ never kept their gloabl version updated).
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.