apache設定

httpd.confの編集

43c43
< ServerTokens OS
---
> ServerTokens None
103,104c103,104
< ServerLimit      256
< MaxClients       256
---
> ServerLimit      150
> MaxClients       150
311c314
<     AllowOverride None
---
>     AllowOverride  All
375c378
< DirectoryIndex index.html index.html.var
---
> DirectoryIndex index.html index.html.var index.rb  index.php
504c507
< ServerSignature On
---
> ServerSignature Off
552c555,562
<     Options None
---
>     Options +ExecCGI
>     AddHandler cgi-script .cgi .pl
>     AddHandler image/gif .gif
>     AddHandler text/html .html .shtml
>     AddHandler application/x-httpd-php .php
>     AddHandler image/png .png
>     AddHandler image/jpeg .jpg .jpeg
>     DirectoryIndex index.html index.html.var index.rb  index.php
711c721
< LanguagePriority en ca cs da de el eo es et fr he hr  it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
---
> LanguagePriority  ja en ca cs da de el eo es et fr he  hr it ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
730c740
< AddDefaultCharset UTF-8
---
> AddDefaultCharset None
798a809,811
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php .php
>
807a821,822
> AddHandler cgi-script .rb
>
849c864
< #ErrorDocument 404 /missing.html
---
> ErrorDocument 404 /error404.html
1022a1038,1053
>
> RewriteEngine on
> RewriteRule ^/tdiary/([0-9]+)\.html$ /var/www/html/tdiary/index.rb?date=$1
>
> <Directory "/var/www/webapps/" >
> AllowOverride all
>
> </Directory>
Last modified:2013/08/03 09:43:52
Keyword(s):
References: