O'Reilly logo

Webmin Administrator's Cookbook by Michał Karzyński

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting options for directories, files, and locations

Apache allows you to customize settings at the level of a directory or file. This means that requests matching a specific path on your server are treated differently from requests for other parts of the site.

Per-directory options can be set as part of Apache's configuration files using the <Directory> directive. Options set this way will apply to the chosen directory and all of its subdirectories. The <Directory> options set on a subdirectory will override the settings of a higher-level directory.

Local settings can also be specified by placing them in a special file (called .htaccess by default) placed in a directory. The AllowOverride option must be set on the directory for .htaccess files ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required