Browser Detection Script checks if Internet Explorer 5.5 is being used and adjusts the font size if it is.
Help Contents

How does OracleAS Portal work with WebDAV?

| Definition | Related Help Topics | Additional Information |

Back to topDefinition

This topic is divided into the following sections:

| What is WebDAV? | Configuring OracleAS Portal for WebDAV |
Setting up a WebDAV client
|  Using a WebDAV client | Viewing errors |

What is WebDAV?

OracleAS Portal supports the use of a Web-based Distributed Authoring and Versioning protocol (WebDAV). Using a WebDAV client, such as Web Folders, content contributors can seamlessly drag and drop content, files, and folders back and forth between the desktop and the page groups in the portal. They can also perform in-place opening, editing, and saving of file-type items using desktop applications, such as Microsoft Office 2000.

WebDAV also has Java clients (such as DAV Explorer), open source tools (such as Cadaver and Sitecopy), Apple GUI tools (such as Goliath), and commercial authoring tools (such as Macromedia Dreamweaver and Adobe Photoshop). Users can also use browsers such as Mozilla or Internet Explorer 5.5 to browse a portal's content in a hierarchical structure.

Setting up WebDAV requires some simple configuration on both the server side (in OracleAS Portal) and the client side.

Configuring OracleAS Portal for WebDAV

When Oracle Application Server is installed, all required OraDAV parameters are set with values that enable access to Oracle database content through a Web browser or a WebDAV client. If necessary, the portal administrator can modify parameter values if the default values do not meet your needs. For information about how to do this, refer to the Oracle Application Server Portal Configuration Guide on Portal Center.

Note: OraDAV refers to the capabilities available through the mod_oradav module. The mod_oradav module is the Oracle module that extends the implementation of mod_dav, and is integrated with the Oracle HTTP Server. The mod_oradav module enables WebDAV clients to connect to an Oracle database, read and write content, and query and lock documents in various schemas. See the Oracle HTTP Server Administration Guide on Oracle Technology Network for more information about WebDAV, OraDAV, and how to set up mod_oradav.

WebDAV configuration file

Similarly to the OracleAS Portal DAD configuration file, WebDAV has it own configuration file ($APACHE_HOME/oradav/conf/oradav.conf) that contains the OraDAV parameters. The contents of this file look something like the following:

<Location /dav_portal/portal>
  DAV Oracle
  DAVParam ORACONNECT dbhost:dbport:dbsid
  DAVParam ORAUSER portal_schema
  DAVParam ORAPASSWORD portal_schema_password
  DAVParam ORAPACKAGENAME portal_schema.wwdav_api_driver
  Options Indexes

</Location>

We recommend that portal administrators always use the DAD configuration utility (available as part of Portal Service Monitoring) to create new DADs and make changes to existing DADs, as this keeps these two files in sync. If an administrator manually edits the OracleAS Portal DAD, the oradav.conf file must also be edited to make the corresponding changes.

Note: Whenever the portal administrator makes changes to the oradav.conf file, the HTTP Server must be restarted before the new settings will take effect. For information about how to do this, refer to the Oracle HTTP Server Administration Guide on Oracle Technology Network.

Authentication

Due to the way some WebDAV clients behave, users might experience authentication requests multiple times. To avoid this, the portal administrator can enable the cookie option by adding the following line to the oradav.conf file:

DAVParam ORACookieMaxAge <seconds>

where seconds is the amount of time in seconds before the cookie expires.

For example a value of 28800 is 8 hours and means that once a user has logged on through a WebDAV client, he or she will not be prompted for a user name and password again until 8 hours has passed.

Note: Some WebDAV clients, for example, Dreamweaver, do not support cookies, so even if the cookie option is enabled, users may still be prompted for their passwords multiple times.

If you are using the SQL*Net Advanced Security Option (ASO), the ORACONNECT parameter in the oradav.conf file must be replaced with ORASERVICE dbhost as shown below:

<Location /dav_portal/portal>
  DAV Oracle
  DAVParam ORASERVICE dbhost
  DAVParam ORAUSER portal_schema
  DAVParam ORAPASSWORD portal_schema_password
  DAVParam ORAPACKAGENAME portal_schema.wwdav_api_driver
  Options Indexes

</Location>

This allows the database alias to be resolved by the tnsnames.ora file.

Setting up a WebDAV client

The steps required to set up a WebDAV client to connect to OracleAS Portal varies depending on the client. But all clients will eventually request a URL. The OracleAS Portal DAV URL is very similar to the URL you use to access the portal itself in your Web browser, and uses the following format:

http://<hostname>:<port>/<dav_location>

Where dav_location is the location as specified in the oradav.conf file, for example, the default OracleAS Portal DAV URL is:

http://<hostname>:<port>/dav_portal/portal

The dav_portal part of the URL is the default name of a virtual directory used to differentiate between portal access via a WebDAV client and portal access which uses the pls virtual directory. portal is the DAD of the portal installation. Administrators can also configure virtual hosts to provide a different, simpler, or easier to remember URL for WebDAV access, if need be.

Users connect to a portal in WebDAV clients using the same user name and password that they use to log in to the portal itself. If the portal is in a hosted environment, users also need to add their company information to their user name, as follows:

<username>@<company>

Tips:

WebDAV clients and SSL

Although OraDAV does support Secure Socket Layer (SSL), some WebDAV clients do not. Refer to the table below to see which clients support SSL:

  NT/Windows 2000 Unix Linux Mac OS
Web Folders Yes NA NA No (An error has occurred - error=-36)
IE Yes NA NA No (The identity certificate is invalid)
Mozilla Yes (Netscape 7.0) Yes Yes Yes
Cadaver NA Yes Yes Yes
Dreamweaver MX No NA NA No (The identity certificate is invalid)
GoLive No NA NA No

Using a WebDAV client

OracleAS Portal supports the following set of actions using a WebDAV client. Since not all WebDAV clients behave the same way, users might be allowed only a subset of these actions depending on the client being used. For example, users can check items in and out only if the WebDAV client supports the WebDAV LOCK method (Web Folders do not currently support locking operations, Office 2000 clients support implicit locking operations, Cadaver and Dreamweaver support explicit locking operations). Performing any of the following actions has the same effect as performing it in the portal itself, and any change made from the WebDAV client is instantly visible in the portal.

Listing content

Once connected to the portal, all the page groups on which the user has privileges to see are visible as folders at the root level (the folders actually represent the root pages of the page groups).

To be able to see a page group, the user must be able to view the root page of the page group. All authenticated users should see at least the Corporate Pages page group. Additionally, if the user has a personal page in the Shared Objects page group, he or she should be able to see Shared Objects and access his or her personal page via the WebDAV client.

Drill into a page group to list all the pages inside the page group as folders. Drill into a page to list the page's sub-pages and all items (and sub-items) of the following types:

To see items in a WebDAV client, the user must have at least the View privilege. Users will see the current version of the item. Items will be available in the page group's default language only. Translations of items are not visible in WebDAV clients.

Users will see only the main file (i.e., the primary file or image) associated with each item. Any other files (i.e., secondary files or images) associated with the item (for example, the item image), are hidden in the WebDAV client. If users want to delete or change these files, they must do so in the portal itself.

Tips:

Viewing content

Most WebDAV clients allow users to view the content of a file by clicking on the name. In Windows 2000 or NT, the behavior is very similar to clicking a file on the local machine; the operating system opens it in the application associated with the file type.

Tip: Some desktop applications may have difficulty opening files that use special characters in the file name. We recommend that file names use only alphanumeric characters (A-Z, a-z, 0-9), spaces, and the following special characters: _ - . ( ) ! , ; = ~ @ [ ] { } ^ $ +.

Adding, editing, moving, and copying

To add, edit, move, or copy files, a user must have at least the Manage Items With Approval privilege.

The page designer can specify what item types to use for new files published to the portal via WebDAV. For example, the page designer might want any zip files published to the portal to be uploaded as Zip File items, so that their contents can be extracted into the page group. If the default item type includes the Category attribute, new items added via WebDAV clients are assigned to the General category.

When a content contributor edits or moves an existing item using WebDAV, that item retains its original item type and attribute settings. Similarly, when a contributor copies an item using WebDAV, the copy uses the item type and attribute settings of the original item. Contributors cannot edit an item's attributes in OracleAS Portal's DAV server. To do this they must edit the item in the portal itself.

OracleAS Portal's DAV server supports Audit versioning. If a page uses Audit versioning, when a content contributor uses a WebDAV client to edit an item on the page, a new version of the item is created. The new version will always be set to the current version. If the contributor does not want the new version to be the current version, he or she must edit the item in the portal itself.

Note: If a page uses Simple versioning, when a content contributor uses a WebDAV client to edit an item on the page, a new version of the item is created and set to the current version. The contributor does not have the choice of overwriting the previous version of the item. To overwrite the previous version of the item, the contributor must edit the item in the portal itself.

OracleAS Portal's DAV server also supports approvals. If a user with the Manage Items With Approval privilege on a page adds an item to the page using a WebDAV client, the approval process for the page or page group is triggered. The item does not become visible to other users until it has been approved.

Note: As soon as the contributor with the Manage Items With Approval privilege adds or changes an item, that item cannot be updated in the WebDAV client until it has been approved or rejected.

With WebDAV-enabled desktop applications, such as Microsoft Office 2000, content contributors can open a file, edit it directly, and then save it to the same location, using the same name. With other applications, the contributor can save the file to the local file system and drag and drop the new file to the portal. The next time the file is opened from the portal itself, the edited version will be displayed.

When content contributors move or copy a file, the whole item associated with that file is moved or copied, including associated files (for example, the item image) and any sub-items. If a sub-item is copied, the copy is created as a top-level item.

Tips:

Deleting content

When content contributors delete a file in a WebDAV client, the whole item associated with that file is deleted from the portal. This means that any other files that are associated with the item (for example, the item image) are also deleted, as well as all versions and translations of the item.

If deleted items are retained in the database, when contributors mark an item for deletion in the portal itself, the item will still be visible in WebDAV clients.

Checking content out and in

If the WebDAV client supports locking and unlocking (e.g., Dreamweaver), content contributors can lock a file, which in turn will check out the item (the OracleAS Portal equivalent of the WebDAV LOCK method) attached to the document. Once an item is locked from a WebDAV client, no-one else can make changes to the document until it is checked back in.

After the contributor has made the required changes to the file, he or she can unlock it, which in turn checks in the item (the OracleAS Portal equivalent of the WebDAV UNLOCK method) attached to the document. Other users will then be able to make their own changes to the file.

Notes:

Creating portal pages and sub-pages

Using a WebDAV client, users can create and delete pages within existing page groups on which they have the appropriate privileges. For example, in Web Folders, in the folder for the page where the user wants to create a sub-page, he or she can right-click the mouse and choose New>Folder from the resulting menu. All new pages you create via WebDAV clients are Standard pages and contain an item region.

Tips:

Viewing errors

Any errors that occur when a user performs actions on a portal using a WebDAV client are recorded in an error log that is created in that user's personal page (as an item titled My Error Log) the first time an OracleAS Portal related WebDAV error occurs. This can be very helpful for interpreting the error messages reported in WebDAV clients, such as the message 'An error has occurred while trying to complete this operation' that is often displayed in Web Folders, or HTTP error numbers reported in Cadaver.

All errors are also recorded in the Apache error log file ($ORACLE_HOME/Apache/Apache/logs), so if the user does not have a personal page, or is a public user, the errors can still be examined.

For more verbose error reporting in the Apache error log file, add the following parameter to the oradav.conf file:

DAVParam ORATraceLevel 1

Note: Remember to the HTTP Server needs restarting whenever a change is made to the oradav.conf file. For information about how to do this, refer to the Oracle HTTP Server Administration Guide on Oracle Technology Network.

Tip: The error log is not truncated and may become quite a large file. We recommend that you periodically delete this file. The next time an error is encountered a new file will be created.

Back to topRelated Help Topics

Next Steps:

Back to topAdditional Information

On Portal Center:

For more information go to the documentation section of Portal Center.

Oracle Logo
Copyright © 2004, Oracle. All rights reserved.