
꼭두각시를 사용하여 Apache를 구성하고 있는데 문제가 있습니다. 저는 Kibana와 Uchiwa에 대한 2개의 하위 페이지에 대한 링크가 포함된 간단한 첫 페이지를 제공하려고 합니다. http://server/logging
Kibana에 사용하고 http://server/monitor
Uchiwa에 대한 리디렉션으로 사용하려고 합니다 . 지금까지는 /monitor
URL이 잘 작동하고 잘 리디렉션됩니다.
URL /logging
은 결국 나를 가리킵니다 http://server/monitor/index.html/index.html/index.html/index.html/index.html/...
.
Puppet이 생성하는 결과 구성은 아래에 붙여넣은 것과 같습니다. 누군가 문제를 발견하면 Puppet 설정을 수정할 수 있습니다!
<VirtualHost *:80>
ServerName testnode.local.net
DocumentRoot "/var/www/html/frontpage/"
AliasMatch /logging "/usr/share/kibana/"
<Directory "/var/www/html/frontpage/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog "/var/log/httpd/testnode.local.net_error.log"
ServerSignature Off
CustomLog "/var/log/httpd/testnode.local.net_access.log" combined
Redirect permanent /monitor http://testnode.local.net:3000/
ServerAlias testnode
</VirtualHost>
답변1
점심 식사 후에 다시 이 문제를 발견했습니다. 이후 Directory
다른 폴더( )에 대한 블록을 추가하기 위해 구성을 약간 조정했지만 /kibana
중요한 변경 사항은 다음과 같습니다.
Alias /logging "/usr/share/kibana/"
AliasMatch
으로 변경 Alias
!
이것이 미래의 Google 직원에게 도움이 되기를 바랍니다.