Solved

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

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…

808 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