NI Home > Community > NI Discussion Forums
LabVIEW
turn on suggestions
Showing results for
Search instead for
Do you mean
Create an Account
·
Log In
·
Help
Discussion Forums
:
Most Active Software Boards
:
LabVIEW
:
Web Service with URL redirect
Reply
Topic Options
Start Article
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic to the Top
Bookmark
Subscribe
Printer Friendly Page
« Message Listing
« Previous Topic
Next Topic »
pltrogon
Member
Posts: 102
0 Kudos
Web Service with URL redirect
Options
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Highlight
Print
Email to a Friend
Report to a Moderator
08-09-2011 05:06 PM
This seems a bit silly--it should be trivial--but I'd like to be able to direct users to:
http://<DNS name>
instead of:
http://<DNS name>:<port number>/<Web Service Name>/<static folder name>/<HTML wrapper name>
Any hints on how to do this with the LabVIEW web service?
Message 1 of 5 (599 Views)
Web Service with URL redirect - Discussion Forums http://forums.ni.com/t5/LabVIEW/Web-Service-with-URL-redirect/td-...
1 of 3 18/06/2015 08:36
Reply
ramses64
Active Participant
Posts: 599
1 Kudo
Re : Web Service with URL redirect
Options
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Highlight
Print
Email to a Friend
Report to a Moderator
08-10-2011 03:19 AM
Hi,
I'm not pretty sure, but by default, if you type :
http://<DNS name>, it will try to reach the 80 port (http) the html page called index.html
So several solutions :
1) redirect the 80 port on your routeur to the NI web service port (8000)
or
2) Change the web server HTTP port (default 8000 to 80)
For the rest, I think that the html page should be called "index.html" to be launched automatically.
Hope this will help you to solve your problem !
Regards,
V-F
Message 2 of 5 (584 Views)
Reply
pltrogon
Member
Posts: 102
0 Kudos
Re : Web Service with URL redirect
Options
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Highlight
Print
Email to a Friend
Report to a Moderator
08-11-2011 07:31 PM
Thanks for the reply... I had forgotten that the HTTP port was port 80, so that was helpful. My main difficulty was in understanding where index.html should be placed, but I believe it is in:
National InstrumentsWebServicesaws
[for what it's worth!]
Message 3 of 5 (568 Views)
Reply
ramses64
Active Participant
Posts: 599
0 Kudos
Re : Web Service with URL redirect
Web Service with URL redirect - Discussion Forums http://forums.ni.com/t5/LabVIEW/Web-Service-with-URL-redirect/td-...
2 of 3 18/06/2015 08:36
Options
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Highlight
Print
Email to a Friend
Report to a Moderator
08-12-2011 12:32 AM
Hi,
I think the index.html should be placed in : National InstrumentsLabVIEW 2011www
Best regards
V-F
Message 4 of 5 (561 Views)
Reply
pltrogon
Member
Posts: 102
0 Kudos
Re : Web Service with URL redirect
[ Edited ]
Options
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Highlight
Print
Email to a Friend
Report to a Moderator
10-07-2011 05:28 PM - edited 10-07-2011 05:32 PM
Turns out neither of us was right. Through trial and error, it works only in:
National InstrumentsSharedNI WebServerwww
[although the web server does not serve index.html automatically when http://<DNS name> is called. I still have to use http://<DNS name>/index.html. By default, WIF.html is the directory
index.]
Message 5 of 5 (511 Views)
Reply
« Message Listing
« Previous Topic
Next Topic »
(800) 531-5066 | Privacy | Terms of Use | Other Legal Info | © 2015 National Instruments Corporation. All rights reserved.
Web Service with URL redirect - Discussion Forums http://forums.ni.com/t5/LabVIEW/Web-Service-with-URL-redirect/td-...
3 of 3 18/06/2015 08:36

Web service with url redirect discussion forums

  • 1.
    NI Home >Community > NI Discussion Forums LabVIEW turn on suggestions Showing results for Search instead for Do you mean Create an Account · Log In · Help Discussion Forums : Most Active Software Boards : LabVIEW : Web Service with URL redirect Reply Topic Options Start Article Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark Subscribe Printer Friendly Page « Message Listing « Previous Topic Next Topic » pltrogon Member Posts: 102 0 Kudos Web Service with URL redirect Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator 08-09-2011 05:06 PM This seems a bit silly--it should be trivial--but I'd like to be able to direct users to: http://<DNS name> instead of: http://<DNS name>:<port number>/<Web Service Name>/<static folder name>/<HTML wrapper name> Any hints on how to do this with the LabVIEW web service? Message 1 of 5 (599 Views) Web Service with URL redirect - Discussion Forums http://forums.ni.com/t5/LabVIEW/Web-Service-with-URL-redirect/td-... 1 of 3 18/06/2015 08:36
  • 2.
    Reply ramses64 Active Participant Posts: 599 1Kudo Re : Web Service with URL redirect Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator 08-10-2011 03:19 AM Hi, I'm not pretty sure, but by default, if you type : http://<DNS name>, it will try to reach the 80 port (http) the html page called index.html So several solutions : 1) redirect the 80 port on your routeur to the NI web service port (8000) or 2) Change the web server HTTP port (default 8000 to 80) For the rest, I think that the html page should be called "index.html" to be launched automatically. Hope this will help you to solve your problem ! Regards, V-F Message 2 of 5 (584 Views) Reply pltrogon Member Posts: 102 0 Kudos Re : Web Service with URL redirect Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator 08-11-2011 07:31 PM Thanks for the reply... I had forgotten that the HTTP port was port 80, so that was helpful. My main difficulty was in understanding where index.html should be placed, but I believe it is in: National InstrumentsWebServicesaws [for what it's worth!] Message 3 of 5 (568 Views) Reply ramses64 Active Participant Posts: 599 0 Kudos Re : Web Service with URL redirect Web Service with URL redirect - Discussion Forums http://forums.ni.com/t5/LabVIEW/Web-Service-with-URL-redirect/td-... 2 of 3 18/06/2015 08:36
  • 3.
    Options Mark as New Bookmark Subscribe Subscribeto RSS Feed Highlight Print Email to a Friend Report to a Moderator 08-12-2011 12:32 AM Hi, I think the index.html should be placed in : National InstrumentsLabVIEW 2011www Best regards V-F Message 4 of 5 (561 Views) Reply pltrogon Member Posts: 102 0 Kudos Re : Web Service with URL redirect [ Edited ] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator 10-07-2011 05:28 PM - edited 10-07-2011 05:32 PM Turns out neither of us was right. Through trial and error, it works only in: National InstrumentsSharedNI WebServerwww [although the web server does not serve index.html automatically when http://<DNS name> is called. I still have to use http://<DNS name>/index.html. By default, WIF.html is the directory index.] Message 5 of 5 (511 Views) Reply « Message Listing « Previous Topic Next Topic » (800) 531-5066 | Privacy | Terms of Use | Other Legal Info | © 2015 National Instruments Corporation. All rights reserved. Web Service with URL redirect - Discussion Forums http://forums.ni.com/t5/LabVIEW/Web-Service-with-URL-redirect/td-... 3 of 3 18/06/2015 08:36