Jump to content


Photo

htaccess no recursive directory


  • Please log in to reply
2 replies to this topic

#1 PHPSpirit

PHPSpirit
  • Members
  • PipPip
  • Member
  • 21 posts

Posted 24 July 2006 - 06:40 PM

Hi    ;D

I have a htaccess with this code: 

AddType text/html .shtml
AddHandler server-parsed .shtml

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

What can I do ?  ???



#2 apacheguy

apacheguy
  • Members
  • PipPipPip
  • Advanced Member
  • 108 posts

Posted 25 July 2006 - 04:30 PM

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">

#3 PHPSpirit

PHPSpirit
  • Members
  • PipPip
  • Member
  • 21 posts

Posted 25 July 2006 - 04:45 PM


But the proble is this:

/a+ (.htaccess)
   |
   +-/a1+ (affect)
   |      |  
   |      +-/a11 (affect)
   |     
   +-/a2(affect)

The htaccess affect all directories, I only need affect the directory "a".

Is posible ?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users