Solved

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

Posted on 2004-09-21
2
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 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