httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max.Dittr...@t-online.de (Max Dittrich)
Subject Re: [users@httpd] Enabling .gif files to be served from cgi-bin
Date Sat, 15 Mar 2003 22:15:43 GMT
On 3/14/2003 10:41 PM, Michael Reynolds wrote:
> Hi
> 
> I have a script which uses graphics which are in the cgi-bin, but I get
> an Internal Server Error whenever I access it.
> 
> Is there an option I can include in my httpd.conf file to enable this
> please?

You can override the settings of the directory "cgi-bin" by using a 
Files-Container.

<Directory /your/cgi-bin>

	<Files ~ "\.gif$">
		SetHandler default-handler
	</Files>

</Directory>


.max


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