Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Protecting Apache 1.3 folders on a windows System w/ .htaccess

I'm having a bit of trouble protecting my apache folders on a windows system.. for instance.. I want to protect www.mydomain.com/private folder by password or referer... I'm not having any luck with .htaccess files that used to work on a linux server... any suggestions?
0
andreni78
Asked:
andreni78
1 Solution
 
ramazanyichCommented:
do you have
AccessFileName .htaccess
directive on your main httpd.conf ?
Also check that
    AllowOverride All
option is set on httpd.conf
0
 
yuzhCommented:
Why would you switch from *nix to M$ Windows, webserver run on *nix is a lot better than
M$ Windows.

To get back to your question, please the setting as mentioned in the previous comment,
also check the FILE/Directory path in both httpd.conf AND .htaccess to make your they
are correct for Windows.

Please read the following "Windows, Apache and .htaccess authentication" tutorial:
http://sniptools.com/vault/windows-apache-and-htaccess-authentication.htm

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now