Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

my webroot folder /httpdocs folder contains a .htaccess file

The first lines look like this:

RewriteEngine on
RewriteBase /
AddDefaultCharset UTF-8
Options +FollowSymLinks -Indexes -ExecCGI
# DirectoryIndex index.php /index.php
# ServerSignature Off

Now, I want all settings that I have set it to, to be propagated automatically to other folders as well.
How can I do that? Thanks very much for suggestions.

share|improve this question
add comment

migrated from serverfault.com Feb 16 '11 at 22:27

This question came from our site for professional system and network administrators.

1 Answer

up vote 1 down vote accepted

Options directives will be applied to all subdirectories , and can be overridden with .htaccess file in each subdirectory.

mod_rewrite rules thou are not 'propagated' thou

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.