How to Configure Your Apache Server for p5i WebInstall
This page provides instructions to configure the Apache server to work with WebInstall.
Before You Begin
A brief summary of the Package Manager and the WebInstall process is provided to better understand the configuration process.
The OpenSolaris 2009.06 Package Manager is a is a graphical user interface for the Image Packaging System (IPS) software. The Package Manager enables you to perform the following tasks:
■ Search, install, and remove packages
■ Update your system
■ Add and modify repositories
■ Create, remove, and manage boot environments
Click on the Add More Software icon on the desktop or click on the System->Administration->Package Manager from the desktop menu to start the Package Manager.
The Package Manager also enables users to add packages and optionally, install packages from these repositories, using a one-click process called WebInstall. A file with the extension .p5i is required for the WebInstall process.The .p5i file can be located on your desktop, on the Start page of the Package Manager, or on a webserver. When you click on a .p5i file, you might see a window similar to the example window shown below: 
Read more about WebInstall in the Online Help documentation of the Package Manager.
Steps to Configure Your Apache Server to Read the .p5i File
To ensure that you are able to use the one-click WebInstall process, web servers hosting the .p5i files need to have the new p5i mime type, application/vnd.p5i.info registered.
If you are running Apache, add the following AddType entry to its httpd.conf (/etc/apache2/2.2/httpd.conf) mime_module section:
<IfModule mime_module> AddType application/vnd.pkg5.info .p5i </IfModule>


Comments (1)
Sep 29
Tenzer says:
<br/> should not be included in the httpd.conf sample.<br/> should not be included in the httpd.conf sample.