• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

Locking web files on windows server running apache

Guys,

I am running apache tomcat on a windows SBS 2003 server for my website.

I would like to secure a folder so that a username and password are needed to gain access.

eg http://www.ota.com.au/ota_products/data/ 

Thui a file on the server how to I lock it so i can issue a password and username so people can get in?

Thanks
0
Adamylo
Asked:
Adamylo
1 Solution
 
periwinkleCommented:
Under Apache, you use .htaccess files in order to control access to directories (aka folders); sometimes, windows has problems with files that begin with a period.  Luckily, you can change the name of this file.  See:

http://apache-server.com/tutorials/ATusing-htaccess.html
http://www.ozoneasylum.com/21005 
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

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