RimuHosting: Mighty Linux Servers.  Support Worth Raving About
Plans & Pricing
Server Recommendation Tool
Server Types
  VPS
  Semi-dedicated Server
  Dedicated Server
Server Locations
  Dallas
  London
  Australia
VPS Technology
Hardware
Data Centers
Linux Distributions
Applications
Maintenance Notices
Support Ticket
Control Panel
HOWTO Articles
Forums
VPS control panel
Billing details
Receipts
Contact details
DNS
Reverse DNS
Console-over-SSH
FTP backup space
Backup mail server
About
Staff
News
Customer Testimonials
Sales Inquiry
Link To Us
Terms and Conditions
Site Map

Order VPS Hosting
Order a VPS, Semi- dedicated or Dedicated server in Dallas, London or Australia.

Get Assistance
Ask our support team about your hosting requirements.


Host where the staff takes pride in making customers happy

I'm stunned by the speed of the website now.. It's excellent

- Grant from netmart.com.au (after moving from two other hosts and trying out his ecommerce software on our VPS) (#245/269)
Home > Support > HOWTO List > Web > htaccess

Web howtos

Password Protecting Your Web Pages: htaccess

Want to prevent people from viewing the files in a particular web directory?

Here are the steps that will enable you to secure a web directory (in this example, /var/www/html/admin directory or http://yourip/admin/).

Your .htaccess file options will look like this:

AuthType Digest
require user yourusername
AuthName "Admin"
AuthUserFile /var/www/html/admin/.htpasswd

Hit 'Apply Changes' (one of the tabs under the header on the main Apache Webserver page).

Resolving: "/etc/htaccess: order not allowed here" error in the Apache error_log

You may have selected one of the Access Checking Order options (e.g. 'Deny then allow'). You'll need to have an "AllowOverride All" (cf. AllowOverride AuthConfig) for this option to be valid for your server.