BEA Logo BEA WebLogic Server Release 6.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

   Administration Console Online Help:   Previous topic   |   Next topic   |   Contents   

 

VirtualHost

 

Create a VirtualHost

  1. Click the VirtualHost node. The VirtualHosts table displays in the right pane showing all the VirtualHosts defined in your domain.

  2. Click the Create a New VirtualHost text link. A dialog displays in the right pane showing the tabs associated with configuring a new VirtualHost.

  3. Enter values in the Name and Virtual Host Names attribute fields.

  4. Click the Logging and HTTP tabs individually and change the attribute fields or accept the default values as assigned.

  5. Click Create to create a web-server instance with the name you specified in the Name field. The new instance is added under the VirtualHost node in the left pane.

  6. Restart the server for the Virtual Host to take effect.

For additional information about VirtualHosts, please see the Administration Guide, Overview of WebLogic Server HTTP Services.

Clone a VirtualHost

  1. Click the VirtualHost node. The VirtualHosts table displays in the right pane showing all the VirtualHosts defined in your domain.

  2. Click the Clone icon in the row of the VirtualHost you want to clone. A dialog displays in the right pane showing the tabs associated with cloning a VirtualHost.

  3. Enter values in the Name and Virtual Host Names attribute fields.

  4. Click the Logging and HTTP tabs individually and change the attribute fields or accept the default values as assigned.

  5. Click Create to create a web-server instance with the name you specified in the Name field. The new instance is added under the VirtualHost node in the left pane.

For additional information about VirtualHosts, please see the Administration Guide, Configuring VirtualHosts.

Delete a VirtualHost

  1. Click the VirtualHost node. The VirtualHosts table displays in the right pane showing all the VirtualHosts defined in your domain.

  2. Click the Delete icon in the row of the VirtualHost you want to delete. A dialog displays in the right pane asking you to confirm your deletion request.

  3. Click Yes to delete the VirtualHost. The web-server icon under the VirtualHost node is deleted.

For additional information about VirtualHosts, please see the Administration Guide, Overview of WebLogic Server HTTP Services.

Assign a VirtualHost

  1. Click the instance node in the left pane under HTTP for the VirtualHost you want to assign. A dialog displays in the right pane showing the tabs associated with this instance.

  2. Click the Targets tab.

  3. Complete the following steps for the Servers, Groups, and Clusters tabs:

    1. Select one or more targets in the Available column that you want to assign to the VirtualHost.

    2. Click the mover control to move the targets you selected to the Chosen column.

    3. Click Apply to save your assignments.

For additional information about VirtualHosts, please see the Administration Guide, Overview of WebLogic Server HTTP Services.

Target Web Applications to the Virtual Host.

  1. Click the Web Applications node in the left panel.

  2. Select the Web Application you want to target.

  3. Click the Targets tab in the right panel.

  4. Click the Virtual Hosts tab.

  5. Click a Virtual Host in the available column and use the right arrow button to move the Virtual Host to the chosen column.

For additional information about VirtualHosts, please see the Administration Guide, Overview of WebLogic Server HTTP Services.

Monitor All Instances of a VirtualHost

  1. Click the VirtualHost node. The VirtualHosts table displays in the right pane showing all the VirtualHosts defined in your domain.

  2. Click the Monitor All Instances icon in the row of the VirtualHost you want to monitor. A dialog displays in the right pane showing all instances of the VirtualHost deployed across the server domain.

For additional information about VirtualHosts, please see the Administration Guide, Overview of WebLogic Server HTTP Services.

Configuration

General

Attribute

Description

Range of Values

Default Value

Name

 

This attribute returns the name of the VirtualHost.

 

String

 

Null

 

Virtual Host Name

 

This attribute returns the host name for which this VirtualHost will serve requests.

 

String

 

Null

 

Default Web Application

 

This attribute sets the name of the default Web application.


 

String

 

Null

 

Logging

Attribute

Description

Range of Values

Default Value

Enable Logging

 

This attribute sets whether or not HTTP access logs are generated.

 

Boolean

True = access logs are generated

False = access logs are not generated

 

true

 

LogFile Name

 

If HTTP access logging is enabled, this attribute sets the name of the log file.

 

String

 

Null

 

Format

 

If HTTP access logging is enabled, this attribute sets the type of log file.

 

common = uses standard HTTP access log format

extended = uses extended HTTP access log format

 

common

 

Log Buffer Size

 

The maximum size (in kilobytes) of the buffer that stores HTTP requests. When the buffer reaches this size, the server writes the data to the HTTP log file. Use the LogFileFlushSecs property to determine the frequency with which the server checks the size of the buffer.

 

Integer

 

8 Kilobytes

 

Rotation Type

 

This attribute defines whether the HTTP log file is rotated by date or rotated based on the size of the log file.

 

size= log rotates based on its size. You must also set the Log Buffer Size attribute

date = log rotates based on date. You must also set the Rotation Period and Rotation time attributes.

 

size

 

Rotation Period

 

If the Rotation Type is set to date, this attribute defines the period in minutes after which the access.log rotates.

 

Integer

 

2147483647minutes

 

Flush Every

 

If the Rotation Type is set to date, this attribute sets the number of seconds after which any new data is written to the log file.

 

Integer

 

60 Seconds

 

Rotation Time

 

If the Rotation Type is set to date, this attribute defines the date when the first rotation of the access log will begin.

 

The format follows java.text.SimpleDateFormat, MM-dd-yyyy-k:mm:ss

 

Null

 

HTTP

Attribute

Description

Range of Values

Default Value

Enable Keepalives

 

This attribute sets whether or not HTTP keep-alive is enabled

 

Boolean

True = enabled

False = not enabled

 

Selected

 

Duration

 

The number of seconds that WebLogic Server waits before closing an inactive HTTP connection.

 

Integer

 

30

 

HTTPS Duration

 

The number of seconds that WebLogic Server waits before closing an inactive HTTPS connection.

 

Integer

 

60

 

Tunneling

 

This attribute sets the interval at which WebLogic Server sends a request to an HTTP client on an otherwise inactive connection to determine if the client is still alive.

 

20-900

 

45

 

Tunneling Timeout

 

If the number of seconds set in this attribute have elapsed since the client last sent a request to the server (in response to a reply), then the server regards the client as dead, and terminates the HTTP tunnel connection.

 

Integer

 

40

 

Post Timeout Secs

 

This attribute sets the timeout (in seconds) that WebLogic Server waits between receiving chunks of data in an HTTP POST data. Used to prevent denial-of-service attacks that attempt to overload the server with POST data.

 

Integer

 

0

 

Max Post Time

 

This attribute sets the time (in seconds) that WebLogic Server waits for chunks of data in an HTTP POST data.

 

Integer

 

0

 

Max Post Size

 

This attribute sets the size of the maximum chunks of data in an HTTP POST data.

 

Integer

 

0

 

For more information on setting up HTTP access logs, see the Setting Up HTTP Access Logs section of the WebLogic Server Administration Guide

Targets

Servers

Attribute

Description

Range of Values

Default Value

Target Servers

 

This attribute selects which servers this VirtualHost is deployed on.

 

List

 

Null

 

Clusters

Attribute

Description

Range of Values

Default Value

Target Clusters

 

This attribute is a list which allows you to select one or more targets for use with this webserver.

 

List

 

Null

 

Notes

Attribute

Description

Range of Values

Default Value

Notes

 

This attribute provides a space for user supplied information.

 

The value must be an alphanumeric string containing up to 256 characters.

 

Null

 

For additional information about VirtualHosts, please see the Administration Guide, Configuring VirtualHosts.

 

Back to Top