/etc/apache2/conf-available/serve-cgi-bin.conf - Ubuntu 18.04 LTS (Bionic Beaver)

This is the default example config of /etc/apache2/conf-available/serve-cgi-bin.conf provided by Apache. This config file was generated on Ubuntu 18.04.


    <IfModule mod_alias.c>
	<IfModule mod_cgi.c>
		Define ENABLE_USR_LIB_CGI_BIN
	</IfModule>

	<IfModule mod_cgid.c>
		Define ENABLE_USR_LIB_CGI_BIN
	</IfModule>

	<IfDefine ENABLE_USR_LIB_CGI_BIN>
		ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
		<Directory "/usr/lib/cgi-bin">
			AllowOverride None
			Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
			Require all granted
		</Directory>
	</IfDefine>
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    
  

Config Details

Location
/etc/apache2/conf-available/serve-cgi-bin.conf
Operating system
Ubuntu 18.04 LTS (Bionic Beaver)
Length
20 lines
MD5 checksum
21abde7dadc1020140b9ab796d06fd29

Usage

Download the raw file with wget or curl

Wget

wget -O serve-cgi-bin.conf.example http://exampleconfig.com/static/raw/apache/ubuntu18.04/etc/apache2/conf-available/serve-cgi-bin.conf

cURL

curl http://exampleconfig.com/static/raw/apache/ubuntu18.04/etc/apache2/conf-available/serve-cgi-bin.conf > serve-cgi-bin.conf.example