[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] How do you turn off directory browsing



> irsh -e-skwirtz schrieb:
> > 
> > really simple...
> > 
> > put an index.html blank or splash page in each dir
> 
> or disable it configuring apache instead of doing this workaround (no
> bad idea to turn it off for the entire server and allow it only where
> you want it).
> 
> the directive is "Options -Indexes".
> 
> can be in main server configuration, <VirtualHost>, <Directory>,
> <Location> or .htaccess. see the apache docu and don`t forget to restart
> apache if you change it`s config files.
> 

You can also 
chmod 774 dirname
chmod -x dirname

Zeffie