Jump to content

Archived

This topic is now archived and is closed to further replies.

PHPSpirit

htaccess no recursive directory

Recommended Posts

Hi    ;D

I have a htaccess with this code: 

[code]
AddType text/html .shtml
AddHandler server-parsed .shtml
[/code]

The problem is the code affect all directories but I need only affect this directory.

What can I do ?  ???

Share this post


Link to post
Share on other sites
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">

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.