app1とapp2の両方
<!– ▼▼▼▼▼ エラー頁 ▼▼▼▼▼ –>
<!–
<error-page>
<error-code>400</error-code>
<location>/error/400.html</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/error/403.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error/404.html</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/error/500.html</location>
</error-page>
<error-page>
<error-code>503</error-code>
<location>/error/503.html</location>
</error-page>
–>
<!– ▲▲▲▲▲ エラー頁 ▲▲▲▲▲ –>
Alias /error/ “/var/www/html/errorpage/”
<Directory “/var/www/html/errorpage”>
適切なパラメータ
</Directory>
<Directory “/var/www/html/errorpage2”>
適切なパラメータ
</Directory>
ErrorDocument 400 /error/400.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
</LocationMatch>
ErrorDocument 400 /error2/400.html
ErrorDocument 403 /error2/403.html
ErrorDocument 404 /error2/404.html
ErrorDocument 500 /error2/500.html
ErrorDocument 503 /error2/503.html
</LocationMatch>