"/etc/apache2/conf-enabled/serve-cgi-bin.conf"의 두 판 사이의 차이

(새 문서: ;/etc/apache2/conf-enabled/serve-cgi-bin.conf ;/etc/apache2/conf-available/serve-cgi-bin.conf ==내용== <source lang='autoconf'> </source> ==같이 보기== */etc/apache2/conf-en...)
 
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
3번째 줄: 3번째 줄:


==내용==
==내용==
<source lang='autoconf'>
<source lang='apache'>
<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
</source>
</source>



2016년 6월 9일 (목) 16:11 기준 최신판

/etc/apache2/conf-enabled/serve-cgi-bin.conf
/etc/apache2/conf-available/serve-cgi-bin.conf

1 내용[ | ]

<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

2 같이 보기[ | ]