Forum Moderators: bakedjake
The default page, index.cgi will not show the ant.jpg image - in the log it says: "Premature end of script headers: ant.jpg, referer: [servername...]
Additionally, it gives the same error for the two .js files.
In reading posts here about .htaccess and DIRECTORY directive, i don't know what i have done wrong.
Also, the files in question, *.jpg and *.js are -rw-r----- as i believe they should not be executable and owned by apache.apache - the owner of apache.
This is setup below /var/www/cgi-bin/bz. I have ScriptAlias set to this path and .cgi and .pl files execute properly.
So, i believe it is some permission or Type issue - any clues would be appreciated, i have been battling for a few hours and have had NO progress.
Also, I think scriptalias is only used for a cgi-bin directory, where everything is a CGI.
<Directory /var/www/users/mysite.com/htdocs/bugs/>
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
You may have cgi turned on site wide?
Thank you.
I was advised by an experienced apache person to stay away from ExecCGI - but with no explanation. I don't believe i have cgi turned on site-wide (though admitedly, i am not entirely sure what you mean by this).
Unfortunately the bugzilla project's web structure (or at least redhat's version of it) is not very well structured, mixing cgi, binary files, configuration scripts all together in one heap. That said, i will try to use ExecCGI and remove the scriptalias reference - but the other way works on my debian machine - so it is definitely a permission or file type handling sort of issue -
do you have an .htaccess file in the bugs folder?
Thanks again