apachelinuxpath

package
v0.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRoot          = "/etc/apache2"
	RootConfigName       = "apache2.conf"
	ConfigAvailableName  = "conf-available"
	ConfigEnabledName    = "conf-enabled"
	SitesBackup          = "sites-backup"
	SitesAvailableName   = "sites-available"
	SitesEnabledName     = "sites-enabled"
	ExtraConfName        = "conf.d"
	ModulesAvailableName = "mods-available"
	ModulesEnabledName   = "mods-enabled"
	ApachePorts          = "ports.conf"
	ApacheEnvVars        = "envvars"
)

Variables

View Source
var (
	DefaultDirStructure = GetFullDirStructure(true, DefaultRoot)
)

Functions

func GetConfAvailable

func GetConfAvailable() string

GetConfAvailable returns /etc/apache/conf-available as a string

func GetConfEnabled

func GetConfEnabled() string

GetConfEnabled returns /etc/apache/conf-enabled as a string

func GetFullDirStructure added in v0.1.3

func GetFullDirStructure(
	isNormalize bool,
	currentRoot string,
) *knowndirstructure.NginxApacheDirectory

func GetModsAvailable

func GetModsAvailable() string

GetModsAvailable returns /etc/apache/mods-available as a string

func GetModsEnabled

func GetModsEnabled() string

GetModsEnabled returns /etc/apache/mods-enabled as a string

func GetSitesAvailable

func GetSitesAvailable() string

GetSitesAvailable returns /etc/apache/sites-available as a string

func GetSitesEnabled

func GetSitesEnabled() string

GetSitesEnabled returns /etc/apache/sites-enabled as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL