You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tim Luoma <lu...@peak.org> on 2002/07/04 05:02:05 UTC

cannot get
    
Hello folks.

Been through the manual via google, no luck so far  Here is what I am 
trying to do:

I want all files in /scripts/ (or its sub-folders) to be delivered as 
plain text.  Right now the only file in there ends with .sh and is 
delivered as application/x-sh

Here is what I have tried:

<Directory /scripts>
    ForceType text/plain
</Directory>

result: 500 internal service error (hence: 500)

Then:
<Directory /full/path/to/scripts/>
    ForceType text/plain
</Directory>

result: 500

Then:
<FilesMatch "^/scripts/">
    ForceType text/plain
</FilesMatch>

result: still delivered as x-sh

Then:
<FilesMatch "^scripts/">
    ForceType text/plain
</FilesMatch>

result: still delivered as x-sh

Then:
<Location "/scripts">
    ForceType text/plain
</Location>

result: 500

As far as I can tell from the examples/manuals I am finding, any of 
these should work.  Am I missing something obvious or what else should I 
try?

Thanks!

TjL







---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org