Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Web server
Sat, Sep 13 2014 1:07 PMPermanent Link

E.B

Hi everyone,

The question may have already been asked, forgive me, but I have not found the answer in previous posts.
When I run my application I want it to be launched firefox that is not integrated with the EWB browser.

Naively (...) I installed a web server (WAMP) and asked what he listens on port 8000 of localhost.

I added a web server with http: // localhost URL and 8000 as port in EWB.

Then I put all the contents of the OUTPUT directory of my application in C: \ wamp \ www.

It does not works, firefox is not launched, I just get a gray screen in the usual EWB's Web browser.

My experience in computer network does not allow me to go further.

Can anyone tell me if this is possible and if so, how?
Sat, Sep 13 2014 1:09 PMPermanent Link

E.B

I forgot to say that Firefox browser is the default browser on my system (Seven 64 bits).
Sat, Sep 13 2014 3:02 PMPermanent Link

Raul

Team Elevate Team Elevate

On 9/13/2014 1:07 PM, E.B wrote:
> The question may have already been asked, forgive me, but I have not found the answer in previous posts.
> When I run my application I want it to be launched firefox that is not integrated with the EWB browser.

If you're referring to the using the firefox as the browser when running
from EWB IDE then i don't think that can be done at this time.

Assuming i understand this right then what you're really looking to do
is to execute and external program when run is pressed (i.e. run
firefox.exe with proper parameters to navigate to url).

As you found out you use Apache as the server side (which you have
configured) as well as make sure it deploys on run so it always has the
latest version but IDE run will use embedded IE.

You can of couyrse simply have a instance of firefox open and do a
deploy followed by refresh in the browser to get the updated app

Raul

Sun, Sep 14 2014 2:51 AMPermanent Link

E.B

Ok, thanck you Raul.

I thought that having the ability to add web server in EWB allowed to do this and that it was EWB that would launch itself the default browser of the system with the right URL as argument. So I was wrong.

So for information can you tell me what is the use of  adding web server in EWB ?



Raul wrote:

On 9/13/2014 1:07 PM, E.B wrote:
> The question may have already been asked, forgive me, but I have not found the answer in previous posts.
> When I run my application I want it to be launched firefox that is not integrated with the EWB browser.

If you're referring to the using the firefox as the browser when running
from EWB IDE then i don't think that can be done at this time.

Assuming i understand this right then what you're really looking to do
is to execute and external program when run is pressed (i.e. run
firefox.exe with proper parameters to navigate to url).

As you found out you use Apache as the server side (which you have
configured) as well as make sure it deploys on run so it always has the
latest version but IDE run will use embedded IE.

You can of couyrse simply have a instance of firefox open and do a
deploy followed by refresh in the browser to get the updated app

Raul
Sun, Sep 14 2014 7:37 AMPermanent Link

Walter Matte

Tactical Business Corporation

I wrote my own web server with RTC components and those who use the EWB Web Server supplied with EWB that you can extend to do your own back end processing - that would be one reason why you would want to select a web server.

Walter
Sun, Sep 14 2014 10:22 AMPermanent Link

Raul

Team Elevate Team Elevate

On 9/14/2014 2:51 AM, E.B wrote:
> I thought that having the ability to add web server in EWB allowed to do this and that it was EWB that would launch itself the default browser of the system with the right URL as argument. So I was wrong.
>
> So for information can you tell me what is the use of  adding web server in EWB ?

It's there so you can use a different web server than built-in one to
host the EWB app. The built-in one is good for basics but not really
extensible.

If you decide to write your own EWB module for the EWB Web server you
need to use this option or of course if you have a completely custom
server (like Walter mentioned in another post ) or like your case where
you want to use your WAMP this gives you that ability (your EWB app is
being server off your WAMP Apache server)

Raul
Mon, Sep 15 2014 3:37 AMPermanent Link

E.B

Raul wrote:

On 9/14/2014 2:51 AM, E.B wrote:
> I thought that having the ability to add web server in EWB allowed to do this and that it was EWB that would launch itself the default browser of the system with the right URL as argument. So I was wrong.
>
> So for information can you tell me what is the use of  adding web server in EWB ?

It's there so you can use a different web server than built-in one to
host the EWB app. The built-in one is good for basics but not really
extensible.

If you decide to write your own EWB module for the EWB Web server you
need to use this option or of course if you have a completely custom
server (like Walter mentioned in another post ) or like your case where
you want to use your WAMP this gives you that ability (your EWB app is
being server off your WAMP Apache server)

Raul
*********************

No I will not write my own webserver. I was only  willing to run my application on majors browsers using EWB. So I will do as you told me Raul : Opening FF and Chrome and refresh the .html each time I need.

Thanck you.
Image