[hobbit] download instead of viewing the page

Hobbit User hobbit at epperson.homelinux.net
Thu May 31 22:27:43 CEST 2007


On Thu, May 31, 2007 06:22, Sello Tlabela wrote:
>
> Hi
>
> Is either the permissions on your cgi files or selinux is blocking you,
> try to set selinux to allow you

Definitely an Apache issue, not Hobbit.  In my experience, if there is
_one_ file in the cgi directory that's not executable by the httpd
process, it will serve _any_ of them as plain pages, and since your
browser doesn't know what to do with a ".sh" file, it triggers the
download prompt.

Do a chmod -R 755 (or 775 if you want group writable) on the cgi-bin
directory itself.  That will make sure of the file perms and also ensure
that the httpd has "x" on the directory, which it needs to get into it.



More information about the Xymon mailing list