New topic: 

Using the Standalone build to serve seperate HTML pages?

<http://forums.realsoftware.com/viewtopic.php?t=46239>

         Page 1 of 1
   [ 5 posts ]                 Previous topic | Next topic          Author  
Message        andygib          Post subject: Using the Standalone build to 
serve seperate HTML pages?Posted: Fri Dec 14, 2012 10:17 am                     
    
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                Thom McGrath          Post 
subject: Re: Using the Standalone build to serve seperate HTML pages?Posted: 
Fri Dec 14, 2012 11:22 am                       Site Admin                
Joined: Tue May 06, 2008 1:07 pm
Posts: 1297
Location: Greater Hartford Area, 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                taylor-design          Post 
subject: Re: Using the Standalone build to serve seperate HTML pages?Posted: 
Fri Dec 14, 2012 1:38 pm                         
Joined: Wed Mar 22, 2006 11:15 am
Posts: 524
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                andygib          Post subject: 
Re: Using the Standalone build to serve seperate HTML pages?Posted: Fri Dec 14, 
2012 2:54 pm                         
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                Akiland          Post subject: 
Re: Using the Standalone build to serve seperate HTML pages?Posted: Fri Dec 14, 
2012 2:58 pm                                 
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1061
Location: Jönköping, Sweden                Maybe you could open the local 
html document and put it in a webfile and display that webfile     
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
REAL.Studio Web Edition 2011r3  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 5 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to