Jump to content

Virtual hosts using same app


andersa@ellenshoej.dk

Recommended Posts

I was thinking about what possibilities there are for running the same uniGUI app on several virtual hosts mapped to the same ip. I want to be able to display different data for each virtual host.

 

Is it possible to see what host name the user has input into the address line in his browser? If so at least for a standalone server it should be pretty straightforward to do. IIS might be a different story.

 

Edit:

 

I have done some testing, and it seems like this will work. The UniSession host parameter seems to contain the host header of the http request. In theory I should be able to use this information to trigger which back end data is presented to the user and even have separate authentication options for each host.

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.

×
×
  • Create New...