Autodesk 15606-011408-9321 Installation Guide - Page 38

Testing the Web Server Extensions

Page 38 highlights

Enter Administrator for the user id and admin for the password. Both are case-sensitive. If the Site Administrator is configured properly, you will get a Manage Servers page which lists all the servers configured in the MapGuide Site. Testing the Web Server Extensions You can check that the Web Extensions are correctly set up. If your application development language is PHP, go to this URL in a web browser: http://localhost/mapguide/mapviewerajax/ajaxviewer.php? WEBLAYOUT=Library://ATest.WebLayout If your application development language is ASP.NET, go to this URL in a web browser: http://localhost/mapguide/mapviewerajax/ajaxviewer.aspx? WEBLAYOUT=Library://ATest.WebLayout If your application development language is JSP, go to this URL in a web browser: http://localhost/mapguide/mapviewerajax/ajaxviewer.jsp? WEBLAYOUT=Library://ATest.WebLayout Because the web layout ATest does not exist in the MapGuide repository, you should see the following error: Resource was not found: Library://ATest.WebLayout This error is returned by the AJAX Viewer script. This shows that the Web Server Extensions are correctly enabled to receive and process requests. 34 | Chapter 2 Configuring MapGuide Web Server Extensions on Windows

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38

Enter
Administrator
for the user id and
admin
for the password. Both are
case-sensitive.
If the Site Administrator is configured properly, you will get a Manage Servers
page which lists all the servers configured in the MapGuide Site.
Testing the Web Server Extensions
You can check that the Web Extensions are correctly set up. If your application
development language is PHP, go to this URL in a web browser:
http://localhost/mapguide/mapviewerajax/ajaxviewer.php?
WEBLAYOUT=Library://ATest.WebLayout
If your application development language is ASP.NET, go to this URL in a web
browser:
http://localhost/mapguide/mapviewerajax/ajaxviewer.aspx?
WEBLAYOUT=Library://ATest.WebLayout
If your application development language is JSP, go to this URL in a web
browser:
http://localhost/mapguide/mapviewerajax/ajaxviewer.jsp?
WEBLAYOUT=Library://ATest.WebLayout
Because the web layout ATest does not exist in the MapGuide repository, you
should see the following error:
Resource was not found: Library://ATest.WebLayout
This error is returned by the AJAX Viewer script. This shows that the Web
Server Extensions are correctly enabled to receive and process requests.
34
| Chapter 2
Configuring MapGuide Web Server Extensions on Windows