fix alias order for elastic-recheck
Apache aliases need to nest from the most narrow to the most broad. I had these backwards, thus breaking the web console. While it was hot fixed, this is the permanent fix. Change-Id: I26209dea29ce2d29701b81a53360fff358ccdd77
This commit is contained in:
parent
ac3c3d7412
commit
cf93189f14
@ -39,14 +39,8 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
|||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# Sample elastic-recheck config file, adjust prefixes
|
# Sample elastic-recheck config file, adjust prefixes
|
||||||
# per your local configuration
|
# per your local configuration. Because these are nested
|
||||||
Alias /elastic-recheck /usr/local/share/elastic-recheck
|
# we need the more specific one first.
|
||||||
<Directory /usr/local/share/elastic-recheck>
|
|
||||||
AllowOverride None
|
|
||||||
Order allow,deny
|
|
||||||
allow from all
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
Alias /elastic-recheck/data /var/lib/elastic-recheck
|
Alias /elastic-recheck/data /var/lib/elastic-recheck
|
||||||
<Directory /var/lib/elastic-recheck>
|
<Directory /var/lib/elastic-recheck>
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
@ -54,6 +48,14 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
|
|||||||
allow from all
|
allow from all
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
Alias /elastic-recheck /usr/local/share/elastic-recheck
|
||||||
|
<Directory /usr/local/share/elastic-recheck>
|
||||||
|
AllowOverride None
|
||||||
|
Order allow,deny
|
||||||
|
allow from all
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
|
||||||
ErrorLog /var/log/apache2/<%= name %>_error.log
|
ErrorLog /var/log/apache2/<%= name %>_error.log
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
CustomLog /var/log/apache2/<%= name %>_access.log combined
|
CustomLog /var/log/apache2/<%= name %>_access.log combined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user