apache.httpd.conf: apache.httpd.conf

Description Usage Arguments Details Value Author(s)

Description

Generate httpd.conf file for RApache deployment

Usage

1
2
3
apache.httpd.conf(driver.path, app.location, config.js.path,
  front.end.dir = system.file("htdocs/client/dist-aps", package =
  "AnalysisPageServer"), mod.R.path, skip.checks = FALSE)

Arguments

driver.path

Path to driver. Must contain call to add.handlers.to.global().

app.location

Location from which app will be deployed (e.g. "/myapp" to make the URL start "http://myserver.com/myapp").

config.js.path

Path to modified config.js file. This would have been generated with a call to config.js.

front.end.dir

Path to front end directory content. An alias will be set up to serve it directly from this location. Default is from the installed R package (found via system.file.

mod.R.path

Path to mod_R.so

skip.checks

Boolean, default FALSE. If TRUE then don't check for file existence or for the presence of "add.handlers.to.global" in the startup script.

Details

Generate httpd.conf file for RApache deployment. This returns a charvec of lines of the files. You still have to call writeLines. See the ApacheDeployment vignette for more information.

Value

Charvec

Author(s)

Brad Friedman


apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.