View Single Post
  #8 (permalink)  
Old 14-01-2009, 13:41
Rsync's Avatar
Rsync Rsync is offline
System Administrator(eUKhost.com)
 
Join Date: Mar 2007
Posts: 327
Default

Quote:
Originally Posted by texterted View Post
One more issue I have (for now!).

How do I prevent a directories contents being displayed in a users browser?

I'd rather it showed a 403 instead.

I'm greatful for all this handholding in this scary environment of newbie VPS management!
You can prevent a directories contents being displayed in a users browser and have an error (403) returned instead, use the below line in your .htaccess.
Quote:
Options -Indexes
__________________
RsyNc.
VPS Support Team

VPS Hosting ||Cloud Hosting 100% UPTIME!
Follow eUKhost on Twitter || Join eUKhost Community on Facebook
MSN: johnr @ eukhost.com
SKYPE: john_rodricks
Reply With Quote