example.com に exam アプリケーションを動かす想定。 session_id は app/application.rb に以下のように設定しているとします。 class ApplicationController < ActionController::Base session :session_key => '_exam_session_id' (省略) 静的ファイルは mod_rewrite を使って apache で返す。 mongrel は apache と同一サーバー内のポート 3000, 3001, 3002 で動作している。 という想定での apache の設定ファイル。 <VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot /home/rails_p