httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Beardsley <>
Subject Apache, mod_dav and mime types
Date Fri, 08 Mar 2002 22:02:47 GMT
I want to use mod_dav to access my html/script files, and for the most part 
it works, but I'm having one slight irritation.  When I access the files 
through mod_dav, the files with <!-- #include file= > server-side includes 
get expanded by apache.  In order to stop this, I thought the AddType 
directive might work:

   <Directory /var/www/htdocs/foo>
       DAV On
       Authname "foo"
       Authtype Basic
       AuthUserFile /var/www/htdocs/foo/.htaccess
       Require valid-user
       AddType text/plain .asp
       AddType text/plain .html

But it has no effect-- the includes are still expanded.  Does anyone have 
any idea how to achieve this?

Peter Beardsley
Appropriate Solutions, Inc.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message