httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Beardsley <pbeards...@appropriatesolutions.com>
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
    </Directory>

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


Peter Beardsley
Appropriate Solutions, Inc.
pbeardsley[AT]appropriatesolutions.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message