Solved

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

Posted on 2004-09-21
2
170 Views
Last Modified: 2010-03-04
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
Comment
Question by:andreni78
2 Comments
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12116784
do you have
AccessFileName .htaccess
directive on your main httpd.conf ?
Also check that
    AllowOverride All
option is set on httpd.conf
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 12119627
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question