e6b6e3491e
This is a bundle of several ports covering many typical requirements for building an Apple WebObjects deployment environment. Each port is or has a dependancy with some other port in the bundle, and have therefore been lodged collectively. www/woadaptor WOAdaptor is a collection of WebObjects WebServer Adaptors. These include an Apache Module, CGI and FastCGI adaptors This is a subproject of Project Wonder and is an effort to pool enhancements and bug fixes for Apple's open source codebase. WWW: http://wonder.sourceforge.net/WOAdaptor.html PR: ports/117299 Submitted by: Quinton Dolan <q@onthenet.com.au>
70 lines
2.6 KiB
Text
70 lines
2.6 KiB
Text
<IfModule mod_WebObjects.c>
|
|
|
|
# Path to the Document Root of your Webserver,
|
|
# it should contain a directory named WebObjects
|
|
WebObjectsDocumentRoot %%PREFIX%%/%%WODOCROOT%%
|
|
|
|
# You can change the 'cgi-bin' part of WebObjectsAlias to whatever you
|
|
# prefer (such as Apps), but the 'WebObjects' part is required.
|
|
WebObjectsAlias /cgi-bin/WebObjects
|
|
|
|
# We set a specific allow rule to prevent default restrictions from denying
|
|
# access to the module
|
|
<Location /cgi-bin/WebObjects>
|
|
Allow from All
|
|
</Location>
|
|
|
|
# Point /WebObjects requests to the installed document root
|
|
Alias /WebObjects %%PREFIX%%/%%WODOCROOT%%/WebObjects
|
|
<Location /WebObjects>
|
|
Options -Indexes
|
|
Allow from All
|
|
</Location>
|
|
|
|
# Here are the 3 possible configuration modes.
|
|
# The apache module uses one of them to get information
|
|
# about your deployed applications.
|
|
# 1085 is the reserved port on which wotaskd processes listen to by default.
|
|
|
|
# Host List Configuration
|
|
# wotaskd is started automatically on supported platforms,
|
|
# so this is the default mode.
|
|
# The apache module gets its configuration from the wotaskds
|
|
# listed on the configuration line
|
|
# For multiple hosts:
|
|
# WebObjectsConfig http://<name-of-a-host>:<port-on-a-host>,http://<name-of-another-host>:<port-on-a-host> <interval>
|
|
# For localhost:
|
|
WebObjectsConfig http://localhost:1085 10
|
|
|
|
# Multicast Configuration
|
|
# The apache module gets its configuration from all wotaskds
|
|
# that respond to the multicast call on the subnet
|
|
# WebObjectsConfig webobjects://239.128.14.2:1085 10
|
|
|
|
# File Configuration
|
|
# The apache module gets its configuration from one file
|
|
# WebObjectsConfig file://<path-to-a-xml-config-file> 10
|
|
|
|
# To enable public access to the WOAdaptorInfo page, uncomment the following line
|
|
# WebObjectsAdminUsername public
|
|
|
|
# To enable the WOAdaptorInfo page with restricted access,
|
|
# uncomment the next two lines and set the user and password
|
|
# To access the WOAdaptorInfo page with restricted access, use
|
|
# a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password.
|
|
# WebObjectsAdminUsername user
|
|
# WebObjectsAdminPassword password
|
|
|
|
# To change the logging options, read the following comments:
|
|
# The option name is "WebObjectsLog" and the first value indicates the path
|
|
# of the log file.
|
|
# The second value indicates the log level. There are five, in decreasing
|
|
# informational order:
|
|
# "Debug", "Info", "Warn", "Error", "User"
|
|
#
|
|
# Note: To enable logging, touch '/tmp/logWebObjects'
|
|
# as the administrative user (usually root).
|
|
#
|
|
# The following line is the default:
|
|
# WebObjectsLog /tmp/WebObjects.log Debug
|
|
</IfModule>
|