[[em0 trouble]]

#contents
*Chrome のキャッシュが・・・ [#w08b1174]
下記の現象は、portupgradeしたとき、Apacheのモジュールにチェックが入っておらず、そのまま、一度Choromeで閲覧したキャッシュが残っていたために、その後、Apacheのモジュールを入れなおした後も、異常なキャッシュを見ていたことが判明。

脱力・・・(´д`)
*portupgrade php5-5.3.8 [#g8a9acac]
 Checking for packages with security vulnerabilities:
 
 Affected package: php5-5.3.8
 Type of problem: php -- multiple vulnerabilities.
 Reference: <http://portaudit.FreeBSD.org/d3921810-3c80-11e1-97e8-00215c6a37bb.html>
 
 Affected package: php5-exif-5.3.6
 Type of problem: php -- multiple vulnerabilities.
 Reference: <http://portaudit.FreeBSD.org/d3921810-3c80-11e1-97e8-00215c6a37bb.html>
 
 2 problem(s) in your installed packages found.
 
 You are advised to update or deinstall the affected package(s) immediately.
 
 -- End of security output --
ちうことなので、2012/01/15 portupgrade した。

 ***************************************************************
 
 Make sure index.php is part of your DirectoryIndex.
 
 You should add the following to your Apache configuration file:
 
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
 
 ***************************************************************
 ===>   Compressing manual pages for php5-5.3.9
 ===>   Registering installation for php5-5.3.9
 ===> SECURITY REPORT:
       This port has installed the following files which may act as network
       servers and may therefore pose a remote security risk to the system.
 /usr/local/libexec/apache22/libphp5.so
 /usr/local/bin/php
 /usr/local/bin/php-cgi
 
       If there are vulnerabilities in these programs there may be a security
       risk to the system. FreeBSD makes no guarantee about the security of
       ports included in the Ports Collection. Please type 'make deinstall'
       to deinstall the port if this is a concern.
 
       For more information, and contact details about the security
       status of this software, see the following webpage:
 http://www.php.net/
 ===>  Cleaning for php5-5.3.9
 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 148 packages found (-0 +1) . done]
で、まぁ、こうなったわけだけど・・・どうもおかしい。
** index.php にアクセスするとダウンロードになる! [#cd486544]
のよ。(´д`) しかも全部が全部という訳では無く、もともと、このウィキがあった、

http://piano2nd.smb.net/~kuji/pukiwiki-1.4.7/
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
 // $Id: index.php,v 1.9 2006/05/13 07:39:49 henoheno Exp $
 // Copyright (C) 2001-2006 PukiWiki Developers Team
 // License: GPL v2 or (at your option) any later version
 
 // Error reporting
 //error_reporting(0); // Nothing
 error_reporting(E_ERROR | E_PARSE); // Avoid E_WARNING, E_NOTICE, etc
 //error_reporting(E_ALL); // Debug purpose
 
 // Special
 //define('PKWK_READONLY',  1);
 //define('PKWK_SAFE_MODE', 1);
 //define('PKWK_OPTIMISE',  1);
 //define('TDIARY_THEME',   'digital_gadgets');
 
 // Directory definition
 // (Ended with a slash like '../path/to/pkwk/', or '')
 define('DATA_HOME',	'');
 define('LIB_DIR',	'lib/');
 
 require(LIB_DIR . 'pukiwiki.php');
 ?>

とか、

http://piano2nd.smb.net/wordpress
 <?php
  header("HTTP/1.1 301 Moved Permanently");
  header("Location: http://www.smb.net/wordpress/");
 ?>

がダウンロードとなっているが、

http://piano2nd.smb.net/wp
 <?php
 /**
  * Front to the WordPress application. This file doesn't do anything, but loads
  * wp-blog-header.php which does and tells WordPress to load the theme.
  *
  * @package WordPress
  */
 
 /**
  * Tells WordPress to load the WordPress theme and output it.
  *
  * @var bool
  */
 define('WP_USE_THEMES', true);
 
 /** Loads the WordPress Environment and Template */
 require('./wp-blog-header.php');
 ?>

とか

http://piano2nd.smb.net/wp1
 <?php
 /**
  * Front to the WordPress application. This file doesn't do anything, but loads
  * wp-blog-header.php which does and tells WordPress to load the theme.
  *
  * @package WordPress
  */
 
 /**
  * Tells WordPress to load the WordPress theme and output it.
  *
  * @var bool
  */
 define('WP_USE_THEMES', true);
 
 /** Loads the WordPress Environment and Template */
 require('./wp-blog-header.php');
 ?>


はアクセスできる。

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS