3rd question:
Quote:
|
Is EVERY command for .htaccess inheritable? For instance, if I use:
|
Yes, though technically that command in the /mp3 dir would affect all files within that dir, and all dirs within that dir (and the files within that dir, and on and on). Meaning that command in your root htaccess would cause all mp3 files to be octet stream throughout your entire site, unless there was a sub-ht that over-rode the filetype octet somewhere, and that overwriting would only apply in that sole directory and its subs.
2nd question:
Quote:
|
How does one allow hot linking to images in a specific folder when the following code is used in the root .htaccess file to prevent hot linking in general.
|
Use the RewriteEngine block in your global ht as you normally would, but then in the dir that you want holinking allowed, simply stick a new htaccess file that says, only:
That simply turns off your hotlinking block for that directory and its subs (simple trick, but you'd be amazed how many people run into the same problem with the same exact request).
1st question:
Quote:
|
How does one allow directory browsing in one specific directory when the following code is used in the root .htaccess file to prevent directory browsing in general:
|
you would specify directives for specific directories. Ex:
Code:
<Directory "/full/server/path/to/dir/">
AllowOverride None
Options None
</Directory>
Hope it helps...