httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Apache aggressively tries to run shell scripts instead of just serving them
Date Wed, 06 Apr 2005 10:15:03 GMT
David Tonhofer, m-plify S.A. wrote:

> Shurely a simple thing:
> 
> I have files like
> 
>  "the_shell_script.sh.txt"
> 
> that I want Apache to just serve 'as is', i.e. dump the contents to
> the client as text/plain, so that he can marvel at the source code.

Apart from setting a text/plain MIME type, make sure you have
Multiviews Off for the files in question.

-- 
Nick Kew

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message