Solved

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

Posted on 2004-09-21
2
168 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now