CGI script errors / browser attempts to download file
Hi,
Thanks everyone for your recommendations on my first noob post. They really helped.
I decided to create a new thread for this problem. " http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me up to the normal "Main View" screen. The "All Non-Green" screen works as well. But everything else....and I mean everything else....my browser tries to download a file rather than run the cgi script to generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my http.conf file points at the right cgi-bin for hobbit-cgi and cgi-secure for hobbit-seccgi. Im stumped!
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
On Fri, 2007-10-05 at 11:25 -0700, McIlrath, Paul wrote:
Hi,
Thanks everyone for your recommendations on my first noob post. They really helped.
I decided to create a new thread for this problem. " http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me up to the normal "Main View" screen. The "All Non-Green" screen works as well. But everything else....and I mean everything else....my browser tries to download a file rather than run the cgi script to generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my http.conf file points at the right cgi-bin for hobbit-cgi and cgi-secure for hobbit-seccgi. Im stumped!
Check your webserver.
Make sure you have AddHandler cgi-script .cgi
in your httpd.conf
and also that you have the ExecCGI option in your hobbit-cgi and hobbit-seccgi sections of the httpd.conf
Trent
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
This is a problem with your Web server setup. It needs to be configured to properly handle each file type. Check the Hobbit documentation (tips and tricks? Installation? I forget where) for the bit about how to set up your Web server.
If you have Apache, then Apache needs to know that <whatever>.cgi is a CGI, etc.
-----Original Message----- From: McIlrath, Paul [mailto:pmcilrath at marketron.com] Sent: Friday, October 05, 2007 1:26 PM To: hobbit at hswn.dk Subject: [hobbit] CGI script errors / browser attempts to download file
Hi,
Thanks everyone for your recommendations on my first noob post. They really helped.
I decided to create a new thread for this problem. " http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me up to the normal "Main View" screen. The "All Non-Green" screen works as well. But everything else....and I mean everything else....my browser tries to download a file rather than run the cgi script to generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my http.conf file points at the right cgi-bin for hobbit-cgi and cgi-secure for hobbit-seccgi. Im stumped!
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
Necessary Apache configuration can be found as such:
[shire at frodo etc]$ locate hobbit-apache.conf /home/shire/server/etc/hobbit-apache.conf
Josh
On 10/5/07, Hubbard, Greg L <greg.hubbard at eds.com> wrote:
This is a problem with your Web server setup. It needs to be configured to properly handle each file type. Check the Hobbit documentation (tips and tricks? Installation? I forget where) for the bit about how to set up your Web server.
If you have Apache, then Apache needs to know that <whatever>.cgi is a CGI, etc.
-----Original Message----- From: McIlrath, Paul [mailto:pmcilrath at marketron.com] Sent: Friday, October 05, 2007 1:26 PM To: hobbit at hswn.dk Subject: [hobbit] CGI script errors / browser attempts to download file
Hi,
Thanks everyone for your recommendations on my first noob post. They really helped.
I decided to create a new thread for this problem. " http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me up to the normal "Main View" screen. The "All Non-Green" screen works as well. But everything else....and I mean everything else....my browser tries to download a file rather than run the cgi script to generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my http.conf file points at the right cgi-bin for hobbit-cgi and cgi-secure for hobbit-seccgi. Im stumped!
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Necessary Apache configuration can be found as such:
[shire at frodo etc]$ locate hobbit-apache.conf /home/shire/server/etc/hobbit-apache.conf
Josh
On 10/5/07, Hubbard, Greg L <greg.hubbard at eds.com> wrote:
This is a problem with your Web server setup. It needs to be configured to properly handle each file type. Check the Hobbit documentation (tips and tricks? Installation? I forget where) for the bit about how to set up your Web server.
If you have Apache, then Apache needs to know that <whatever>.cgi is a CGI, etc.
-----Original Message----- From: McIlrath, Paul [mailto:pmcilrath at marketron.com] Sent: Friday, October 05, 2007 1:26 PM To: hobbit at hswn.dk Subject: [hobbit] CGI script errors / browser attempts to download file
Hi,
Thanks everyone for your recommendations on my first noob post. They really helped.
I decided to create a new thread for this problem. " http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me up to the normal "Main View" screen. The "All Non-Green" screen works as well. But everything else....and I mean everything else....my browser tries to download a file rather than run the cgi script to generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my http.conf file points at the right cgi-bin for hobbit-cgi and cgi-secure for hobbit-seccgi. Im stumped!
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
SELINUX turned on?
-----Original Message----- From: McIlrath, Paul [mailto:pmcilrath at marketron.com] Sent: Friday, October 05, 2007 1:26 PM To: hobbit at hswn.dk Subject: CGI script errors / browser attempts to download file
Hi,
Thanks everyone for your recommendations on my first noob post. They really helped.
I decided to create a new thread for this problem. " http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me up to the normal "Main View" screen. The "All Non-Green" screen works as well. But everything else....and I mean everything else....my browser tries to download a file rather than run the cgi script to generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my http.conf file points at the right cgi-bin for hobbit-cgi and cgi- secure for hobbit-seccgi. Im stumped!
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
RESOLVED
Thanks again to everyone for their suggestions. I tried them all and still no luck, then just by dumb luck, I vi'ed the shell scripts in /usr/libexec/hobbit/cgi-bin and /usr/libexec/hobbit/cgi-secure.
They were all pointing at /opt/hobbit/server/etc/ rather than /usr/libexec/hobbit/server/etc
I modified each shell script and everything works now.
As to why the shell scripts were screwed up......well I have tried several installs...the first into /opt/hobbit.....so either I missed something when I was cleaning up between installs, or...I also noticed that the hobbit-4.2.0 directory and its contents were not owned by root.root so maybe that had an effect.
Thank you again for all your suggestions...it was luck not skill on my part that brought me to the answer.
Paul
-----Original Message-----
From: Long, Michael C [CARD] [mailto:mlong at iastate.edu]
Sent: Fri 10/5/2007 1:46 PM
To: hobbit at hswn.dk
Cc:
Subject: [hobbit] RE: CGI script errors / browser attempts to download file
SELINUX turned on?
> -----Original Message-----
> From: McIlrath, Paul [mailto:pmcilrath at marketron.com]
> Sent: Friday, October 05, 2007 1:26 PM
> To: hobbit at hswn.dk
> Subject: CGI script errors / browser attempts to download file
>
> Hi,
>
> Thanks everyone for your recommendations on my first noob post. They
> really helped.
>
> I decided to create a new thread for this problem.
> "
> http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me
> up to the normal "Main View" screen. The "All Non-Green" screen works
> as well. But everything else....and I mean everything else....my
> browser tries to download a file rather than run the cgi script to
> generate the new page/report.
>
> I checked and made sure my hobbit-server.cgi file points at the
> /usr/libexec/hobbit/cgi-bin directory, and I also made sure that my
> http.conf file points at the right cgi-bin for hobbit-cgi and cgi-
> secure for hobbit-seccgi. Im stumped!
>
> Has anyone seen this behaviour before?
>
> Paul
>
> </PRE>The information contained in this e-mail message may be
> confidential and protected from disclosure. If you are not the intended
> recipient, any dissemination, distribution or copying is strictly
> prohibited. If you think that you have received this e-mail message in
> error, please e-mail the sender at exadmins at marketron.com
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins at marketron.com
Hi all, I have managed to successfully install devmon on my hobbit server box and i needed to monitor devices using snmp..my box supports MIB as well...but i just cant get round to monitoring services like smtp...on monitored devices...can some one kindly give me the procedures of doing this? That would be of much help to me. Thank you. Alyn
participants (6)
-
ansiimire@africaonline.co.ug
-
greg.hubbard@eds.com
-
josh@imaginenetworksllc.com
-
mlong@iastate.edu
-
pmcilrath@marketron.com
-
trent.melcher@sitel.com