mod_proxy を使用して 2 つのプロキシをセットアップしました。ただし、mod_autoindex を使用してルート内のすべてのディレクトリを一覧表示すると、ShowForbidden を使用しても、存在しない空のダミー ディレクトリがプロキシと同じ名前で表示されません。
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /jenkins/ http://localhost:8080/jenkins/
ProxyPassReverse /jenkins/ http://localhost:8080/jenkins/
ProxyPass /redmine/ http://localhost:81/redmine/
ProxyPassReverse /redmine/ http://localhost:81/redmine/
<Directory />
AllowOverride All
Order Allow,Deny
Allow from All
Options -ExecCGI +FollowSymLinks +IncludesNOEXEC +Indexes +MultiViews -SymLinksIfOwnerMatch
IndexOptions Charset=UTF-8 Type=text/html DescriptionWidth=* FancyIndexing FoldersFirst HTMLTable IconsAreLinks IgnoreCase NameWidth=* ShowForbidden VersionSort XHTML
</Directory>
mod_autoindex にこれらのディレクトリ、つまりプロキシへのリンクを強制的に表示させる方法はありますか?