View previous topic :: View next topic |
Author |
Message |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Sun Dec 25, 2005 7:50 am Post subject: Running X1 from a CD & how to shutdown via DOS Command |
|
|
First, Merry Christmas to all!
I am new with Abyss here, but I worked for website projects for years; recently my client wants to put his website to a CD as demo, if this happened 1 year ago I should have no problem to make this CD. The issue now is, since Windows release SP2 (on both XP and Win2000 I guess), the SP2 will block ActiveX contents like Flash, PDF, javascripts or simply a pop-up from a CD. This is a disaster to those who wants to put HTML onto CD, from now on.
I know there were people discussing about running Abyss from CD and the answer was NO officially here (see http://www.aprelium.com/forum/viewtopic.php?t=6346&highlight=cd) - please allow me to address my situation - I did couple days of works to solve the problem, seeking a lot workaround (some from Microsoft, like to use saved from tag, HTA application... ) it DID solve some javascripts and Flash blocking issues, but not all; a javascript to launch PDF is always failed, the error message is "access denied" from the left lower corner of IE browser (java error). I try to move the exactly same files to live server, access them by http, then it works very well; I realize the SP2 has to do something with this and if I run the code offline (from a CD) it just can't work. I settled to this reality, then jump to develop the CD to have a http://127.0.0.1:port localhost and I really think this is the best way to beat the SP2 and make the CD more professional.
I started to look around all kinds of free web servers, the first answer is YES by using http://localhost:port all the PDF scripts along with all other pages, work perfectly. But, the thing is, the client wants the CD to be "fool proof", which means he wants the user just pops in the CD and see the contents right away. I narrowed down to the best free web server to X1, which the official answer in this forum is "no you can't run it off a CD", to successfully run from the CD by altering the log writing lines (to not write the logs) in the abyss.conf, all files are read-only and it works perfectly. More details are - I put the html into a folder, changing the web root in the abyss.conf, and create an Autorun.ini to launch a batch file, which FIRST execute the Abyss server, then execute the index.html file, the CD works like a charm!! (the landing html page is not the relative index.html but an absolute http://127.0.0.1:port123/index.html localhost page). In a nutshell, you can run the Abyss from a CD(-R) if you don't need to write anything back to the CD. (or should I say if the abyss.conf and persist.data are read-only, it will bypass the writing without causing any problem.)
So, I successfully make a localhost CD by Abyss WS, it is precious. Of course I fully understand it is not 100% fool proof, for example if the auto-run is turned off then neither Abyss nor the http://127.0.0.1:port123 will work (this still can be addressed by supplying a guide). Or if a person try to open the CD, run the Abyss server 2 or 3 times, the icon of the Abyss WS will keep in the system Tray as many as it can and not running properly from the 2nd service. (note - as long as the first service is running the localhost output is still correct even you have 3 or 10 stopped services in the system tray. )
At this point, it took me 5 days already from the beginning to make an offline HTML CD because of the SP2 security changes, but as long as the final CD is running, I am very satisfied especially the X1 is the best free WS I have ever seen to give me the freedom over the crazy SP2.
Everything looks so perfectly thanks to the Abyss X1 WS. The only "problem" is - if it is a problem to some "fools" - when the user close the localhost web pages (browser), the Abyss WS is still running at the back. I can only shut it down by right-click on the icon from the sys-tray. Is there a DOS command, or any way I can put to a Batch file to shutdown the WS without the right-click steps? Any workaround, I appreciate in advanced!
It is Christmas day, I hope I can still get any input soon.. :-)
Note: I do put the Abyss WS logo into the main page and link it back to the site here for its credit. It deserves the best! |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sun Dec 25, 2005 8:18 am Post subject: |
|
|
Taskkill might be what you're after, try that.
Code: | C:\Documents and Settings\.administrator>taskkill /F /IM abyssws.exe
SUCCESS: The process "abyssws.exe" with PID 5564 has been terminated.
SUCCESS: The process "abyssws.exe" with PID 4452 has been terminated. |
_________________
 |
|
Back to top |
 |
 |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Sun Dec 25, 2005 9:23 am Post subject: It works!! |
|
|
MonkeyNation wrote: | Taskkill might be what you're after, try that.
Code: | C:\Documents and Settings\.administrator>taskkill /F /IM abyssws.exe
SUCCESS: The process "abyssws.exe" with PID 5564 has been terminated.
SUCCESS: The process "abyssws.exe" with PID 4452 has been terminated. |
|
Yup, thanks! I just successfully terminated the abyssws by using
pskill -t abyssws.exe
(just before I checked back here. )
apparently it did the same thing like Taskkill,
THANK YOU!! Now the CD is even better.
Update - I made a Flash exe file as the main page, I also created a batch file to start the Abyssws and the Flash ( the batch file is the Autorun.inf "open" file so it opens 2 exe files when CD pops in), then I launch the HTML by a link in the Flash. I also made a quit link in the Flash so it will call the pskill/taskkill to close the Abyssws in the same click! Done!
Merry Christmas again! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Dec 25, 2005 1:34 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
webtools,
Distributing Abyss Web Server binary outside of its original installer is not allowed by its license. So please contact us to agree on special distribution terms. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Sun Dec 25, 2005 6:32 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
aprelium wrote: | webtools,
Distributing Abyss Web Server binary outside of its original installer is not allowed by its license. So please contact us to agree on special distribution terms. |
Sure thing, I've already contacted the Aprelium team before I post the topic here. Hope I could get more details with you, thank you! |
|
Back to top |
|
 |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Wed Jan 04, 2006 2:47 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
webtools wrote: | aprelium wrote: | webtools,
Distributing Abyss Web Server binary outside of its original installer is not allowed by its license. So please contact us to agree on special distribution terms. |
Sure thing, I've already contacted the Aprelium team before I post the topic here. Hope I could get more details with you, thank you! |
Happy new year, just wonder do you get a chance to review my license request? Thank you! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Jan 05, 2006 1:09 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
webtools wrote: | Happy new year, just wonder do you get a chance to review my license request? Thank you! |
We've sent you a reply but it bounced and we received the following error email a few days later:
Code: | Hi. This is the qmail-send program at zest.aprelium.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<webtools@XXXXXXXX.com>:
Connected to 209.196.XXX.XXX but greeting failed.
Remote host said: 421 [XMail 1.20 ESMTP Server] service not available (-113), closing transmission channel
I'm not going to try again; this message has been in the queue too long.
--- Below this line is a copy of the message.
Return-Path: <support@aprelium.com>
Received: (qmail 2145 invoked from network); 27 Dec 2005 00:44:36 -0000
Received: from localhost (HELO aprelium.com) (127.0.0.1)
by localhost with SMTP; 27 Dec 2005 00:44:36 -0000
Message-ID: <43B08E9C.6020800@aprelium.com>
Date: Tue, 27 Dec 2005 01:45:16 +0100
From: Aprelium Support <support@aprelium.com>
Organization: Aprelium Technologies |
So there is a problem with your email server. Can you please check it nd let us know when to send you again the message? _________________ Support Team
Aprelium - http://www.aprelium.com
Last edited by aprelium on Fri Jan 06, 2006 11:44 am; edited 1 time in total |
|
Back to top |
|
 |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Thu Jan 05, 2006 1:41 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
aprelium wrote: | webtools wrote: | Happy new year, just wonder do you get a chance to review my license request? Thank you! |
We've sent you a reply but it bounced and we received the following error email a few days later:
Code: | Hi. This is the qmail-send program at zest.aprelium.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
From: Aprelium Support <support@aprelium.com>
Organization: Aprelium Technologies |
So there is a problem with your email server. Can you please check it nd let us know when to send you again the message? |
I am not sure what's the error - my email is working all the time. Could you please -
1. remove my email in your code here/above (to prevent robot scan and spam, it is a valid one)
2. try to PM me here so I won't miss it.
Thank you! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jan 06, 2006 11:46 am Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
webtools,
What is strange is that the email stayed in the queue for 7 days and during all that time our server retried sending it but failed at each attempt.
We will contact you by PM. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Wed Mar 29, 2006 7:06 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
aprelium wrote: | webtools,
What is strange is that the email stayed in the queue for 7 days and during all that time our server retried sending it but failed at each attempt.
We will contact you by PM. |
Thanks to the Aprelium team! I have successfully made my self-run CD running X1 under the special license and all look great! It solves all the XP-SP2 blocking issues and no limitation was set to the output. Abyss is simply the best solution! Thanks again! Anyone who is interested of how to make it work, please PM me. (and allow me couple of days to reply). You will need to submit your works (e.g. CD ISO Image) to Aprelium for approval definitely, and obtain the license from them, too. We can not achieve this without the Abyss! :D
Best,
webtools |
|
Back to top |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Wed Mar 29, 2006 7:31 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
webtools wrote: |
Thanks to the Aprelium team! I have successfully made my self-run CD running X1 under the special license and all look great! It solves all the XP-SP2 blocking issues and no limitation was set to the output. Abyss is simply the best solution! Thanks again! Anyone who is interested of how to make it work, please PM me. (and allow me couple of days to reply). You will need to submit your works (e.g. CD ISO Image) to Aprelium for approval definitely, and obtain the license from them, too. We can not achieve this without the Abyss! :D
Best,
webtools |
Hmm, as far as I know, you must enter the correct path in the abyss configuration file to the folder of the webserver. Most computers with Windows use D:, but let's say you would use something else like E:, then Abyss probably would fail, right?
Oh and by the way, you probably should check http://www.browserbob.com/ out. |
|
Back to top |
|
 |
webtools -
Joined: 25 Dec 2005 Posts: 7
|
Posted: Wed Mar 29, 2006 8:16 pm Post subject: Re: Running X1 from a CD & how to shutdown via DOS Comma |
|
|
cmxflash wrote: | webtools wrote: |
Thanks to the Aprelium team! I have successfully made my self-run CD running X1 under the special license and all look great! It solves all the XP-SP2 blocking issues and no limitation was set to the output. Abyss is simply the best solution! Thanks again! Anyone who is interested of how to make it work, please PM me. (and allow me couple of days to reply). You will need to submit your works (e.g. CD ISO Image) to Aprelium for approval definitely, and obtain the license from them, too. We can not achieve this without the Abyss! :D
Best,
webtools |
Hmm, as far as I know, you must enter the correct path in the abyss configuration file to the folder of the webserver. Most computers with Windows use D:, but let's say you would use something else like E:, then Abyss probably would fail, right?
Oh and by the way, you probably should check http://www.browserbob.com/ out. |
Nope, NOT true, my CD works from A: to Z:. (yes even a read-only floppy) No 3rd party program needed and I will stick on Abyss. ;-)
The CD is read-only, of course. You need to disable the log-writing (3 places if I was right) in the conf, and set the root to relative path. Also point the target HTML in the folder path. Don't think it way too complex. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|