????3. Start apache ???????? - httpd: Could not reliably determine the server's fully qualified domain name
???????apache????????httpd: Could not reliably determine the server's fully qualified domain name
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start
httpd: Could not reliably determine the server's fully qualified domain name?? using 127.0.0.1 for ServerName
????1??????apache????????(???????????????) [root@server ~]# cd /usr/local/apache/conf
????2????httpd.conf?????????"#ServerName"?????ServerName localhost:80

 

[root@server conf]# ls
extra  httpd.conf  magic  mime.types  original
[root@server conf]# vi httpd.conf
#ServerName www.example.com:80
ServerName localhost:80

????3???????????apache ???ɡ?
[root@server ~]# /usr/local/apache/bin/apachectl restart
????4. ????apahce????????? apr??apr-util??prce??
???????#3???ú?????????apache??????????

 

./configure
--prefix=/data/apache2
--enable-so
--enable-rewrite
--enable-vhost-alias=shared
--enable-cache=shared
--enable-file-cache=shared
--enable-disk-cache=shared
--enable-mem-cache=shared
--enable-proxy=shared
--enable-proxy-http=shared
--enable-proxy-ajp=shared
--enable-proxy-balancer=shared
--enable-proxy-connect=shared
--enable-dav --enable-dav-fs
--disable-proxy-ftp
--disable-userdir
--disable-asis
--enable-ssl
--with-mpm=worker
--with-apr=/usr/local/apr
--with-apr-util=/usr/local/apr-util/
--with-pcre=/usr/local/pcre

????5. ????perl???????????:
????????????? -- “/usr/bin/perl install-module.pl –all”
?????????? -- can not find install-module.pl ????
??????ν????
???????????? -- ./checksetup.pl ?????????? /usr/bin/perl install-module.pl –all??
????6. #???Bugzilla???????

 

<Directory /data/apache2/htdocs/bugzilla>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes
</Directory>

????7. ????http://servername/bugzilla/index.cgi?????? 500 internal server error??????
???????????????? bugzilla??????????? 2.2.4.1.1. Apache httpd? with mod_cgi ?????????bugzilla·??????????????в????

 

<Directory /var/www/html/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride Limit FileInfo Indexes Options
</Directory>

??????????#6?????????????????????http://servername/bugzilla/index.cgi

 

<Directory /data/apache2/htdocs/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride Limit FileInfo Indexes Options
</Directory>