apache解壓版配置
第一個地方
ServerRoot "E:/PG/joomla/apche/Apache24" (指定自己解壓的位置)
第二個地方
DocumentRoot "E:/PG/joomla/apche/Apache24/htdocs"
<Directory "E:/PG/joomla/apche/Apache24/htdocs"> (指定htdocs的位置)
第三個地方
ScriptAlias /cgi-bin/ "E:/PG/joomla/apche/Apache24/cgi-bin/" (指定cgi-bin的位置)
第四個地方
<Directory "E:/PG/joomla/apche/Apache24/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory> (指定directory 的位置)
配置apache解壓版遇啟動時出現下面一個提示信息
E:\PG\joomla>httpd
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.105. Set the 'ServerName' directive globally to suppress this message
在網上查了一下在這里做一下記錄
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80 (去掉前面的注釋即可)
#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#