Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

show web on internet

18 REPLIES 18
Reply
Message 1 of 19
hoang2002
373 Views, 18 Replies

show web on internet

I have made a web layout .How can I show it on the internet for every body to see?
Please help me. thanks.
18 REPLIES 18
Message 2 of 19
Anonymous
in reply to: hoang2002

You can give them the same URL that you use when previewing the web layout
from Studio. They will need a username and password that you provide, but
you can also use some hidden URL paramaters to solve this by using the
default anonymous user. This way they will not be issued the login
challenge/response dialog. Here is an example:

http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSamples%2fSheboygan%2fLayouts%2fSheboyganPhp.WebLayout&LOCALE=en&USERNAME=Anonymous&PASSWORD=


--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com


wrote in message news:5440686@discussion.autodesk.com...
I have made a web layout .How can I show it on the internet for every body
to see?
Please help me. thanks.
Message 3 of 19
hoang2002
in reply to: hoang2002

When I click to your link , it show error like that :

Resource was not found: Library://Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout
Resource was not found: Library://Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout Exception occurred in method MgResourceDefinitionManager.GetDocument at line 476 in file c:\build_tux_area\mgdev_opensource\server\src\services\resource\ResourceDefinitionManager.cpp

I am a newbie . sorry if I bother you . can you explain more clearly ? And what you said about showing on internet or intranet ?
Message 4 of 19
Anonymous
in reply to: hoang2002

The URL I provided was only an example, you need to substitute with your own
information. In MapGuide Studio, if you open the web layout that you
created in edit mode, look at the section where it says "Preview in browser
using AJAX Viewer". Copy that URL to your browser and this is the same URL
that you can provide to your users. Only, you can also add on the
&USERNAME=Anonymous&PASSWORD= parameters to the URL so they do not have to
input a username and password.

Andy

wrote in message news:5441615@discussion.autodesk.com...
When I click to your link , it show error like that :

Resource was not found:
Library://Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout
Resource was not found:
Library://Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout Exception
occurred in method MgResourceDefinitionManager.GetDocument at line 476 in
file
c:\build_tux_area\mgdev_opensource\server\src\services\resource\ResourceDefinitionManager.cpp

I am a newbie . sorry if I bother you . can you explain more clearly ? And
what you said about showing on internet or intranet ?
Message 5 of 19
hoang2002
in reply to: hoang2002

So , do they have to install Maguide on their computer to view my web ?

Hoang2002
Message 6 of 19
Anonymous
in reply to: hoang2002

No, the client does not need to install anything if you are using the AJAX
version of the web layout. Just give them the URL and they should be able
to open it in their browser.


wrote in message news:5442104@discussion.autodesk.com...
So , do they have to install Maguide on their computer to view my web ?

Hoang2002
Message 7 of 19
hoang2002
in reply to: hoang2002

I have tried on another computer like what you said but it doesn't work .What problem should It be ? thanks

Hoang2002.
Message 8 of 19
hoang2002
in reply to: hoang2002

Andy , can you help me more ?Can you tell what steps I must do to show my web on my own web site ? thanks.

hoang2002
Message 9 of 19
Anonymous
in reply to: hoang2002

I'm really not sure what else I can do for you here. When you view a web
layout in edit mode in Studio, it shows you the URL to preview that web
layout in a browser. If you copy that to a browser, do you see your web
layout? If you do, then just give that URL to your users and they should be
able to see the same thing. Or, are you developing locally and referencing
localhost? If so, they need to access your web server via the name or IP
address so substitute that for localhost.

Andy

wrote in message news:5444314@discussion.autodesk.com...
Andy , can you help me more ?Can you tell what steps I must do to show my
web on my own web site ? thanks.

hoang2002
Message 10 of 19
hoang2002
in reply to: hoang2002

I mean that my web is web layout made by using mapguide Opensource and mapguide studio .
Message 11 of 19
hoang2002
in reply to: hoang2002

yeah , that's right I am developing locally and referencing
localhost . Sorry to not telling you clearly . So do I have to buy a host server and use a software (cute fpt , ect..) to upload it ?
Message 12 of 19
Anonymous
in reply to: hoang2002

Yes, you would have to install and configure MapGuide server and the web
extensions on a web server that is exposed to the internet. Yes, you can
configure and use FTP to transfer the files from you local development
computer to your production computer on the internet.

Andy

wrote in message news:5444368@discussion.autodesk.com...
yeah , that's right I am developing locally and referencing
localhost . Sorry to not telling you clearly . So do I have to buy a host
server and use a software (cute fpt , ect..) to upload it ?
Message 13 of 19
Anonymous
in reply to: hoang2002

Andy,

We got your suggestion to work with the Ajax viewer but not the DWF viewer. Is that possible? Also is it possible to add the "&USERNAME=Anonymous&PASSWORD=" to the URL that you use when previewing the web layout from Studio?

Thanks for you advice!
Kristy
Message 14 of 19
Anonymous
in reply to: hoang2002

Hi Kristy,
It's just a personal preference of mine to try to use the AJAX viewer for as
much as possible since the DWF Viewer only runs on Internet Explorer. For
internal-only sites where IE is mandated, than the DWF viewer may be just
fine (or preferable). Yes, you can add the URL parameters you show below to
the URL for a web layout.

Andy

wrote in message news:5480461@discussion.autodesk.com...
Andy,

We got your suggestion to work with the Ajax viewer but not the DWF viewer.
Is that possible? Also is it possible to add the
"&USERNAME=Anonymous&PASSWORD=" to the URL that you use when previewing the
web layout from Studio?

Thanks for you advice!
Kristy
Message 15 of 19
Anonymous
in reply to: hoang2002

Andy,

Okay....For some reason when I open Studio I get and error which says "Internet Explorer cannot open the Internet site https://server-xxx/mapguide/mapviewerdwf/?WEBLAYOUT=Library%3a%2f%2fGLEN%2f0400%2fMOD+01%2fWeb+Layouts%2fMOD+01.WebLayout&LOCALE=en. Operation Aborted". When I say okay to the error I can make any changes I need and save them but when I refresh the preview at the bottom I get the error again.

If I add "&USERNAME=Anonymous&PASSWORD=", to the URL it works perfectly in Ajax but with DWF viewer even though I've added that it still asks me for the username/password (my web layout then comes up fine). If I refresh the window I get the same error as above except with the "&USERNAME=Anonymous&PASSWORD=" added at the end of the address. Any thoughts??

Sorry this is such a long question, I hope it makes sense.

Thanks again,
Kristy
Message 16 of 19
Anonymous
in reply to: hoang2002

It sounds like there are security issues with your mapguide virtual
directory in IIS. Go into the properties of the mapagent directory in IIS,
go to Security, then uncheck allow anonymous access but check Integrated
Windows Authentication. See if that helps.

Andy

wrote in message news:5481247@discussion.autodesk.com...
Andy,

Okay....For some reason when I open Studio I get and error which says
"Internet Explorer cannot open the Internet site
https://server-xxx/mapguide/mapviewerdwf/?WEBLAYOUT=Library%3a%2f%2fGLEN%2f0400%2fMOD+01%2fWeb+Layouts%2fMOD+01.WebLayout&LOCALE=en.
Operation Aborted". When I say okay to the error I can make any changes I
need and save them but when I refresh the preview at the bottom I get the
error again.

If I add "&USERNAME=Anonymous&PASSWORD=", to the URL it works perfectly in
Ajax but with DWF viewer even though I've added that it still asks me for
the username/password (my web layout then comes up fine). If I refresh the
window I get the same error as above except with the
"&USERNAME=Anonymous&PASSWORD=" added at the end of the address. Any
thoughts??

Sorry this is such a long question, I hope it makes sense.

Thanks again,
Kristy
Message 17 of 19
Anonymous
in reply to: hoang2002

Andy,

After we changed the access to the virtual directory the Administrator/Admin, login/password for Studio wouldn't allow access and the "Anonymous" login required a password. Sorry to be such a pain but is there any other suggestions that we could try?

Thanks,
Kristy
Message 18 of 19
Anonymous
in reply to: hoang2002

Kristy,
I really don't have any suggestions at this point without looking at your
site. Hopefully somebody else here will chime in with some advice.

Andy

wrote in message news:5483595@discussion.autodesk.com...
Andy,

After we changed the access to the virtual directory the
Administrator/Admin, login/password for Studio wouldn't allow access and the
"Anonymous" login required a password. Sorry to be such a pain but is there
any other suggestions that we could try?

Thanks,
Kristy
Message 19 of 19
Anonymous
in reply to: hoang2002

Thanks Andy! We'll just keep searching for a possible solution. Hopefully someone out there will have some ideas.

Thanks again for all your help.
Kristy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report