Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Oct 22, 2018 5:42 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Using the Standalone build to serve seperate HTML pages?
PostPosted: Fri Dec 14, 2012 10:17 am 
Offline

Joined: Mon Dec 10, 2012 11:02 am
Posts: 3
Hi, i have a quick question reagrding the standalone builds, my understand is they are a basic http server and so for that reason i was wondering if i could also serve up HTML pages too?

The reason i ask is i would like to include a HTML page source in my WE, which can be done easily, but from what i have tried to do this, it needs to be loaded from a URL (cannot open local file?), if thats the case this means i need to also have apache running to server as my "web pages" on standard port 80, and my WE running on another port.

Is this the way its "meant" to be done.

And if none of the above makes sense, in simplier terms, if i want to have my WE and a few HTML pages on a server, do i need to have the WE standalone http server running AND a apache server, or can i serve HTML files through the WE standalone.

Thanks
Andy


Top
 Profile  
Reply with quote  
 Post subject: Re: Using the Standalone build to serve seperate HTML pages?
PostPosted: Fri Dec 14, 2012 11:22 am 
Offline
Site Admin
User avatar

Joined: Tue May 06, 2008 1:07 pm
Posts: 1464
Location: NotEvenOnTheMap, CT
You cannot serve basic HTML through the standalone. But you can serve WE apps through Apache with the CGI build type.

_________________
Thom McGrath - @tekcor
Web Framework Architect, Real Software, Inc.


Top
 Profile  
Reply with quote  
 Post subject: Re: Using the Standalone build to serve seperate HTML pages?
PostPosted: Fri Dec 14, 2012 1:38 pm 
Offline

Joined: Wed Mar 22, 2006 11:15 am
Posts: 712
Location: Southern California
Thom - for someone who is willing to use the required URL format, is there any reason not to route raw HTML through HandleSpecialURL?

Naturally Apache+CGI is the first choice for a site with lots of static content and a WE app. But what if a site will predominately be WE with just a few static pages?

_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: Using the Standalone build to serve seperate HTML pages?
PostPosted: Fri Dec 14, 2012 2:54 pm 
Offline

Joined: Mon Dec 10, 2012 11:02 am
Posts: 3
Yes that's exactly what will be the case, the real studio web app is the main software with just a few web pages for showing content that the real studio cannot, and my goal is to then update that page using http requests from web app.

By its only one or two pages? Seems overkill to install apache or have a lamp setup when there is already a basic http server in my hands?

Tanks
Andy


Top
 Profile  
Reply with quote  
 Post subject: Re: Using the Standalone build to serve seperate HTML pages?
PostPosted: Fri Dec 14, 2012 2:58 pm 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
Maybe you could open the local html document and put it in a webfile and display that webfile :)

_________________
Image http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1


Top
 Profile  
Reply with quote  
 Post subject: Re: Using the Standalone build to serve seperate HTML pages?
PostPosted: Sat Dec 15, 2012 12:40 am 
Offline

Joined: Wed Mar 22, 2006 11:15 am
Posts: 712
Location: Southern California
Yet another option, if it doesn't interfere with usability, is to display the static content in a WebHTMLViewer.

_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group