Commit 6c4af3ca authored by pcs's avatar pcs
Browse files

Don't assume that filename extension is at the end of the filename

PR: 3151


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82407 13f79535-47bb-0310-9956-ffa450edef68
parent 58fbb0df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Any file that has the mime type <CODE>application/x-httpd-cgi</CODE>
or handler <CODE>cgi-script</CODE> (Apache 1.1 or later)
will be treated as a CGI script, and run by the server, with its output
being returned to the client. Files acquire this type either by
having a name ending in an extension defined by the
having a name containing an extension defined by the
<A HREF="mod_mime.html#addtype">AddType</A> directive, or by being in
a <A HREF="mod_alias.html#scriptalias">ScriptAlias</A> directory. <P>