[root@fedora ~]# /etc/rc.d/init.d/httpd restart httpd を停止中: [ OK ] httpd を起動中: [Wed Mar 14 16:13:06 2007] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1003 will probably never match because it overlaps an earlier Alias. [Wed Mar 14 16:13:06 2007] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1004 will probably never match because it overlaps an earlier Alias. [Wed Mar 14 16:13:06 2007] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1005 will probably never match because it overlaps an earlier Alias. [Wed Mar 14 16:13:06 2007] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 1006 will probably never match because it overlaps an earlier ScriptAlias. Apache/2.2.3 mod_ssl/2.2.3 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide the pass phrases.
Server fedora.xxxxxxxx.yyy:443 (RSA) Enter pass phrase:
OK: Pass Phrase Dialog successful. [ OK ] [root@fedora ~]#
2.設定のオーバーラップ > [Wed Mar 14 16:13:06 2007] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1004 will probably never match because it overlaps an earlier Alias.
# # Content of this file, with correct values, can be automatically added to # your Apache server by using the AWStats configure.pl tool. #
# # Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Note that path "/usr/share/awstats/" must reflect your AWStats install path. # Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/" Alias /awstatscss "/usr/share/awstats/wwwroot/css/" Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/" ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/"
# # This is to permit URL access to scripts/files in AWStats directory. # <Directory "/usr/share/awstats/wwwroot"> Options None AllowOverride None Order allow,deny Allow from all </Directory> # Additional Perl modules <IfModule mod_env.c> SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins </IfModule>
Re: awstatsで画像が表示されない ( No.4 )
????????? 2007/03/14 18:33
????????? FC勉強中
<Directory "/usr/share/awstats/wwwroot"> Options None AllowOverride None Order allow,deny Allow from 127.0.0.1 </Directory>
Allow from の部分が異なっています。
Re: awstatsで画像が表示されない ( No.5 )
????????? 2007/03/14 18:36
????????? FC勉強中
確認せずにそのまま返信してしまいましたが、Allow from all に変更してapacheを再起動したらちゃんと画像が出ました。ありがとうございます。