Jump to content

replace woking URL


ken
 Share

Recommended Posts

Hi all,

I have been working with intraweb for years, but now i am looking at uniGUI as a replacement, and i am very impressed. I have a question about deployment. I am running many applications, all as a standalone on difference port number, and then I have created an application (using Indy component), that listen on post 80. This runs as a “router”, and it check the sub path of each request and guide the request to the right application. Each application has its own sub path.

 

Example:

Application 1: www.myapplication.com/app1

Application 2: www.myapplication.com/app2

ect….

 

SO, what I am looking for a property in the uniGUI program, that affects all URL paths, when it generate the HTML, and AJAX code. Example: <script src="ext-3.3.0/ext-all.js"></script>…. will be changed to: <script src="app1/ext-3.3.0/ext-all.js"></script>….

If I deploy it as ISAPI, then I can see you have the application name in all paths, so I hope for a solution.

 

Looking forward to final product, ready to deploy.

 

Best regards

Ken Engels Henriksen

Link to comment
Share on other sites

  • 3 weeks later...
  • Administrators

Hi all,

I have been working with intraweb for years, but now i am looking at uniGUI as a replacement, and i am very impressed. I have a question about deployment. I am running many applications, all as a standalone on difference port number, and then I have created an application (using Indy component), that listen on post 80. This runs as a “router”, and it check the sub path of each request and guide the request to the right application. Each application has its own sub path.

 

Example:

Application 1: www.myapplication.com/app1

Application 2: www.myapplication.com/app2

ect….

 

SO, what I am looking for a property in the uniGUI program, that affects all URL paths, when it generate the HTML, and AJAX code. Example: <script src="ext-3.3.0/ext-all.js">…. will be changed to: <script src="app1/ext-3.3.0/ext-all.js">….

If I deploy it as ISAPI, then I can see you have the application name in all paths, so I hope for a solution.

 

I couldn't fully understand your purpose here. Are "app1" and "app2" two different instances of same uniGUI app running on different servers? Or is it a single app? Can you explain more?

Link to comment
Share on other sites

The 2 application is 2 difference applications, nothing to do with each other. I fact, I am running many application using the same web address, only separated by the /app1 /app2 ect. All of the applications running on server behind the firewall, making scalability very easy. If one application needs more resources, it will be moved to its own server, and many low resource applications running on one server. The client will never see the difference. For this to work, each application need to adjust the url path for each resource, JavaScript, image ect.

 

So what I am looking for is when the application generates the HTML code, it needs to apply a path to each resource, example:

<script src="ext-3.3.0/ext-all.js"></script>….

will be changed to:

<script src="app1/ext-3.3.0/ext-all.js"></script>….

 

The app1/ is a global parameter difference for each program, that will identify each program.

Right now I am using IntraWeb, and it has a property call URLbase that does this. I know I can deploy application using ISAPI and IIS, but I am happy with using stand alone deployment. Each application is running on difference port, but the user only using the on domain, and same port (80). Example for each customer: www.myapplication.com/app1, www.myapplication.com/app2 pointing to each application. There is a program that does the same call www.octagate.com.

 

Looking forward to see any solution to this setup.

 

Ken

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...