View previous topic :: View next topic |
Author |
Message |
boštjan -
Joined: 03 Apr 2008 Posts: 23
|
Posted: Wed Apr 09, 2008 1:08 pm Post subject: Error 500 (broken pipe) |
|
|
Hello!
I have a problem and would appreciate any help ;
On my site, I have set SSI exec.cgi for my "file.exe". When started, it executes it, but then it gives me an Error 500 (internal server error) - in my cgi.log says a "broken pipe" occured. The SSI command is set right below the <body> tag.
Anyone? Thanks!
Boštjan |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Wed Apr 09, 2008 2:39 pm Post subject: |
|
|
You may consider listing the section of code that is suspect in causing this error.
I generally use PHP, so I might not be able to help much, but I'd look over the URI calling for the page (make sure the ?'s and &'s are all in the right spots, the ='s are present, etc), also make sure the syntax on the actual CGI page that you're trying to load is correct too. _________________ Audit the secure configuration of your server headers! |
|
Back to top |
|
|
boštjan -
Joined: 03 Apr 2008 Posts: 23
|
Posted: Sat Apr 12, 2008 3:29 pm Post subject: Error 500 (broken pipe) |
|
|
Hi!
I am proud owner of brand new Abyss X2 - it is great, but the SSI is giving me a headache...
Well, here is the code; its just a sample, which I used for training with SSI.
When reports error 500, it says that is the problem in exec directive?
Please, help anyone!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MYSITE</title>
<!-- Created with an unregistered copy of Dynamic HTML WYSIWYG Editor -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Dynamic HTML Editor v.4.0 - http://www.hexagora.com">
<style type="text/css">
img {behavior: url("png32.htc");}
input {behavior: url("png32.htc");}
body {margin: 0px; padding: 0px;}
.verdana100FFFFFFt {font-family: Verdana, Arial, Helvetica, serif; font-size: 13px; color: #000000; text-decoration: none;}
</style>
</head>
<!--#exec cgi="myfile.exe" -->
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" alink="#FF0000" vlink="#800080">
<div id="ldheGeneric1" style="position: absolute; left: 89px; top: 93px; width: 844px; height: 443px;" align="left">
<iframe id="Generic1" name="Generic1" src="myfile.exe" width="844" height="443" frameborder="0" marginwidth="0" marginheight="0"></iframe>
</div>
<img src="hotgirl.JPG" width="300" height="400" border="2" align="top"> |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Sat Apr 12, 2008 3:35 pm Post subject: |
|
|
^Him wrote: | <!--#exec cgi="myfile.exe" --> |
Like I said, I'm not great with CGI, just PHP, do you need a semicolon at the end of the .exe";
If anything, you can call it with a PHP command (if you're running PHP on there too)
PHP.net EXEC page
Sorry I can't be more of a help... _________________ Audit the secure configuration of your server headers! |
|
Back to top |
|
|
boštjan -
Joined: 03 Apr 2008 Posts: 23
|
Posted: Sat Apr 12, 2008 4:56 pm Post subject: Error 500 (broken pipe) |
|
|
Hi,
No, I dont need a semicolon nor am I running php, so there will have to be another way to do it...
But thanks a lot for trying!
Boštjan |
|
Back to top |
|
|
canoedf -
Joined: 25 Oct 2004 Posts: 13 Location: Colorado
|
Posted: Mon Apr 14, 2008 12:58 am Post subject: Abyss SSI works |
|
|
try without the .EXE extension - this works for me with X1 running under XP
I stick the exec call within < pre > tags so the results are pretty....
I am using Abyss to do maintenance for a data center and it is working fine.
good luck.
Dan _________________ Dan |
|
Back to top |
|
|
boštjan -
Joined: 03 Apr 2008 Posts: 23
|
Posted: Mon Apr 14, 2008 8:55 am Post subject: Error 500 (Internal server error)? |
|
|
Hello,
Thanks for an answer, but I am not so advanced as you, so I have to ask;
Where are these <pre> tags?
And I tried without .exe ext., but no luck..
Did you mean like this?
<!--#exec cgi="myfile" -->
No matter, what I do, it gives me "error in directive line 1" ??
Help?
Boštjan |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Tue Apr 15, 2008 2:32 am Post subject: |
|
|
Does the file exist in the same directory as your page that you're calling CGI directives from? _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
|
boštjan -
Joined: 03 Apr 2008 Posts: 23
|
Posted: Tue Apr 15, 2008 6:36 am Post subject: Error 500 (broken pipe) |
|
|
Hello,
Well, I think that the problem is solved; the file is in cgi-bin, but I have done this:
<body>
<pre>
<!--#exec cmd="Path to myfile + myfile.exe-->
</pre>
</body>
And it worked!!
So, I would like to thank everyone for their help, especially "Toasty" !
But, I am sure, that I would need help in the future, so have a nice day and...
Abyss rocks!!!
Boštjan |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
|
Back to top |
|
|
|