LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Sat Jul 23, 2011 7:55 am

Apache is NOT neccessary if you already have IIS.
http://forums.runrev.com/viewtopic.php? ... 013#p41010

-----

Finally!
Someone else sorting out step-by-step instructions.

SparkOut Suggested Uniform Server
Which has an Apache server
The Apache server is required by LiveCode server
viewtopic.php?f=8&t=8333&start=30

And a Uniform Server contributors step-by-step setup process - Lots n Lots of info here:
From nothing to a fully working, secured OT server. [Uniform Server] + [TFS 0.3.6]
http://otland.net/f479/nothing-fully-wo ... 6-a-77593/
Last edited by BarrySumpter on Mon Jul 25, 2011 2:43 am, edited 1 time in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Sat Jul 23, 2011 8:05 am

I've already run into an issue with ports.

After extracting the Uniform Server files (it's not an install persay - just an extraction of files that make up the server)
I moved all Uniform Server files all under the UniServer folder name below my inetpub folder.
I don't know if this is correct or not.

Apache comes with diagnostic tools that tell me the ports it wants.
Thanks Apache developers.

Perhaps Apache is expected to run all by itself.
And uses port 80 and and SSP port 443
Both of which are already being used by something else.
I suspect IIS. I won't be researching IIS to see if I can change post setting for something that is already running correctly.

MySQL Server installed with Apache wants port 3306.
Lucky for me 3306 is available.

I had hoped Apache had an interface to simple change the port setting for Apache in one place.
But can't seem to locate that at the mo.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

SparkOut
Posts: 1640
Joined: Sun Sep 23, 2007 4:58 pm

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by SparkOut » Sat Jul 23, 2011 8:32 am

Uniform Server had no dependence on IIS in any way. Just extract the setup file to any writable destination on your PC and run the start program from there. You will then get an icon in the system tray that you can use to start and stop the Apache server and/or MySQL separately or together. When you are done, you can stop and exit, without any registry dust being left behind.

I suspect your port issue is because you have IIS running too, and that is trying to hold onto the same ports that Uniform server needs. Stop the IIS service and you should find "it just works"

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Sat Jul 23, 2011 10:46 am

Thanks SparkOut.
In a vacuum world, you are correct, it would have just worked.
But as eveyone who reads my posts knows - "that ain't me". :evil:

But thanks super heaps for recommending Uniform Server.
I don't see how it could have been any easier to setup n run n fix.

--

To get IIS and Uniform Server to run at the same time
you can use the Move Server function in UServer:

1. Extract Uniform Server

2. move the extracted file to wherever you want them.

3. Execute Run_pre_check.exe

4. if Run_pre_check.exe reports the ports are being used -
a. Execute Start.exe
b. Right Click the USrever icon in the system tray (blue square with a 1)
c. Advanced | Move Server multiserver operation
d. just accept all changes to change all the ports for Uniform Server and all the names.
---- this operation is designed to allow us to run more than one Uniform Server at a time - pretty freakin smart

5. Right click the UServer Icon in the system try (blue square now with a 2)

6. Select Install and Run all Services - or individually as SparkOut mentioned.

7. now web browse to: localhost:81
------ where port 81 is now the NEW wwwRoot for Uniform Server

8. now web browse to simply: localhost
------ defaults to port 80 and IIS wwwRoot

For me it was easier changin UServer Ports since I already have IIS 5.1 up and running and being used actively.

hth
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Sun Jul 24, 2011 1:31 am

And yet another issues trying to access Apache from other PCs gives a "Not Allowed" Error:

Look in \UniServer\www\.htaccess. Note that only 127.0.0.1 is allowed. To add other machines on your local LAN (assuming it's on a simple router), add 192.168 to that line. This allows all addresses in the 192.168.x.x range to access your server.

--------------------------------------
...
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168
...
--------------------------------------

On other comupters on the same inTRAnet I use a browser address of:
192.168.1.x:81

where
x = my server PC
81 = Apache
80 = IIS

which works both from my other PCs AND from my other physical phones on this same inTRAnet.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Mon Jul 25, 2011 1:56 am

Intentionaly left blank.
Last edited by BarrySumpter on Mon Jul 25, 2011 2:23 am, edited 1 time in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Mon Jul 25, 2011 2:04 am

OK, Forget apache.
Apache is just another web script server like IIS.

To setup LiveCode Sever Scripting Engine on winXP32 IIS 5.1:

My Computer | Manage
My Computer - Manage.gif
My Computer - Manage.gif (16.26 KiB) Viewed 2659 times

Computer Management
| Expand - Services and Applications
| Expand - Internet Infromation Services
| Expand Web Sites
| Right Click Default Web Site
| Select Properties
Computer Management - Default Web Site - Properties.gif
On the Home Directory tab, click Configuration.
Default Web Site Properties - Config.gif
Continued below ...
Last edited by BarrySumpter on Thu Oct 13, 2011 10:31 pm, edited 5 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Mon Jul 25, 2011 2:14 am

Continued from above ....


Under Application Configuration, click Add, and then click the Mappings tab
App Config.gif

| Click Add
Add Mapping.gif
With the Add/Edit Application Extension Mapping dialog box open,
click Browse to select the .exe file or the .dll file from the local path on the Web server.
Note You must type the path to a valid file in the Executable text box or the OK button remains unavailable.
The easiest way to make sure that you enter a valid path is to select the file by using the Browse button.
After the path appears in the Executable text box,
click in the Executable text box to initialize the path.
Click in the Extension space, and then type the file name extension.

Note You must enter the period (.) in front of the extension in the Extension text box, or the OK button remains unavailable.
When the OK button becomes active, click OK to continue.

Continued below ...
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by BarrySumpter » Mon Jul 25, 2011 2:20 am

Continued from above ...

Then to test:

I placed a file named
Index.lc
into my \wwwroot folder containing the following:

Note: Looks like any font sizing must be done as HTML code and NOT LiveCode. Bummer.

Code: Select all

<p><font size="24">
<?rev
Put Date() & " - " &  Time()
Put "<br><br><b>Hello RunRev LiveCode Server<br> - Scripting Engine World!</b>"
?>
then in my PC browser:
localhost/index.lc

this does NOT work on my android device
since localhost nor 127.0.0.1 point to the local operating system
and on an android device the local operating system is the android OS
and the android OS is NOT running a server. LOL

HOWEVER,
if the ip address of my IIS server is: 192.168.1.99
then
http://192.168.1.99/index.lc
works an my android including any other pc that has access to this inTRAnet.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

MaxV
Posts: 1341
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: LiveCode Server 4.6.3 - Setup on WinXP32 IIS 5.1

Post by MaxV » Tue Oct 10, 2017 6:25 pm

Hi,
I get:

Errore HTTP 502.2 - Bad Gateway
Bad HTTP header . Header is "".

Any idea? :(
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”