PHPSpirit Posted July 24, 2006 Share Posted July 24, 2006 Hi ;DI have a htaccess with this code: [code]AddType text/html .shtmlAddHandler server-parsed .shtml[/code]The problem is the code affect all directories but I need only affect this directory.What can I do ? ??? Quote Link to comment https://forums.phpfreaks.com/topic/15527-htaccess-no-recursive-directory/ Share on other sites More sharing options...
apacheguy Posted July 25, 2006 Share Posted July 25, 2006 If you are using the htaccess I think you can place it in the directory that you want it to affect. Otherwise use the <Directory "whatever"> Quote Link to comment https://forums.phpfreaks.com/topic/15527-htaccess-no-recursive-directory/#findComment-63476 Share on other sites More sharing options...
PHPSpirit Posted July 25, 2006 Author Share Posted July 25, 2006 But the proble is this:[code]/a+ (.htaccess) | +-/a1+ (affect) | | | +-/a11 (affect) | +-/a2(affect)[/code]The htaccess affect all directories, I only need affect the directory "a".Is posible ? Quote Link to comment https://forums.phpfreaks.com/topic/15527-htaccess-no-recursive-directory/#findComment-63482 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.