2007-03-01から1ヶ月間の記事一覧

.htaccessファイルを隠す

cgi実行ファイルとして扱う AddHandler cgi-script htaccess全てのホストからの接続を拒否 <Files ~ "^\.ht"> order allow,deny deny from all satisfy all </Files>

特殊文字

&quot; → " &amp; → & &lt; → < &gt; → > &nbsp; → space &copy; → ©

オリジナル404

.htaccess ErrorDocument 404 http://hogehoge/err/404.shtml ErrorDocument 500 http://hogehoge/err/500.shtml ErrorDocument 403 http://hogehoge/err/403.shtml

ロボット避け

<meta name="robots" content="noindex,nofollow"></meta>

ベーシック認証

.htaccess AuthUserFile /home/hoge/.htpasswd AuthGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-userアスキーモードでアップロード xreaの場合 AuthUserFile /virtual/XREAのID/.htpasswd

ヘテロクロミア・ミクル