version 1.3, 2001/02/19 21:43:30
|
version 1.4, 2001/02/26 10:39:08
|
|
|
The Pegasus WEB Demonstration | The Pegasus WEB Demonstration |
| |
$Log$ | $Log$ |
|
Revision 1.4 2001/02/26 10:39:08 karl |
|
Correct text |
|
|
Revision 1.3 2001/02/19 21:43:30 karl | Revision 1.3 2001/02/19 21:43:30 karl |
namespace creation | namespace creation |
| |
|
|
Apache is executing. | Apache is executing. |
| |
This demonstrations uses the HTML pages in htdocs as forms to generate CGI | This demonstrations uses the HTML pages in htdocs as forms to generate CGI |
requests through the WEB Server. These requests are services by the Pegasus |
requests through the WEB Server. These requests are serviced by the Pegasus |
CGIClient.exe program (located in cgi). This program, in turn converts the |
CGIClient.exe program (copied to cgi-bin with the Makefile in this directory). |
CGI forms input to Pegasus CIM Operations as Pegasus Client Operations and |
CGIClient, in turn converts the CGI forms input to Pegasus CIM Operations C++ |
passes them to the Pegasus CIM Server. |
calls. The Pegasus client library converts the calls to XML conformant with |
|
the DMTF CIM Operations over HTTP defintions and passes them to the Pegasus |
|
CIM Server. |
|
|
|
The CIM server responses in XML are converted back to C++ responses at the CGI |
|
client (part of the SDK code) and CGI client then make HTML pages out of the |
|
responses and passes them back to the WEB server. |
| |
NOTE: Today, the Pegasus CIM server and the WEB server must be in the same | NOTE: Today, the Pegasus CIM server and the WEB server must be in the same |
machine because CGIClient fixes the address and port of the CIM server as | machine because CGIClient fixes the address and port of the CIM server as |
|
|
| |
This will be modified in the future. | This will be modified in the future. |
| |
To use this demonstration, you must have a you must add definitions to your |
To use this demonstration, you must add definitions to your web server. For |
web server. For example, in Apace, the followingdefintions to httpd.conf would |
example, in Apache, the following defintions in httpd.conf would word if the |
workd if the %PEGASUS_ROOT% was D:/tog/pegasus. |
%PEGASUS_ROOT% was D:/tog/pegasus. |
| |
ScriptAlias /pegasus/cgi-bin "D:/tog/pegasus/cgi/cgi-bin" | ScriptAlias /pegasus/cgi-bin "D:/tog/pegasus/cgi/cgi-bin" |
Alias /pegasus/icons "D:/tog/pegasus/cgi/icons" | Alias /pegasus/icons "D:/tog/pegasus/cgi/icons" |
|
|
| |
This demonstration can be used either locally or from a remote browser | This demonstration can be used either locally or from a remote browser |
| |
|
|