IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
![Efficient data transfer through zero copy](https://cdn-ak-scissors.b.st-hatena.com/image/square/e71beff60753d2850398371b39be9fff2d63c8df/height=288;version=1;width=512/https%3A%2F%2Fs3.us.cloud-object-storage.appdomain.cloud%2Fibmdevwp%2Ficons%2Fsocial%2Fsocial.jpg)
とりあえずはてなの中の人が見付けたバグの再現をとってみた。 焦点はBugzillaの40910に該当する問題なのかどうか。 試した設定は以下の通り。全てのバージョンのApacheで(ServerRoot以外)全く同じものを用いている。 以下関係するホスト。 balancer0(192.168.50.10), worker1(192.168.50.11), worker2(192.168.50.12), worker11(192.168.50.111) 各々のホストのDocumentRootには hostname.txt が置いてあって、中身はホスト名が書かれているだけ。 ProxyPass /r1/ balancer://testcluster1/ stickysession=SESSID ProxyPass /r2/ balancer://testcluster2/ stickysess
ちょっと気になったので。。。 最初、ここら辺のすべての処理をmod_rewriteだけで実現できるかなと思ったのですが、残念ながら、mod_rewriteでは300番系のエラーを出すことができますが、503のエラーは出せないようなのでさくっと簡単なものを作るの「には」便利とかいわれてるPHPで、さくっと、503を出すことにしました。 mod_rewriteのRフラグではステータスコードを一緒に指定できます。mod_rewrite - Apache HTTP Server Version 2.2にも 'redirect|R [=code]' (force redirect) Prefix Substitution with http://thishost[:thisport]/ (which makes the new URL a URI) to force a external redir
Apache Derby, an Apache DB subproject, is an open source relational database implemented entirely in Java and available under the Apache License, Version 2.0. Some key features include: Derby has a small footprint -- about 3.5 megabytes for the base engine and embedded JDBC driver. Derby is based on the Java, JDBC, and SQL standards. Derby provides an embedded JDBC driver that lets you embed Derby
November 21, 200811:00 社内で使った Apache モジュールの資料 カテゴリ技術ネタ 社内の技術MTGで Apache モジュール入門なプレゼンをしたので、資料公開します。 非常に基礎的な内容ですが。 実際の Web サービスでの Apache モジュールの使いどころとしては、translate_name フェーズでゴニョる事が多いですね。 ユーザーへみせる URL と実体の場所との関係が複雑化してきた際には Rewrite でがんばるよりモジュール書いちゃった方がスッキリします。Apache ModuleView SlideShare presentation or Upload your own. (tags: apache module) 「技術ネタ」カテゴリの最新記事 タグ :#apache#presentation
Debian Bug report logs - #204508 apache: mod_rewrite can't rewrite to filenames containing a '?' Reported by: Jade Nicoletti <phaethon@nns.ch> Date: Thu, 7 Aug 2003 20:18:02 UTC Severity: wishlist Tags: patch, upstream, wontfix Found in version 1.3.27-0.1 Done: Mathieu Guastella <job_@mat.be> Bug is archived. No further changes may be made. Forwarded to http://issues.apache.org/bugzilla/show_bug.c
http://example.comでもhttp://www.example.comでも同じコンテンツ見せたい、みたいな場合のお話。こんな時ってServerAlias使いますよね? <VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot /home/hoge/public_html </VirtualHost> しかし、たまにこんな設定*1を発見する。 <VirtualHost *:80> ServerName example.com DocumentRoot /home/hoge/public_html </VirtualHost> <VirtualHost *:80> ServerName www.example.com DocumentRoot /home/hoge/publ
システムメンテナンスのため、一時サービスを停止したいとき、Capistranoで簡単にメンテナンス画面を表示させる事ができます。 まずは、.htaccessを編集して、 RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] 1 : %{DOCUMENT_ROOT}/system/maintenance.html が存在し、 2 : 且つ、自分自身(実行ファイル自身)が maintenance.html でなければ、 3 : URLを/system/maintenance.html に書き換える。 という設定をします。(※番号は設定ファイルの行
カレーはあまり好きじゃないKeitaです。 映画サイトの映画生活のデザインリニューアルをして、いくつかデザイン以外の修正もあり、サーバ停止時間が発生するため、メンテナンス画面を作ることにしました。今日はその簡単なトピックスを書いてみたいと思います。 まず最初に、メンテナンス画面は次のような形の要件があるかなと思っています。 ドメイン以下すべてがメンテナンス画面になる クローラー対策でヘッダで503を出力する 癒される 特にクローラー対策は、クローラーがきておかしいものをキャッシュされると結構痛いかなと思うので、503が的確かはともかく、そこらへんのエラーを出すことにしました。 最初、ここら辺のすべての処理をmod_rewriteだけで実現できるかなと思ったのですが、残念ながら、mod_rewriteでは300番系のエラーを出すことができますが、503のエラーは出せないようなのでさくっ
ApacheにはProxyサーバー機能も備わっています。このプロキシ機能はデフォルトでは組み込まれていないため、mod_proxyモジュールを使って有効にしなければなりません。ここではこのモジュールを有効にしてProxyサーバーとして動作させるまでをみてみましょう。 メモ帳等でhttpd.confを開きます。 #LoadModule proxy_module modules/mod_proxy.so のコメント(#)を解除しモジュールを有効にします。 #<IfModule mod_proxy.c> # ProxyRequests On #</IfModule> のコメント(#)を解除しプロキシリクエストを許可します。 基本的にはこれだけでプロキシとして動作します。デフォルトでは80番ポートでリクエストを待ちます。 Proxyサーバーの便利な機能の1つにプロキシを経由するリクエストと応答をデ
How Map and Reduce operations are actually carried out Introduction This document describes how MapReduce operations are carried out in Hadoop. If you are not familiar with the Google MapReduce programming model you should get acquainted with it first. Map As the Map operation is parallelized the input file set is first split to several pieces called FileSplits. If an individual file is so large t
Summary This module uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule, to provide a really flexible and powerful URL manipulation mechanism. The URL manipulations can depend on various tests, of server variables, environment variab
こんにちは、naoya です。 先日、ウノウが公開しているサービスの中にいくつかの脆弱性が見つかったため、社内で「脆弱性発見大会」を開催しました。この大会は、二人一チームに分かれてウノウが公開している各サービスの脆弱性を見つけることを目的とした大会です。結果は、いくつか各サービスに脆弱性が見つかり、すぐに修正することができました。 僕のチームは、ウノウのホームページやラボブログなど細かいサービスを担当しました。その中で、いくつかのウェブサーバにセキュリティ上あまい設定がありました。 今日は、ウェブサーバのセキュリティ向上のための設定方法についてエントリします。なお、ウェブサーバはApache 2.2系を前提としています。 サーバ情報の表示しない ウェブサーバ(Apache)で、404などのエラーページを表示したとき、ヘッダやページの下にApacheやOSのバージョンが表示されます。こういっ
Please note This document refers to the 2.2 version of Apache httpd, which is no longer maintained. The active release is documented here. If you have not already upgraded, please follow this link for more information. You may follow this link to go to the current version of this document. This document supplements the mod_cache, mod_disk_cache, mod_mem_cache, mod_file_cache and htcacheclean refer
Note: This page is of historic interest only. The DBD framework is incorporated in Apache APR (since version 1.2) and HTTPD (since version 2.2). Development and support take place at apache.org. The Apache SQL/Database Framework serves to enable database applications efficiently within Apache 2.0 and higher. It updates our earlier connection pooling framework, and hence potentially offers an order
Apache HTTP Server 2.0 からは、APR (Apache Portable Runtime) というライブラリが Apache とは別に開発され、Apache HTTP Server は、その APR を土台として作られています。この APRは、OS間の差異を吸収するための関数や、プログラムを作成する上で便利な関数の集合体です。 APRはApache HTTP Serverにも同梱されていますが、別アーカイブとしても配布されており、それを入手して利用することもできます。 Apache HTTP Server 2.0系統の時には APR はまだバージョン1.0に達しておらず、2.0系統の最新版である 2.0.59 では 0.9.12 が同梱されていました。しかし、最新の安定板系列である2.2.3では1.2.7になっています。 APRには、基本的な関数群をまとめたAPR、付
Ywcafe.net This Page Is Under Construction - Coming Soon! Why am I seeing this 'Under Construction' page? Related Searches: Health Insurance High Speed Internet Work from Home Healthy Weight Loss Best Penny Stocks Trademark Free Notice Review our Privacy Policy Service Agreement Legal Notice Privacy Policy
Apache Tutor aims to be the definitive independent online source of help and information for applications built on the Apache webserver. Its primary focus is on applications development - particularly modules - for Apache 2.0 and later, where it aims to fulfil the role of an interactive online book. Both contents and interactivity is important, and the software used provides for multiple authors t
改めて勉強したかったので、こんなテストしてみました。 Apacheの設定とテスト内容 <VirtualHost *:80> ServerAdmin zigorou@localhost DocumentRoot /home/zigorou/www/cache ServerName cachetest.art-code.org ExpiresDefault "access plus 5 minutes" Alias /test1 /home/zigorou/www/cache/test Alias /test2 /home/zigorou/www/cache/test Alias /test3 /home/zigorou/www/cache/test <Location /test1> FileETag None ExpiresActive Off </Location> <Location
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く