View previous topic :: View next topic |
Author |
Message |
Vahn -
Joined: 10 Aug 2005 Posts: 51 Location: At my computer
|
Posted: Wed Dec 21, 2005 4:19 am Post subject: Executeing programs remotely |
|
|
Allright i know That this has most likely been brought up before and I have searched ( Spent about ˝ an hour looking and foud Zip. )
I've Tried Numerous ways to Get Abyss to Execute Files and I'm sure it's possible.. the program i'm trying to get to run is Krysoft 's search
This is what the FAQ says about my problem.:
Quote: | While issuing a query, I am prompted to download the file "ssserver.exe". Why doesn't it respond with a search report?
SSServer is now accessible by remote browsers, but yet your Web server has not been instructed to execute files from the SSServer root directory. You should allow your Web server to execute files from this directory. |
All i need to know is how to make this possible...
please direct me to the Proper fourm if it alredy exists and thank you all for your time
~ Vahn _________________ A ship in the harbor is safe, But thats not what Ships were Built for. ~ John Shedd
Success Comes before Work only in the Dictionary ~ Harvey Mackay
|
|
Back to top |
|
|
richardyork -
Joined: 22 Jun 2004 Posts: 410 Location: United Kingdom
|
Posted: Wed Dec 21, 2005 10:26 am Post subject: |
|
|
About 10 seconds to complete the search!
Click Here
12 posts down, cmxflash tells you how to do it!! _________________ Please SEARCH the forums BEFORE asking questions! |
|
Back to top |
|
|
Vahn -
Joined: 10 Aug 2005 Posts: 51 Location: At my computer
|
Posted: Wed Dec 21, 2005 11:52 am Post subject: |
|
|
Oi, Please Pardon My Lapse of good searching skills, i'll try not to let it happen again.
Please note that it is not explained how to use this script:
Code: | <?php
//Start some program, kinda easy:
exec("C://programs//abyss//abyssws.exe");
//Kill the program:
exec("taskkill /f /im abyssws.exe");
?> |
How would that Work in the Ways that I Need it to be able to Run a CGI styled search engine.
( Also i made that into an Index.php file and it came up with the following:
Code: |
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in E:\search\index.php on line 4
Parse error: syntax error, unexpected T_STRING in E:\search\index.php on line 4 |
Again, Thank you for your efforts
- Vahn _________________ A ship in the harbor is safe, But thats not what Ships were Built for. ~ John Shedd
Success Comes before Work only in the Dictionary ~ Harvey Mackay
|
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Dec 21, 2005 1:04 pm Post subject: |
|
|
Vahn wrote: | ( Also i made that into an Index.php file and it came up with the following:
Code: |
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in E:\search\index.php on line 4
Parse error: syntax error, unexpected T_STRING in E:\search\index.php on line 4 |
|
In PHP, the backslash \ character is a special one. When used inside a string it must be doubled. So instead of:
Code: | "E:\search\index.php" |
you must rather use:
Code: | "E:\\search\\index.php" |
Now back to your initial question: all depends on the program. If it is conforming to the CGI specification (check its documentation) then all you need is a little configuration on Abyss Web Server side to make it work. If not you'll have to launch it as explained above.
By the way can you send us its full download URL: we were unable to quiclly find anything relevant by searching Google for "krysoft search". _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
richardyork -
Joined: 22 Jun 2004 Posts: 410 Location: United Kingdom
|
Posted: Wed Dec 21, 2005 1:20 pm Post subject: |
|
|
Same here, I couldn't find anything by searching Google for "Krysoft Search"!! _________________ Please SEARCH the forums BEFORE asking questions! |
|
Back to top |
|
|
janberends -
Joined: 02 Sep 2003 Posts: 12 Location: Annen
|
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Dec 22, 2005 1:15 pm Post subject: Re: Executeing programs remotely |
|
|
Vahn,
We have download the Search utility and it seems that all you're missing is a simple configuration step to inform Abyss that ssserver.exe is a CGI executable file.
If you have put ssserver.exe inside your /cgi-bin subdirectory in your site, then open the console, press Hosts-Configure, select Scripting Parameters, then press Add in Script Paths. Enter /cgi-bin/ssserver.exe (or the actual virtual path of ssserver.exe in your web site, you can use the Browse feature to look for the file interactively). Press OK twice and restart the server.
Copy the search form HTML page inside your web site directory, you may need to open it to update the ACTION parameter in
Code: | <form action="http://xxx/cgi-bin/ssserver.exe" method="POST"> |
It is preferred that you remove any reference to your domain name (in the above example, it is http://xxx). So it should look like after being updated:
Code: | <form action="/cgi-bin/ssserver.exe" method="POST"> |
_________________ Support Team
Aprelium - http://www.aprelium.com
Last edited by aprelium on Fri Dec 23, 2005 1:26 pm; edited 1 time in total |
|
Back to top |
|
|
Vahn -
Joined: 10 Aug 2005 Posts: 51 Location: At my computer
|
Posted: Thu Dec 22, 2005 4:21 pm Post subject: Most Helpful |
|
|
Thank you Very Much, All of you, You have been so much of a Help
That Did the Trick Nicely Thank you again.
-Vahn _________________ A ship in the harbor is safe, But thats not what Ships were Built for. ~ John Shedd
Success Comes before Work only in the Dictionary ~ Harvey Mackay
|
|
Back to top |
|
|
|