Changes between Version 25 and Version 26 of TipAndDoc/network/httpd


Ignore:
Timestamp:
Jun 13, 2013 7:20:26 PM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/httpd

    v25 v26  
    131131  * VirtualHostディレクティブ直下に「RewriteCond %{REQUEST_FILENAME} !-f」を設定しても正しく機能しない 
    132132  * Directoryディレクティブ以下で設定すれば良い 
     133 
     134 = ScriptAlias = 
     135 * Apache/2.2.22 
     136 * /home/mitty/env.cgi 
     137{{{#!perl 
     138#!/usr/bin/perl -w 
     139print "Content-Type: text/plain\r\n\r\n"; 
     140 
     141foreach $key (sort(keys %ENV)) { 
     142    print "$key = $ENV{$key}\n"; 
     143} 
     144}}} 
     145 
     146||= Apache Conf =||= wget https://lab.mitty.jp/env/ =||= wget https://lab.mitty.jp/env/hoge =|| 
     147||ScriptAlias /env /home/mitty/env.cgi||PATH_INFO = / [[br]] PATH_TRANSLATED = /path/to/docroot/index.html [[br]] QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/ [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env [[br]] SCRIPT_URI = https://lab.mitty.jp/env/ [[br]] SCRIPT_URL = /env/||PATH_INFO = /hoge [[br]] PATH_TRANSLATED = /path/to/docroot/hoge [[br]] QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/hoge [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env [[br]] SCRIPT_URI = https://lab.mitty.jp/env/hoge [[br]] SCRIPT_URL = /env/hoge|| 
     148||ScriptAlias /env /home/mitty/env.cgi/||PATH_INFO = / [[br]] PATH_TRANSLATED = /path/to/docroot/index.html [[br]] QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/ [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env [[br]] SCRIPT_URI = https://lab.mitty.jp/env/ [[br]] SCRIPT_URL = /env/||PATH_INFO = /hoge [[br]] PATH_TRANSLATED = /path/to/docroot/hoge [[br]] QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/hoge [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env [[br]] SCRIPT_URI = https://lab.mitty.jp/env/hoge [[br]] SCRIPT_URL = /env/hoge|| 
     149||ScriptAlias /env/ /home/mitty/env.cgi||QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/ [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env/ [[br]] SCRIPT_URI = https://lab.mitty.jp/env/ [[br]] SCRIPT_URL = /env/||404 Not Found [[br]] {{{script not found or unable to stat: /home/mitty/env.cgihoge}}}|| 
     150||ScriptAlias /env/ /home/mitty/env.cgi/||PATH_INFO = / [[br]] PATH_TRANSLATED = /path/to/docroot/index.html [[br]] QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/ [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env [[br]] SCRIPT_URI = https://lab.mitty.jp/env/ [[br]] SCRIPT_URL = /env/||PATH_INFO = /hoge [[br]] PATH_TRANSLATED = /path/to/docroot/hoge [[br]] QUERY_STRING =  [[br]] REQUEST_METHOD = GET [[br]] REQUEST_URI = /env/hoge [[br]] SCRIPT_FILENAME = /home/mitty/env.cgi [[br]] SCRIPT_NAME = /env [[br]] SCRIPT_URI = https://lab.mitty.jp/env/hoge [[br]] SCRIPT_URL = /env/hoge||