Hello,
When I try to serve a gif in my cgi-bin directory, I get 500 Internal Server Error and the error_log shows:
Premature end of script headers: /home/myhome/public_html/cgi-bin/my.gif
Searching the forum just shows problems with cgis not working.
I've editted my http.conf:
<Directory "/usr/local/apache/cgi-bin">
#AllowOverride None
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>
and added:
<Files ~ "\.gif$">
Options FollowSymLinks
Allow from all
</Files>
Then restarted apache, but I still get this error. I can work around the problem, but I'd like to understand why this doesn't work.
Thanks for any tips!
--
Cole
When I try to serve a gif in my cgi-bin directory, I get 500 Internal Server Error and the error_log shows:
Premature end of script headers: /home/myhome/public_html/cgi-bin/my.gif
Searching the forum just shows problems with cgis not working.
I've editted my http.conf:
<Directory "/usr/local/apache/cgi-bin">
#AllowOverride None
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>
and added:
<Files ~ "\.gif$">
Options FollowSymLinks
Allow from all
</Files>
Then restarted apache, but I still get this error. I can work around the problem, but I'd like to understand why this doesn't work.
Thanks for any tips!
--
Cole