• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to disable directory view on a web server?

A friend was wanting to deny users to be able to view the directories of folders with no index file on his domain. I think I remember reading somewhere at some point that you could do this.

Can anyone help me with this?
 
IDK buy im hyjacking your thread and want to know why directory listing was working on my site and the BAM does not work anymore
 
Originally posted by: blurredvision
A friend was wanting to deny users to be able to view the directories of folders with no index file on his domain. I think I remember reading somewhere at some point that you could do this.

Can anyone help me with this?

um.. wrong forum..

and you have to be way more specific..

is it Unix, Windows, Apple, Commodore, etc... ???

IIS, Apache, TUX??

YOU CAN DO IT. GOOGLE!
 
Originally posted by: TechBoyJK
YOU CAN DO IT. GOOGLE!

If everybody googled everything, this forum would have half the traffic it does now. Some of us prefer the response of a real person instead of a machine.
 
Originally posted by: blurredvision
Originally posted by: TechBoyJK
YOU CAN DO IT. GOOGLE!

If everybody googled everything, this forum would have half the traffic it does now. Some of us prefer the response of a real person instead of a machine.

And if everyone stopped diggjacking this forum would be dead.

OP, google htaccess.
 
Originally posted by: MrLee
Originally posted by: blurredvision
Originally posted by: TechBoyJK
YOU CAN DO IT. GOOGLE!

If everybody googled everything, this forum would have half the traffic it does now. Some of us prefer the response of a real person instead of a machine.

And if everyone stopped diggjacking this forum would be dead.

OP, google htaccess.

pickles are cucumbers
 
Originally posted by: Anubis
Originally posted by: MrLee
Originally posted by: blurredvision
Originally posted by: TechBoyJK
YOU CAN DO IT. GOOGLE!

If everybody googled everything, this forum would have half the traffic it does now. Some of us prefer the response of a real person instead of a machine.

And if everyone stopped diggjacking this forum would be dead.

OP, google htaccess.

pickles are cucumbers

Proof?
 
take the hdd out, smash it on the floor, I bet no one will be able to directory view anymore....:laugh:

but before you do that, link the website so that we can all take a look 😉

like tekboi sez, need OS/webserver type info.

 
.htaccess will only work if you allow overrides in the directory as defined in either the apache.conf file or in the default sites-enabled file for your domain.
Example:

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
*AllowOverride All*
Order allow,deny
allow from all
You can .htaccess all you want, but if the line I commented says
AllowOverride none

the .htaccess override won't work.
 
Back
Top