Quote:
Originally Posted by texterted
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.