You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@apache.org on 2003/01/26 18:24:27 UTC

cvs commit: xml-axkit/demo .htaccess

matts       2003/01/26 09:24:27

  Modified:    demo     .htaccess
  Log:
  Use SetHandler rather than AddHandler as we don't know what else the user might have running
  
  Revision  Changes    Path
  1.4       +12 -4     xml-axkit/demo/.htaccess
  
  Index: .htaccess
  ===================================================================
  RCS file: /home/cvs/xml-axkit/demo/.htaccess,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- .htaccess	15 Mar 2002 13:35:53 -0000	1.3
  +++ .htaccess	26 Jan 2003 17:24:27 -0000	1.4
  @@ -2,10 +2,18 @@
   DirectoryIndex index.xml index.html
   
   ## AxKit handles .xml, .xsp, .axp (axpoint) and .dkb (docbook) files
  -AddHandler axkit .xml
  -AddHandler axkit .xsp
  -AddHandler axkit .axp
  -AddHandler axkit .dkb
  +<Files *.xml>
  +SetHandler axkit
  +</Files>
  +<Files *.xsp>
  +SetHandler axkit
  +</Files>
  +<Files *.axp>
  +SetHandler axkit
  +</Files>
  +<Files *.dkb>
  +SetHandler axkit
  +</Files>
   
   ## Text files handled by default-handler (I forget why I need this)
   AddHandler default-handler .txt