httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: Send files as TEXT only even if HTML
Date Tue, 23 Apr 2002 16:46:17 GMT
Lainee Scott wrote:
> 
> Basically I have a VirtualHost that I would like to
> always send data as TEXT only.  I want to allow users
> to download the files from this VirtualHost...or
> rather, view the contents of the file.  So, if the
> file
> contains PHP or HTML or just text (whatever) I would
> like the browser to always display the contents of the
> file uninterpretted.

Try

<VirtualHost whatever>
    <Directory />
        ForceType text/plain
    </Directory>
</VirtualHost>
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

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